﻿/* =====================================================
   BANNER
===================================================== */
.ay-urn-bant-container {
    width: 100%;
    height: clamp(90px, 12vw, 150px);
    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
    border-radius: 8px;
    position: relative;
    margin-bottom: 30px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.ay-urn-bant-inner {
    width: 80%;
    padding: 70px;
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.ay-urn-bant-title {
    font-size: 25px;
    font-weight: 700;
    color: #000;
    text-align: left;
    margin: 0;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

/*.ay-urn-bant-container {
    width: 100%;
    height: 150px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 8px;
    position: relative;
    margin-bottom: 30px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

    .ay-urn-bant-container::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
    }

.ay-urn-bant-inner {
    width: 80%;
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.ay-urn-bant-title {
    font-size: 36px;
    font-weight: 700;
    color: #000;
    text-align: left;
    margin: 0;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}
*/

/* =====================================================
   GENEL SAYFA
===================================================== */
.ay-urn-section {
    width: 80%;
    padding: 50px 0;
    box-sizing: border-box;
    margin: 0 auto;
}

.ay-urn-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    gap: 30px;
    align-items: flex-start;
    box-sizing: border-box;
}


/*.ay-urn-section {
    width: 100%;
    padding: 40px 0;
    box-sizing: border-box;
}

.ay-urn-wrapper {
    width: 80%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    align-items: flex-start;
    gap: 30px;
    box-sizing: border-box;
}*/


/* =====================================================
   SOL MENÜ
===================================================== */
/* SOL MENÜ */
.ay-urn-sidebar {
    width: 280px;
    flex-shrink: 0;
    background: #f3f3f3;
    padding: 20px;
    border-radius: 10px;
    box-sizing: border-box;
}

.ay-urn-sidebar-title {
    font-size: 18px;
    font-weight: 700;
    color: #2b2b2b;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #dc3545;
    text-align: center;
}

.ay-urn-menu-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ay-urn-menu-item {
    border-bottom: none;
}

.ay-urn-menu-link {
    position: relative;
    display: block;
    padding: 12px 10px;
    font-size: 15px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    border-radius: 6px;
}

    .ay-urn-menu-link::after {
        content: '';
        position: absolute;
        bottom: 6px;
        left: 50%;
        width: 0;
        height: 2px;
        background-color: #dc3545;
        transition: width 0.3s ease, left 0.3s ease;
    }

    .ay-urn-menu-link:hover {
        color: #dc3545;
    }

        .ay-urn-menu-link:hover::after {
            width: calc(100% - 20px);
            left: 10px;
        }

/* MOBİL MENÜ BUTONU - MASAÜSTÜNDE GİZLİ */
/* MOBİL MENÜ BUTONU - MASAÜSTÜNDE GİZLİ */
.ay-urn-mobile-toggle {
    display: none;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 16px;
    background: #b52636;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

    .ay-urn-mobile-toggle span {
        position: static;
        font-size: 14px;
        line-height: 1;
    }

/* =====================================================
   ÜRÜN DETAY KARTI
===================================================== */
.ay-urn-detay-wrapper {
    width: 100%;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    box-sizing: border-box;
}


/* =====================================================
   ÜST ALAN
===================================================== */

.ay-urn-detay-ust {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 20px;
}


/* =====================================================
   ÜRÜN GALERİSİ
===================================================== */

.ay-urn-detay-galeri {
    flex: 0 0 40%;
    max-width: 40%;
    min-width: 0;
    text-align: center;
}

.ay-urn-ana-resim {
    display: block;
    width: 100%;
    max-height: 300px;
    object-fit: contain;
    border-radius: 8px;
    margin: 0 auto;
}


/* =====================================================
   KÜÇÜK ÜRÜN RESİMLERİ
===================================================== */

.ay-urn-sub-images {
    display: flex;
    justify-content: center;
    flex-wrap:nowrap;
    align-items: center;
    flex-wrap: nowrap;
    gap: 12px;
    margin-top: 20px;
}

.ay-urn-sub-img-item {
    width: 80px;
    height: 80px;
}

.ay-urn-thumb-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    cursor: pointer;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 5px;
    background: #fff;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
}

    .ay-urn-thumb-img:hover {
        border-color: #b22c37;
    }


/* =====================================================
   ÜRÜN BİLGİLERİ
===================================================== */

.ay-urn-detay-bilgi {
    flex: 1;
    min-width: 0;
}

.ay-urn-urun-adi {
    font-size: clamp(20px, 1.9vw, 30px);
    font-weight: 700;
    color: #222;
    margin: 0 0 15px;
}

.ay-urn-ayrac {
    border: 0;
    border-top: 1px solid #ddd;
    margin: 15px 0;
}

.ay-urn-thumb {
    max-width: 100%;
    height: 50px;
}

.ay-urn-aciklama {
    color: #666;
    font-size: 16px;
    line-height: 1.7;
}

.ay-urn-aciklama-detay {
    color: #999;
    font-size: 10px;
    line-height: 1.7;
    overflow-wrap: break-word;
}


/* =====================================================
   TEKNİK ÖZELLİKLER TABLOSU
===================================================== */

.ay-urn-spec-table-wrap {
    font-size: 12px;
    width: 100%;
    max-width: 100%;
    margin-top: 20px;
    overflow-x: auto;
}

.ay-urn-spec-table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
}

    .ay-urn-spec-table th,
    .ay-urn-spec-table td {
        border-bottom: 1px solid #dee2e6;
        padding: 12px 10px;
    }

        .ay-urn-spec-table th:not(:first-child),
        .ay-urn-spec-table td:not(:first-child) {
            border-left: 2px solid #dee2e6;
        }

        .ay-urn-spec-table th:first-child,
        .ay-urn-spec-table td:first-child {
            width: 35%;
            text-align: left;
            padding-left: 15px;
        }

        .ay-urn-spec-table th:not(:first-child),
        .ay-urn-spec-table td:not(:first-child) {
            width: 21.66%;
            text-align: center;
            overflow-wrap: break-word;
        }

.ay-urn-spec-label {
    text-align: left;
}

.ay-urn-table-icon {
    max-width: 55px;
    max-height: 65px;
    object-fit: contain;
}

.ay-urn-active-col {
    background-color: #f8f9fa;
    font-weight: 600;
}


/* =====================================================
   TABLET
===================================================== */
@media (max-width: 992px) {

    .ay-urn-section {
        width: 95%;
        padding-top: 20px;
    }

    .ay-urn-wrapper {
        flex-direction: row;
        gap: 20px;
        padding: 0;
        align-items: flex-start;
    }

    /* SOL MENÜ */
    .ay-urn-sidebar {
        width: 190px;
        flex-shrink: 0;
        padding: 15px 10px;
    }

    .ay-urn-sidebar-title {
        font-size: 15px;
    }

    .ay-urn-menu-link {
        font-size: 13px;
        padding: 11px 7px;
    }

    /* SAĞ ÜRÜN ALANI */
    .ay-urn-main {
        flex: 1;
        min-width: 0;
    }

    .ay-urn-bant-inner {
        width: 90%;
        padding: 40px;
    }

    .ay-urn-detay-ust {
        gap: 20px;
    }
}

@media (max-width: 576px) {

    .ay-urn-section {
        width: 98%;
        padding: 15px 10px;
    }

    .ay-urn-bant-container {
        margin-bottom: 0;
    }


    .ay-urn-wrapper {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
        padding: 0;
    }

    .ay-urn-detay-wrapper {
        padding: 15px;
    }

    .ay-urn-detay-ust {
        flex-direction: column;
        align-items: stretch;
    }

    .ay-urn-detay-galeri {
        width: 100%;
        max-width: 100%;
        flex: none;
    }

    .ay-urn-detay-bilgi {
        width: 100%;
    }

    /*.ay-urn-urun-adi {
        font-size: 2px;
    }*/

    .ay-urn-sub-img-item {
        width: 70px;
        height: 70px;
    }

    .ay-urn-spec-table {
        min-width: 500px;
    }

    .ay-urn-table-icon {
        max-width: 45px;
        max-height: 45px;
    }

    .ay-urn-bant-inner {
        width: 95%;
        padding: 30px;
    }

    .ay-urn-bant-title {
        font-size: 18px;
    }

    .ay-urn-main {
        width: 100%;
        min-width: 0;
    }

    /* MOBİL MENÜ */
    /* =====================================================
   MOBİL KATEGORİ MENÜSÜ
===================================================== */

    /* KATEGORİ MENÜSÜ */
    .ay-urn-sidebar {
        width: 100%;
        max-width: 100%;
        margin-top: 0;
        margin-bottom: 20px;
        padding: 0;
        box-sizing: border-box;
        border-radius: 6px;
        overflow: hidden;
    }

    /* Masaüstü başlığı mobilde gizle */
    .ay-urn-sidebar-title {
        display: none;
    }

    /* MOBİL MENÜ BUTONU */
    .ay-urn-mobile-toggle {
        display: flex !important;
        width: 100%;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 10px 16px;
        background: #b52636;
        color: #fff;
        border: none;
        border-radius: 6px;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
    }

        .ay-urn-mobile-toggle span {
            position: static;
        }

    /* AÇILIR MENÜ */
    .ay-urn-menu-list {
        display: flex;
        flex-direction: column;
        gap: 5px;
        margin-top: 0;
        max-height: 0;
        opacity: 0;
        visibility: hidden;
        overflow: hidden;
        transition: max-height 0.4s ease, opacity 0.3s ease, margin-top 0.3s ease, visibility 0.3s ease;
    }

        /* MENÜ AÇIK */
        .ay-urn-menu-list.ay-menu-active {
            max-height: 500px;
            opacity: 1;
            visibility: visible;
            margin-top: 10px;
        }

    /* MENÜ ELEMANLARI */
    .ay-urn-menu-item {
        width: 100%;
    }

    .ay-urn-menu-link {
        display: block;
        width: max-content;
        margin: 0 auto;
        position: relative;
        padding: 10px 0;
        white-space: nowrap;
        background: transparent;
        border: none;
        font-size: 13px;
        text-align: center;
        color: #333;
        text-decoration: none;
    }

        /* Hover alt çizgisi */
        .ay-urn-menu-link::after {
            content: "";
            position: absolute;
            bottom: 5px;
            left: 0;
            width: 100%;
            height: 2px;
            background: #b52636;
            transform: scaleX(0);
            transform-origin: center;
            transition: transform .3s ease;
        }

        .ay-urn-menu-link:hover {
            color: #b52636;
        }

            .ay-urn-menu-link:hover::after {
                transform: scaleX(1.5);
            }



    /*    .ay-urn-sidebar-title {
        display: none;
    }

    .ay-urn-mobile-toggle {
        display: flex;
    }

    .ay-urn-menu-list {
        display: flex;
        flex-direction: column;
        gap: 5px;
        margin-top: 0;
        max-height: 0;
        opacity: 0;
        visibility: hidden;
        overflow: hidden;
        transition: max-height 0.4s ease, opacity 0.3s ease, margin-top 0.3s ease, visibility 0.3s ease;
    }

        .ay-urn-menu-list.ay-menu-active {
            max-height: 500px;
            opacity: 1;
            visibility: visible;
            margin-top: 10px;
        }

    .ay-urn-menu-link {
        text-align: center;
    }*/
}
