/* Kısa sayfalarda footer viewport altına yapışsın; boşluk #ContentContainer içinde kalsın */
#LayoutBase {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Z-index ölçeği: içerik 1, nav dropdown 50, overlay 100, header 110, fullscreen 200 */
#Responsive_Search {
    top: 0;
    left: 0;
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: white;
    display: none;
    z-index: 200;
}

header {
    background-color:white;
    position: relative;
    z-index: 110;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    outline: 0.063rem solid #bdbdbd;
    margin-bottom: 0.0625rem;
    flex-shrink: 0;
}

#topLine {
    font-size: 0.75rem;
    width: 71.75rem;
    margin: 0 auto;
    height: 2.25rem;
    display: flex;
    align-items: center;
}

#topLineMobile {
    display: none;
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
}

#userMenuMobile {
    display: none;
    padding: 0.125rem;
    text-align: center;
    font-size: 0.875rem;
    width:80%;

}

.userSubMenuItem_m {
    text-align: center;
    font-size: 1.1rem;
    padding: 0.38rem;
    border-bottom: 0.0625rem solid #dfdfdf;
}




.userSubMenuItemLogOut {
    color: white;
    padding: 0.313rem 0.625rem;
    border-radius: 0.375rem;
    background: rgb(168,30,56);
    background: linear-gradient(180deg, rgba(168,30,56,1) 0%, rgba(50,46,31,1) 100%);
    text-align: center;
}

.userSubMenuItemLogOut_m {
    display: inline-block;
    color: white;
    padding: 0.313rem 0.625rem;
    border-radius: 0.375rem;
    background: rgb(168,30,56);
    background: linear-gradient(180deg, rgba(168,30,56,1) 0%, rgba(50,46,31,1) 100%);
}

#headerInner {
    display: flex;
    width: 71.75rem;
    max-width: 100%;
    align-items: center;
    justify-content: flex-start;
    gap: 1.25rem;
    margin: 0.625rem 0;
    box-sizing: border-box;
}

/* width:100% kaldırıldı — flex’te arama sıkışıyordu */
#headerInnerLogoSec {
    flex: 0 0 auto;
    width: auto;
}

#headerInnerLogoSecLogo {
    height: 4.088rem; 
}

#headerInnerSearchBarSec {
    flex: 1 1 0;
    min-width: 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: 0.063rem solid #cfcfcf;
    border-radius: 0.15rem;
    padding: 0.25rem 0.5rem;
    box-sizing: border-box;
    -webkit-box-shadow: inset 0 0.188rem 0.5rem #e5e5e5;
    -moz-box-shadow: inset 0 0.188rem 0.5rem #e5e5e5;
    box-shadow: inset 0 0.188rem 0.5rem #e5e5e5;
}

/* Ortada, eski ~600px üstü genişlik (nav genişliğine göre büyür) */
.header-search-wrap {
    text-align: center;
    position: relative;
    width: 100%;
    max-width: 48.75rem;
    margin: 0 auto;
    box-sizing: border-box;
}

.live-search-input {
    width: 100%;
    box-sizing: border-box;
    border: 0.125rem solid var(--tr);
    border-radius: 1.25rem;
    min-height: 2.5rem;
    padding: 0.5rem 1.25rem;
    font-size: 0.9375rem;
    background: #fff;
}

.live-search-panel {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin-top: 0.3125rem;
    z-index: 125;
    background: #fff;
    border: 0.0625rem solid rgba(0, 0, 0, 0.1);
    border-radius: 0.625rem;
    box-shadow: 0 0.5rem 1.5rem rgba(15, 23, 42, 0.12), 0 0.125rem 0.375rem rgba(15, 23, 42, 0.08);
    max-height: min(75vh, 32rem);
    overflow-x: hidden;
    overflow-y: auto;
    text-align: left;
}

.live-search-panel--mobile {
    position: relative;
    margin-top: 0.5rem;
    max-height: 60vh;
}

