.navbar-collapse {
    display: flex;
    justify-content: flex-end;
}

.navbar {
    height: 10vh;
    width: 100%;
    background-color: transparent;
    background-color: #41419f;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1001;
}

.navbar-nav .nav-link {
    color: rgb(253, 253, 253);
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #555;
}

.navbar-brand .logo {
    height: 8vh;
}
@media (max-width: 600px) {
    .navbar-collapse {
        display: none;
    }
}
.container1 {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 80%;
    min-height: 635px;
    max-height: 635px;
    background-color: #F5F5F5;
    margin-top: 50px;
}
.container2 {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 80%;
    min-height: 435px; 
    max-height: 9999px;
    background-color: #F5F5F5;
}
.image-container {
    flex: 1;
    width: 100%;
    height: 550px;
    max-height: 100%;
    text-align: center;
    position: relative; /* Ok işaretleri için göreli konumlandırma */
    display: flex;
    justify-content: center; /* Yatayda ortalama */
    align-items: center; /* Dikeyde ortalama */
    background-color: #F5F5F5;
}
.image-container img {
    max-width: 100%; /* Fotoğrafın genişliğini ayarlayın */
    max-height: 100%; /* Orantılı yükseklik */
    display: none; /* Başlangıçta tüm resimleri gizle */
    cursor: zoom-in;
}
.image-container img.active {
    display: block; /* Sadece aktif resmi göster */
}
.arrow {
    position: absolute;
    top: 50%;
    background-color: transparent;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 38px;
}
.arrow.left {
    left: 10px;
    color: black;
}
.arrow.right {
    right: 10px;
    color: black;
}
.upper-container{
    max-width: 50%; /* Fotoğrafın genişliğini ayarlayın */
    width: 50%;
    height: 100%;
    max-height: 100%;
}
.thumbnail-gallery-container {
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
    overflow: hidden; /* Taşmayı engelle */
    margin-top: 8px;
}
.thumbnail-gallery::-webkit-scrollbar {
    display: none;
}

.thumbnail-gallery {
    display: flex;
    width: 100%;
    overflow-x: auto; /* Yatay kaydırma */
    scroll-behavior: smooth; /* Kaydırmanın yumuşak olması için */
    white-space: nowrap; /* Resimlerin yan yana olmasını sağlar */
    -webkit-overflow-scrolling: touch; /* Mobil tarayıcılar için yumuşak kaydırma */

}

.thumbnail-gallery img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    margin: 0 5px;
    cursor: pointer;
    border: 2px solid transparent;
}

.thumbnail-gallery img.active-thumbnail {
    border-color: #333;
}

.arrow-button {
    position: absolute;
    top: 50%;
    background-color: transparent;
    color: black;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 1;
    font-size: 24px;
    transform: translateY(-50%);
}

.arrow-button.left {
    left: 0;
}

.arrow-button.right {
    right: 0;
}
.text-container {
    flex: 1;
    max-width: 50%; /* Metin alanının genişliğini ayarlayın */
    padding-left: 40px; /* Sol kenar boşluğu */
    padding-top: 40px;
    height: 100%;
    background-color: #F5F5F5;
    border-top-right-radius: 20px; /* Sağ üst köşeye radius */
    /*border-bottom-right-radius: 20px; Sağ alt köşeye radius */
}
.aciklama{
    width: 100%;
    background-color: #F5F5F5;
    padding-left: 80px;
    padding-right: 80px;
    padding-bottom: 80px;
    white-space: pre-line;
    margin-top: 50px;
}
.store-container {
    display: flex;
    justify-content: center;
    margin: 20px;
    margin-left: 90px;
    width: 80%;
}
.magaza_aciklama{
    margin-left: 50px; 
    overflow: auto; 
    width: 500px;
}

.margin-store{
    margin-left: 50px;
}
#Contact {
    text-align: center;
    padding: 70px 0 50px 0;
    background-color: #333f4f;
    margin-top: 50px;
}

#Contact p {
    color: #c7c5ca;
    font-size: 40px;
    margin-bottom: 30px;
}

