/* =========================================================
   ISTANBUL SPOT - MARKA (logo ve yazı tipi)

   Jost yazı tipi siteyle birlikte gelir (assets/fonts),
   dışarıdan yüklenmez.
========================================================= */

@font-face {
    font-family: "Jost";
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url("/assets/fonts/jost-latin-ext-300-normal.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Jost";
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url("/assets/fonts/jost-latin-300-normal.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Jost";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("/assets/fonts/jost-latin-ext-400-normal.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Jost";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("/assets/fonts/jost-latin-400-normal.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Jost";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("/assets/fonts/jost-latin-ext-600-normal.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Jost";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("/assets/fonts/jost-latin-600-normal.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


:root {
    --brand-ink: #1f2a26;
    --brand-gold: #a8834a;
    --brand-grey: #434c48;
}


/* ---------------------------------------------------------
   LOGO
--------------------------------------------------------- */

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    letter-spacing: normal;
    white-space: nowrap;
}

.brand-logo {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    font-family: "Jost", "Futura", "Century Gothic", "Trebuchet MS", sans-serif;
    color: var(--brand-ink);
    line-height: 1;
}

.brand-line {
    display: inline-flex;
    align-items: center;
    font-size: 22px;
}

.brand-istanbul {
    font-weight: 300;
    letter-spacing: 0.16em;
}

.brand-dot {
    width: 0.32em;
    height: 0.32em;
    margin: 0 0.2em 0 0.34em;
    border-radius: 50%;
    background: var(--brand-gold);
    align-self: flex-end;
    margin-bottom: 0.06em;
}

.brand-spot {
    font-weight: 600;
    letter-spacing: 0.12em;
    margin-right: -0.12em;
}

.brand-sub {
    margin-top: 0.55em;
    font-size: 0.42em;
    font-weight: 400;
    letter-spacing: 0.42em;
    margin-right: -0.42em;
    color: var(--brand-grey);
}

/* Navbar'da alt yazı yok, sadece tek satır */
.navbar .brand-sub {
    display: none;
}

.brand-admin {
    padding: 3px 8px;
    border-radius: 5px;
    background: var(--brand-ink);
    color: white;
    font-family: Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
}

/* Koyu zemin (footer) */
.brand-logo.is-light {
    color: #f4ede2;
}

.brand-logo.is-light .brand-sub {
    color: rgba(244, 237, 226, 0.6);
}

@media (max-width: 650px) {

    .navbar .brand-line {
        font-size: 17px;
    }
}

@media (max-width: 380px) {

    .navbar .brand-line {
        font-size: 15px;
    }
}


/* ---------------------------------------------------------
   GÖRSEL LOGO (assets/brand/logo*.png)
--------------------------------------------------------- */

.brand-img {
    display: block;
    width: auto;
    max-width: none;
}

.logo .brand-img {
    height: 66px;
}

.site-footer-logo .brand-img {
    height: 92px;
    margin: 0 0 8px -4px;
}

@media (max-width: 650px) {

    .logo .brand-img {
        height: 44px;
    }
}


/* ---------------------------------------------------------
   TELEFON MENÜSÜ (☰)  -  js/mobile-nav.js
   650px altında üst menü bağlantıları gizlenir, sağ üstteki
   düğmeyle aşağı açılan listede gösterilir.
--------------------------------------------------------- */

.menu-toggle,
.mobile-menu {
    display: none;
}

@media (max-width: 650px) {

    .navbar nav {
        display: flex;
        margin-left: auto;
        gap: 10px;
    }

    .navbar nav > a:not(.cart-link),
    .navbar nav .customer-auth-nav {
        display: none !important;
    }

    .menu-toggle {
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        flex: 0 0 auto;
        width: 44px;
        height: 44px;
        margin-left: 10px;
        padding: 0;
        border: 1px solid var(--border, #e1d9ce);
        border-radius: 12px;
        background: #fff;
        color: var(--primary, #26382d);
        cursor: pointer;
    }

    .menu-toggle-bar {
        display: block;
        width: 20px;
        height: 2px;
        border-radius: 2px;
        background: currentColor;
        transition: transform 0.2s ease, opacity 0.2s ease;
    }

    .is-menu-open .menu-toggle-bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .is-menu-open .menu-toggle-bar:nth-child(2) {
        opacity: 0;
    }

    .is-menu-open .menu-toggle-bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .mobile-menu:not([hidden]) {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 700;
        max-height: calc(100vh - 90px);
        overflow-y: auto;
        padding: 6px 18px 14px;
        background: #fff;
        border-bottom: 1px solid var(--border, #e1d9ce);
        box-shadow: 0 14px 28px rgba(0, 0, 0, 0.10);
    }

    .mobile-menu-item {
        display: block;
        width: 100%;
        padding: 15px 4px;
        border: 0;
        border-bottom: 1px solid #efe9e1;
        background: none;
        color: #2a2622;
        font: inherit;
        font-size: 17px;
        font-weight: 500;
        text-align: left;
        text-decoration: none;
        cursor: pointer;
    }

    .mobile-menu-item:last-child {
        border-bottom: 0;
    }

    .mobile-menu-item[aria-current="page"] {
        color: var(--accent, #b67c45);
        font-weight: 600;
    }
}