.live-search__empty,
.live-search__hint {
    padding: 1.75rem 1.25rem;
    text-align: center;
    font-size: 0.875rem;
    color: #64748b;
}

.live-search__hint {
    padding: 0.35rem 0;
    font-size: 0.75rem;
    color: #94a3b8;
}

.live-search__row {
    display: flex;
    align-items: stretch;
    gap: 0;
    border-bottom: 0.0625rem solid #f1f5f9;
    transition: background 0.15s ease;
}

.live-search__row:last-child {
    border-bottom: none;
}

.live-search__row:hover {
    background: #f8fafc;
}

.live-search__main {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.75rem 0.875rem;
    text-decoration: none;
    color: inherit;
}

.live-search__thumb {
    width: 3.75rem;
    height: 3.75rem;
    object-fit: contain;
    border-radius: 0.375rem;
    background: #f8fafc;
    border: 0.0625rem solid #e2e8f0;
    flex-shrink: 0;
}

.live-search__body {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.live-search__title {
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.35;
    color: #0f172a;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-transform: none;
    letter-spacing: 0.01em;
}

.live-search__campaign-title {
    font-size: 0.6875rem;
    font-weight: 500;
    color: var(--r, #a81e38);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.live-search__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    margin-top: 0.125rem;
}

.live-search__badge {
    display: inline-block;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.125rem 0.375rem;
    border-radius: 0.25rem;
    background: linear-gradient(135deg, #a81e38 0%, #6f1022 100%);
    color: #fff;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.live-search__prices {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    margin-top: 0.25rem;
    width: 100%;
    max-width: 16rem;
}

.live-search__price-line {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.75rem;
    font-size: 0.6875rem;
    line-height: 1.25;
    font-variant-numeric: tabular-nums;
}

.live-search__price-label {
    color: #64748b;
    flex-shrink: 0;
}

.live-search__price-value {
    font-weight: 600;
    color: #0f172a;
    text-align: right;
}

.live-search__cta {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.375rem 0.5rem;
    padding: 0.5rem 0.625rem;
    flex-shrink: 0;
    border-left: 0.0625rem solid #f1f5f9;
}

.live-search__qty {
    display: inline-flex;
    align-items: center;
    gap: 0.125rem;
    flex-shrink: 0;
}

.live-search__qty-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.625rem;
    height: 1.75rem;
    padding: 0;
    border: none;
    border-radius: 0.25rem;
    background: transparent;
    color: #334155;
    font-size: 1.0625rem;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    transition: background 0.12s ease, color 0.12s ease;
}

.live-search__qty-btn:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.live-search__qty-btn:active {
    background: #e2e8f0;
}

.live-search__qty-input {
    box-sizing: border-box;
    width: 2.5rem;
    min-width: 2.25rem;
    height: 1.75rem;
    margin: 0;
    padding: 0 0.125rem;
    border: 0.0625rem solid #cbd5e1;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-align: center;
    font-variant-numeric: tabular-nums;
    color: #0f172a;
    background: #fff;
    -moz-appearance: textfield;
}

.live-search__qty-input::-webkit-outer-spin-button,
.live-search__qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.live-search__btn-add {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 1.75rem;
    padding: 0 0.625rem;
    border: none;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    background: linear-gradient(180deg, #54a319 0%, #0c580e 100%);
    color: #fff;
    box-shadow: 0 0.125rem 0.25rem rgba(12, 88, 14, 0.25);
    transition: transform 0.12s ease, box-shadow 0.12s ease;
    white-space: nowrap;
}

.live-search__btn-add:hover {
    transform: translateY(-0.0625rem);
    box-shadow: 0 0.25rem 0.5rem rgba(12, 88, 14, 0.3);
}

.live-search__btn-add:active {
    transform: translateY(0);
}

@media (max-width: 30rem) {
    .live-search__row {
        flex-wrap: wrap;
    }

    .live-search__cta {
        width: 100%;
        justify-content: flex-end;
        border-left: none;
        border-top: 0.0625rem solid #f1f5f9;
        padding: 0.375rem 0.75rem;
    }
}

#headerInnerSearchIconContainer {
    padding: 0.125rem 1.25rem;
    border-left: 0.063rem solid #cdcdcd;
}

#headerInnerUserSec {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    padding: 0.4rem;
    gap: 1.25rem;
    position: relative;
    margin-left: auto;
}

.headerInnerUserSecBtn {
    position: relative;
    cursor: pointer;
    text-align: center;
    width: 7rem;
    font-size: 0.875rem;
}

    .headerInnerUserSecBtn img {
        height: 1.563rem; /*30*/
    }

#userSubMenu {
    display: none;
    width: 11.25rem;
    position: absolute;
    left: auto;
    right: 0;
    top: 100%;
    margin-top: 0;
    margin-left: 0;
    background-color: white;
    z-index: 111;
    padding: 0.625rem 0;
    border-radius: 0.5rem;
    border: 0.0625rem solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.12), 0 0.125rem 0.375rem rgba(0, 0, 0, 0.08);
}