#Contact a.email-btn {
    color: #fff;
    background-color: #c49b66;
    padding: 12px 30px;
    display: inline-block;
    border-radius: 6px;
    font-size: 20px;
    width: 240px;
}

#Contact a.email-btn span {
    cursor: pointer;
    display: inline-block;
    position: relative;
    transition: 0.5s;
}

#Contact a.email-btn span:after {
    content: '\00bb';
    position: absolute;
    opacity: 0;
    top: 0;
    right: -20px;
    transition: 0.5s;
}

#Contact a.email-btn:hover span {
    padding-right: 25px;
}

#Contact a.email-btn:hover span:after {
    opacity: 1;
    right: 0;
}

#Contact a i {
    margin-right: 14px;
}

.copyright {
    background-color: #03060c;
    padding: 26px 0;
    text-align: center;
    font-size: 20px;
    color: #fff;
}

.copyright p {
    margin-bottom: 0;
}
.product-name {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    word-wrap: break-word; /* Eski tarayıcılar için */
    overflow-wrap: break-word
}

.first-info {
    height: 55%;
}

.discount-container {
    flex: 1;
    font-weight: 500;
    border: 2px solid #c49b66;
    width: fit-content;
    max-width: 86%;
    min-width: 75%;
    overflow: hidden;
    border-radius: 12px;
    padding-left: 8px;
    border-right: none;
    display: flex;
}

.coupon-button {
    background-color: #c49b66;
    color: white;
    border: none;
    border-radius: 8px;
    align-self: stretch; /* 🔥 Flex item’ı konteynerin yüksekliği kadar uzatır */
    padding: 8px 14px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
    justify-self: inline-end;
    margin-inline-start:auto;
    width: 35%;
    overflow-wrap: break-word;
}

.coupon-button:hover {
    background-color: #a87f4f;
}

.coupon-code {
    background-color: #fff7e6;
    border: 2px dashed #c49b66;
    border-radius: 8px;
    padding: 8px 10px;
    font-weight: bold;
    color: #c49b66;
    display: none;
    vertical-align: center;
    align-self: stretch; /* 🔥 Flex item’ı konteynerin yüksekliği kadar uzatır */
    justify-self: inline-end;
    margin-inline-start:auto;
    width: 35%;
    overflow-wrap: break-word;
}
.second-info {
    height: 45%;
}
#map {
    height: 300px;  /* Haritanın yüksekliği */
    width: 80%; /* Div'in genişliğini belirleyin */
    margin: 0 auto; /* Ortalamak için margin ayarı */
    padding: 20px; /* İçerik boşluğu */
    text-align: center; /* İçeriği ortalama */
    margin-top: 80px;
}
.product-carousel {
    display: flex;
    align-items: center;
    position: relative;
    width: 80%;
    max-width: 1200px;
    overflow: hidden;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    margin-top: 40px;
}

.slider {
    display: flex;
    width: 100%;
    overflow: hidden;
}

.slide-track, .slide-track2 {
    display: flex;
    transition: transform 0.5s ease;
}

.slide, .slide2 {
    max-width: 300px;
    width: 250px;                    
    box-sizing: border-box;
    padding: 20px;
    text-align: center;
    border-right: 1px solid #ddd;
    border-radius: 25px;
    background-color: #fefefe;
    height: 420px;
    margin-right: 10px;
    text-decoration: none !important;
    color: inherit !important;
}

.prev, .next {
    background-color: #333;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 24px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.prev {
    left: 12px;
}

.next {
    right: 12px;
}
.slide .image, .slide2 .image{
    height: 50%;
    margin-bottom: 20px;
}

.slide .image img, .slide2 .image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide .caption, .slide2 .caption{
    padding-left: 1em;
    text-align: left;
    line-height: 3em;
    height: 25%;
}

.slide .caption p, .slide2 .caption p{
    font-size: 1.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

del{
    text-decoration: line-through;
}

.slide a, .slide2 a{
    width: 50%;
}
/* width */
::-webkit-scrollbar {
width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
background: rgb(0, 0, 0);
border-radius: 40px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
background: #e64741;
}
/* Modalın stili */
.modal2 {
    display: none; /* Başlangıçta gizli */
    position: fixed;
    z-index: 1003;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.8);
}

