html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    background: linear-gradient(to bottom, #faf5fb 0%, #e1bee7 100%);
    font-family: 'Segoe UI', sans-serif;
    color: #4a235a;
    overflow-x: hidden;
}

/* ✅ Kategori Kartı Stil Ayarları */
.category-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

    .category-container img {
        width: 100%;
        height: auto;
        display: block;
        transition: 0.4s ease;
    }
/* ✅ Ürünler Menüsünün Hover ile Açılması */
.nav-item.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
}

/* ✅ Menü Öğeleri Stili */
.dropdown-menu {
    background-color: white;
    border: none;
    padding: 0;
}

    /* ✅ Menü Öğesi Normal */
    .dropdown-menu .dropdown-item {
        color: black;
        padding: 10px 20px;
        font-weight: 500;
        transition: background-color 0.3s ease, padding-left 0.3s ease;
    }

        /* ✅ Menü Öğesi Hover */
        .dropdown-menu .dropdown-item:hover {
            background-color: #f0e6f9; /* Lila hover */
            color: black !important;
            padding-left: 25px;
        }
.footer-custom {
    background: linear-gradient(to right, #f3e6fa, #ecd9fa);
    color: #4a235a;
    padding-bottom: 30px;
}

    .footer-custom h5 {
        font-weight: 600;
        color: #7e3f98;
    }

.footer-link {
    color: #4a235a;
    text-decoration: none;
    transition: color 0.3s;
}

    .footer-link:hover {
        color: #b57edc;
        text-decoration: underline;
    }

.footer-custom .form-control {
    border-radius: 20px;
    border: 1px solid #ccc;
}

.footer-custom .btn {
    border-radius: 20px;
    border-color: #b57edc;
    color: #7e3f98;
}

    .footer-custom .btn:hover {
        background-color: #b57edc;
        color: white;
    }

.footer-custom .social-icons a {
    font-size: 24px;
    color: #7e3f98;
    margin-right: 15px;
    transition: 0.3s;
}

    .footer-custom .social-icons a:hover {
        color: #b57edc;
    }

.copyright-text {
    font-size: 14px;
    color: #6c3483;
}
/* Ürün kartı sabit oranlı fotoğraf alanı */
.product-card .photo-box {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4; /* 3:4 dikey oran (isteğe göre 4/5, 1/1 vs.) */
    overflow: hidden;
    background: #f5f5f5;
    border-radius: .4rem .4rem 0 0;
}

/* Carousel ve img'ler kutuyu tamamen doldursun */
.product-card .carousel,
.product-card .carousel-inner,
.product-card .carousel-item {
    height: 100%;
}

.product-card .photo-box img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* taşanı kes, boşluk bırakma */
    display: block;
}

/* (İstersen) oklar biraz dışarıda dursun */
.product-card .carousel-control-prev,
.product-card .carousel-control-next {
    width: 12%;
}
/* Ürün detay görsel alanını sabitle */
.urun-photo-box {
    width: 100%;
    height: 650px; /* istersen 380–520 arası oynat */
    overflow: hidden;
    position: relative;
    background: #f7f7f7; /* boş alan olursa şık dursun */
    border-top-left-radius: .375rem;
    border-bottom-left-radius: .375rem;
}

    /* Carousel içindeki veya tekil img’ler sabit kutuya sığsın */
    .urun-photo-box img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* oranı koru, kutuyu doldur */
        object-position: center;
    }

.cart-toast {
    position: fixed;
    top: 86px;
    right: 16px;
    background: #111;
    color: #fff;
    padding: 10px 14px;
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(0,0,0,.18);
    z-index: 1100;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .18s ease, transform .18s ease;
    display: flex;
    align-items: center;
    font-weight: 700;
    letter-spacing: .2px;
}

    .cart-toast.show {
        opacity: 1;
        transform: translateY(0);
    }

    .cart-toast i {
        color: #28a745;
    }

.card {
    border-radius: 1rem !important;
}

.form-label {
    font-size: 1rem;
}

.btn-lg {
    font-size: 1.1rem;
    border-radius: 0.6rem;
}
.tukendi-band {
    position: absolute;
    top: 0;
    left: 0;
    background-color: #dc3545;
    color: #fff;
    padding: 6px 12px;
    font-size: 0.85rem;
    font-weight: bold;
    border-bottom-right-radius: 8px;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}