.userSubMenuItem {
    cursor: pointer;
    margin: 0.313rem;
    text-align: left;
    /*width: 100%;*/
    padding-left: 0.625rem;
}

    .userSubMenuItem:hover {
        text-decoration: underline;
    }

/* Tam ekran: üst üste binme tutarlı olsun (header z-index 110 ile hep üstte kalır) */
#hiddenLayer1 {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 100;
    background-color: #000000c9;
    width: 100%;
    height: 100%;
    pointer-events: auto;
}

#mainNavSec {
    position: relative;
    z-index: 50;
    width: 71.75rem;
    margin: 0 auto;
    display: flex;
    justify-content: space-evenly;
    padding: 0rem;
    align-items: stretch;
}

.mainNavHeaderItem {
    cursor: pointer;
    text-align: center;
    cursor: pointer;
    font-weight: 500;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.5rem 0.125rem;
    font-size: 0.938rem;
    z-index: 1;
}

    .mainNavHeaderItem:hover {
        /*background-color:red;*/
    }

#mobileNavMenu {
    display: none;
}

#productMenuMobile{
    display:none;
}

#subMenuSec {
    position: relative;
    z-index: 50;
    display: flex;
    justify-content: center;
}

.subMenu {
    background-color: #fff;
    display: none;
    min-height: 25rem;
    position: relative;
    z-index: 50;
    border-radius: 0 0 0.5rem 0.5rem;
    border: 0.0625rem solid rgba(0, 0, 0, 0.08);
    border-top: none;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.12), 0 0.25rem 0.75rem rgba(0, 0, 0, 0.08);
}

.SubMenuColumn {
    padding: 0.625rem;
}

.SubMenuHeader {
    font-weight: 600;
    font-size: 1rem;
    height: 5rem;
    border-bottom: 0.063rem solid #0000003d;
    display: flex;
    align-items: center;
}

.subMenuItem {
    padding: 0.5rem 0;
    font-size: 0.875rem;
    color: #7e7e7e;
    cursor: pointer;
}

#mainLine1 {
    margin-top: 0.063rem;
    padding: 0.313rem 0;
    font-size: 0.875rem;
    outline: 0.063rem solid #bdbdbd;
}

#mainLine1Mobile {
    display: none;
}

#mainLine1ItemContanier {
    justify-content: space-around;
    align-items: center;
    width: 71.75rem;
}

.mainLine1Item {
    width: 25%;
    border-left: 0.063rem solid #00000030;
    text-align: center;
    background-color:white;
    flex-grow:1;
}

    .mainLine1Item span:first-of-type {
        font-weight: bold;
        color: var(--or)
    }

    .mainLine1Item:first-child {
        border-left: none;
    }

#mainLine2 {
    background-color: black;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.625rem 0;
    background-color: var(--r);
}

#ContentContainer {
    position: relative;
    z-index: 1;
    background-color: #f6f6f6;
    padding: 0.625rem 0;
    display: flex;
    justify-content: center;
    flex: 1 0 auto;
    width: 100%;
    box-sizing: border-box;
}