.modal-content2 {
    max-width: 90%; /* Ekranın genişliğinin %90'ı kadar */
    max-height: 80vh; /* Ekranın yüksekliğinin %80'i kadar */
    margin: auto;
    display: block;
    position: relative; /* İçerik için referans noktası */
    transition: transform 0.2s ease, cursor 0.2s ease;
    cursor: zoom-in;
}

.modal-content2.zoomed {
    transform: scale(2.2); /* Görseli iki katına çıkar */
}

.close2 {
    position: absolute;
    z-index: 9999;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
}

.close2:hover,
.close2:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}
/* Modal içindeki oklar için stil */
.arrow2 {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    z-index: 1000; /* Okların modalın üstünde görünmesini sağlar */
}

.arrow2.left {
    left: 50px;
}

.arrow2.right {
    right: 50px;
}



@media (max-width: 1110px) {
    .second-info{
        padding-top: 30px;
    }
    .coupon-button {
        font-size: small;
    }
    .coupon-code {
        font-size: small;
    }
}

@media (max-width: 768px) {
    .container1 {
        flex-direction: column; /* Alt alta yerleştir */
        align-items: center; /* Ortala */
        width: 100%;
        max-height: 100%;
        margin-top: 0px;
    }
    .container2 {
        flex-direction: column; /* Alt alta yerleştir */
        align-items: center; /* Ortala */
        width: 100%;
        min-height: 100%; 
        padding-bottom: 50px;
    }
    .image-container, .text-container {
        max-width: 100%; /* %100 genişlikte */
        width: 100%;
        height: auto; /* Yüksekliği içeriğe göre ayarla */
        padding-left: 0; /* Kenar boşluklarını sıfırla */
        padding-right: 0;
    }
    .text-container {
        padding-top: 20px; /* Üst kenar boşluğunu ayarla */
        padding-left: 20px; /* Sol kenar boşluğunu ayarla */
        border-radius: 0; /* Radius'u sıfırla */
    }
    .upper-container{
        max-width: 100%; /* Fotoğrafın genişliğini ayarlayın */
        width: 100%;
        height: 100%;
        max-height: 100%;
    }
    .aciklama {
        padding: 10px;
    }
    .store-container {
        display: block; /* Flex düzenini kaldır ve dikey hizala */
        flex-direction: column;
        margin: auto; /* Ortala */
        width: 100%; /* Tam genişlik */
        text-align: center; /* Metinleri ortala */
    }

    .magaza_aciklama{
        overflow: auto; 
        width: auto;
        padding-right: 45px;
    }

    .margin-store{
        margin-left: 0px;
    }

    .store-link{
        display: block; /* Flex düzenini kaldır ve dikey hizala */
        flex-direction: column;
        margin: auto; /* Ortala */
        width: 100%; /* Tam genişlik */
        text-align: center; /* Metinleri ortala */
    }

    .store-link img {
        width: 100px; /* Resim boyutunu küçült */
        height: 100px; /* Resim boyutunu küçült */
        margin: 0 auto; /* Ortala */
    }

    .store-container h1{
        margin-left: 0; /* Sol kenar boşluğunu kaldır */
        text-align: center; /* Metinleri ortala */
        width: auto;
        height: auto;
    }

    .store-container div {
        margin-left: 0; /* Sol kenar boşluğunu kaldır */
        margin-top: 10px; /* Üstten boşluk ekle */
    }

    .store-container .description {
        margin-left: 0px; /* Sol kenar boşluğunu kaldır */
        overflow: auto;   /* Dikey kaydırmayı aktif et */
        height: auto; /* Yüksekliği otomatik yap */
        width: 100%; /* Genişliği otomatik yap */
        white-space: normal; /* Satır taşmasını önle */
        box-sizing: border-box; /* Padding ve border genişliğe dahil et */
    }

    .arrow2.left {
        left: 5px;
    }

    .arrow2.right {
        right: 5px;
    }
    .arrow {
        font-size: 24px;
    }
}