#ContentContainerInner {
    width:   100%;
    max-width:var(--mw);
    display: flex;
    justify-content:center;
}

/* .c kullanma: flex + center içeriği daraltıp ortalar; footer tam genişlikte olmalı */
.site-footer,
footer.site-footer {
    display: block;
    width: 100%;
    box-sizing: border-box;
    flex-shrink: 0;
    background: linear-gradient(180deg, rgba(168, 30, 56, 1) 0%, rgba(111, 16, 34, 1) 55%, rgba(32, 4, 10, 1) 100%);
}

.footer-inner#footerInner,
#footerInner.footer-inner {
    color: #fff;
    max-width: var(--mw);
    width: 100%;
    margin: 0 auto;
    padding: 2rem clamp(0.75rem, 3vw, 1.5rem) 1.5rem;
    box-sizing: border-box;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem 2.75rem;
    align-items: start;
}

.footerInnerCol {
}

.footerInnerColHeader {
    margin: 0 0 0.85rem;
    padding: 0.35rem 0 0.65rem;
    border-bottom: 0.0625rem solid rgba(255, 255, 255, 0.15);
    font-weight: 700;
    font-size: 0.9375rem;
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footerInnerColHeader a {
    color: inherit;
    text-decoration: none;
}

.footerInnerColHeader a:hover {
    text-decoration: underline;
    text-underline-offset: 0.1875rem;
}

    .footerInnerColHeader img {
        display: none;
    }

.footerInnerColItem {
    margin: 0;
    padding: 0.5rem 0;
    font-size: 0.8125rem;
    line-height: 1.45;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    opacity: 0.92;
}

.footerInnerCol a {
    color: inherit;
    text-decoration: none;
}

.footerInnerCol a:hover .footerInnerColItem {
    opacity: 1;
    text-decoration: underline;
    text-underline-offset: 0.125rem;
}

    .footerInnerColItem img {
        height: 0.65rem;
        opacity: 0.75;
    }

#footerColGama {
    margin-top: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-items: center;
    align-items: center;
    row-gap: 0.625rem;
}

.footer-bottom-bar {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.15rem 1.5rem;
    margin-top: 1.5rem;
    padding-top: 1.35rem;
    border-top: 0.0625rem solid rgba(255, 255, 255, 0.12);
}

.footer-tagline {
    margin: 0;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
}

.footer-social,
#ContactWithUsContainer.footer-social {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.footer-social__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    color: #fff !important;
    text-decoration: none !important;
    background: rgba(255, 255, 255, 0.12);
    border: 0.0625rem solid rgba(255, 255, 255, 0.22);
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.footer-social__link svg {
    flex-shrink: 0;
}

.footer-social__link:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-0.125rem);
    box-shadow: 0 0.375rem 1rem rgba(0, 0, 0, 0.2);
}

.footer-social__link:focus-visible {
    outline: 0.125rem solid #fff;
    outline-offset: 0.125rem;
}

.footer-payments img {
    height: clamp(1.75rem, 4vw, 2.25rem);
    width: auto;
    max-width: min(15rem, 50vw);
    object-fit: contain;
    opacity: 0.95;
    filter: drop-shadow(0 0.0625rem 0.125rem rgba(0, 0, 0, 0.2));
}

.footer-legal,
#footerCopyrightLine.footer-legal {
    margin: 0.75rem 0 0;
    padding-top: 0.75rem;
    text-align: center;
    font-size: 0.75rem;
    line-height: 1.4;
    width: 100%;
    color: rgba(255, 255, 255, 0.55);
    border-top: 0.0625rem solid rgba(255, 255, 255, 0.08);
}

.rotateUp {
    transform: rotate(180deg);
}

.footerInnerColHeaderArrow {
    transition-duration: 0.2s;
    transition-property: transform;
}

@media (max-width: 48rem) { /*768*/

    #topLine {
        display: none;
    }

    #topLineMobile {
        display: flex;
        justify-content: left;
        align-items: center;
        padding: 0.05rem 0.325rem;
        gap: 0.625rem;
        background-color: var(--r);
        color: white;
        /*font-size: 1rem;*/
        font-size: 0.75rem;
    }

    header {
        outline: none;
    }

    #headerInner {
        padding: 0.213rem;
        width:100%;
        margin: 0.25rem;
    }

    #headerInnerLogoSecLogo {
        height: 3.025rem;
    }

    #Result_Div {
        width: 100% !important;
        left: 0;
        right: 0;
        z-index: 125;
    }

    #Result_Div_Mobile.live-search-panel {
        width: 100%;
    }

    #headerInnerSearchBarSec {
        display: none;
    }

    #headerInnerSearchBarMobileSec {
        position: relative;
        flex-grow: 1;
        outline: 0.063rem solid #cfcfcf;
        border-radius: 0.15rem;
        /*margin: 0 6%;*/
        -webkit-box-shadow: inset 0 0.188rem 0.5rem #e5e5e5;
        -moz-box-shadow: inset 0 0.188rem 0.5rem #e5e5e5;
        box-shadow: inset 0 0.188rem 0.5rem #e5e5e5;
        margin-top: 1.25rem;
    }

    #headerInnerUserSec {
        display: none;
    }

    #mainNavSec {
        display: none;
    }

    #mobileNavMenu {
        padding: 0.375rem 0;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 0.938rem;
        font-weight: 500;
        position: sticky;
        top: 0;
        background-color: white;
        z-index: 50;
        margin-top: -0.3125rem;
    }

    #productMenuMobile {
        position: sticky;
        top: 3.71875rem;
        width: 100%;
        z-index: 50;
    }

    #mainLine1Mobile {
        background-color: white;
        border-top: 0.063rem solid var(--lg);
        display: block;
    }

    .mobileNavMenuItem {
        width: 33%;
        font-size: 0.875rem;
    }
        .mobileNavMenuItem:nth-child(1) {
            width: 34%;
        }
        .mobileNavMenuItem:nth-child(2) {
            width: 28%;
        }
        .mobileNavMenuItem:nth-child(3) {
            width: 28%;
        }
        .mobileNavMenuItem:nth-child(4) {
            width: 40%;
        }
        .mobileNavMenuItem:not(:first-child) {
            border-left: 0.063rem solid var(--lg);
        }
        .mobileNavMenuItem:nth-child(2) {
            border-left: 0.063rem solid var(--lg);
        }
        .mobileNavMenuItem:nth-child(3) {
            border-left: 0.063rem solid var(--lg);
        }
        .mobileNavMenuItem img {
            height: 1.563rem;
        }

    #mainLine1 {
        display: none;
    }

    .mainLine1Item {
        width: 100%;
        background-color: white;
        text-align:center;
    }


    #ContentContainerInner {
        width: 100%;
        display:flex;
        flex-wrap:wrap;
        justify-content:center;
    }

    .footerInnerCol {
        width: 100%;
        padding: 0 1.25rem;
    }

    .footerInnerColHeader {
        margin: 0.75rem 0 0.5rem;
        padding: 0.4rem 0 0.55rem;
        font-weight: 700;
        font-size: 1.05rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

        .footerInnerColHeader img {
            display: block;
        }

    .footerInnerColItemContainer {
        display: none;
    }

    .footer-inner#footerInner,
    #footerInner.footer-inner {
        padding: 1.5rem 0.75rem 1.25rem;
    }

    .footer-columns {
        grid-template-columns: 1fr;
        gap: 0.35rem;
    }

    .footerInnerColItem {
        padding: 0.45rem 0;
    }

    .footer-bottom-bar {
        flex-direction: column;
        text-align: center;
        margin-top: 1rem;
        padding-top: 1rem;
        gap: 0.75rem;
    }

    .footer-payments img {
        max-width: 100%;
    }
}





