/* Karmin Lastik — uygulama katmanı: mobil arayüz (alt sekme çubuğu, bottom sheet'ler, yatay kaydırmalar)
   + yüklenebilir uygulama (PWA) bileşenleri. shop.css'ten sonra yüklenir. */

:root { --tabbar-h: 64px; --msearch-h: 56px; --hdr-row: 60px; }

/* Uygulama içinde (yüklü) veya yüklendikten sonra "indir" öğeleri görünmez */
.is-app [data-install-hide], .is-installed [data-install-hide] { display: none !important; }

/* Yatay kaydırma yardımcıları */
.hscroll { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.hscroll::-webkit-scrollbar { display: none; }

/* =========================================================
   MOBİL (< 1024 px)
   ========================================================= */
@media (max-width: 1023px) {
    body.shop { padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); background: var(--g-50); }
    .topbar { display: none; }

    /* Başlık: logo satırı kayıp gider, arama satırı yapışık kalır */
    .hdr { top: calc(-1 * var(--hdr-row)); background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom: 0; }
    .hdr.is-stuck { box-shadow: 0 6px 20px -12px rgba(14, 15, 18, .35); }
    .hdr__in { min-height: var(--hdr-row); gap: 8px; }
    .hdr__logo img { width: 138px; }
    .hdr__actions { gap: 6px; }
    .hdr__actions .icon-btn--cart { background: var(--g-100); border-radius: 14px; min-width: 44px; min-height: 44px; }
    .hdr__actions .badge { left: 26px; }
    .is-app .hdr { padding-top: env(safe-area-inset-top); top: calc(-1 * var(--hdr-row) - env(safe-area-inset-top)); }

    .hdr__msearch { padding-bottom: 10px; }
    .hdr__msearch button {
        width: 100%; height: 46px; display: flex; align-items: center; gap: 10px; padding: 0 6px 0 14px;
        background: var(--g-100); border-radius: 14px; color: var(--g-500); font-size: 15px; text-align: left;
        border: 1.5px solid transparent; transition: border-color .2s, background .2s;
    }
    .hdr__msearch button:active { background: #fff; border-color: var(--red); }
    .hdr__msearch button > .ic { color: var(--ink); }
    .hdr__msearch span { flex: 1; }
    .hdr__msearch i { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: var(--ink); color: #fff; }
    .hdr__msearch i .ic { width: 18px; height: 18px; }

    /* Alt sekme çubuğu */
    .tabbar {
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
        display: grid; grid-template-columns: repeat(5, 1fr); align-items: end;
        height: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); padding: 0 6px env(safe-area-inset-bottom);
        background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.8) blur(16px); -webkit-backdrop-filter: saturate(1.8) blur(16px);
        border-top: 1px solid var(--g-200);
    }
    .tabbar > a, .tabbar > button {
        position: relative; height: var(--tabbar-h); display: grid; justify-items: center; align-content: center; gap: 3px;
        font-size: 11px; font-weight: 600; color: var(--g-500); -webkit-tap-highlight-color: transparent;
    }
    .tabbar .ic { width: 23px; height: 23px; transition: transform .2s var(--ease); }
    .tabbar > :active .ic { transform: scale(.88); }
    .tabbar .is-active { color: var(--ink); }
    .tabbar .is-active::before { content: ""; position: absolute; top: 0; width: 28px; height: 3px; border-radius: 0 0 3px 3px; background: var(--red); }
    .tabbar .badge { top: 8px; left: calc(50% + 4px); }
    .tabbar__fab i {
        width: 54px; height: 54px; margin-top: -26px; display: grid; place-items: center; border-radius: 18px;
        background: var(--red); color: #fff; box-shadow: 0 10px 24px -8px rgba(227, 20, 27, .8), 0 0 0 5px #fff;
        transform: rotate(-6deg);
    }
    .tabbar__fab i .ic { transform: rotate(6deg); }
    .tabbar__fab span { color: var(--ink); }

    /* WhatsApp düğmesi sekme çubuğunun üstünde */
    .wa-fab { bottom: calc(var(--tabbar-h) + 14px + env(safe-area-inset-bottom)); }
    .has-banner .wa-fab { opacity: 0; pointer-events: none; }

    /* Kategoriler: alttan açılan sayfa */
    .drawer { display: flex; align-items: flex-end; }
    .drawer__panel {
        position: relative; inset: auto; width: 100%; max-height: 88vh; max-height: 88dvh;
        border-radius: 26px 26px 0 0; padding-bottom: calc(18px + env(safe-area-inset-bottom));
        animation: sheet-up .32s var(--ease);
    }
    .drawer__head { border: 0; padding: 4px 12px 6px 20px; }
    .drawer__head h3 { font: 800 24px/1 var(--display); }
    .drawer__nav { padding: 6px 12px 10px; gap: 2px; }
    .drawer__nav > a { padding: 11px 8px; }
    .drawer__nav > a > span { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: var(--g-100); color: var(--ink); }
    .drawer__nav > a > span .ic { width: 20px; height: 20px; }
}

/* Bottom sheet ortakları */
.sheet-grip { display: block; width: 42px; height: 5px; border-radius: 9px; background: var(--g-300); margin: 10px auto 6px; }
@keyframes sheet-up { from { transform: translateY(100%); } }
@keyframes sheet-down { to { transform: translateY(100%); } }
.drawer.is-closing, .sheet.is-closing { animation: fade .18s reverse forwards; }
.drawer.is-closing .drawer__panel, .sheet.is-closing .sheet__panel { animation: sheet-down .18s ease-in forwards; }

.drawer__seasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 6px 20px 8px; }
.drawer__seasons a { display: grid; justify-items: center; gap: 8px; padding: 14px 6px; border-radius: 18px; background: var(--g-50); border: 1px solid var(--g-200); font-weight: 700; font-size: 14px; }
.drawer__seasons .chip-ic { width: 44px; height: 44px; border-radius: 14px; }
.drawer__app { display: flex; align-items: center; gap: 12px; margin: 6px 20px 0; padding: 12px 14px; border-radius: 18px; background: var(--ink); color: #fff; }
.drawer__app img { border-radius: 12px; }
.drawer__app span { flex: 1; display: grid; }
.drawer__app small { color: #A9AFB8; font-size: 12.5px; }
.drawer__app > .ic { color: #FF5A5F; }

/* Başlıktaki "Uygulama" düğmesi */
.get-app {
    display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px;
    border-radius: 99px; background: var(--red-50); color: var(--red); border: 1px solid var(--red-100);
    font-weight: 700; font-size: 13px; white-space: nowrap;
}
.get-app .ic { width: 16px; height: 16px; stroke-width: 2.2; }
@media (min-width: 1024px) { .get-app { display: none; } .hdr__msearch { display: none; } }
@media (max-width: 360px) { .get-app { padding: 0 10px; font-size: 0; gap: 0; } .get-app .ic { width: 18px; height: 18px; } }

/* =========================================================
   ANA SAYFA — mobil
   ========================================================= */
.quick { display: none; }
@media (max-width: 1023px) {
    .quick { display: block; padding: 14px 0; }
    .quick__row { display: flex; gap: 4px; overflow-x: auto; padding: 0 var(--gutter); scrollbar-width: none; scroll-snap-type: x proximity; }
    .quick__row::-webkit-scrollbar { display: none; }
    .quick__row a { flex: none; width: 72px; display: grid; justify-items: center; gap: 7px; font-size: 12px; font-weight: 600; color: var(--g-700); scroll-snap-align: start; text-align: center; }
    .quick__row .chip-ic { width: 56px; height: 56px; border-radius: 18px; background: var(--g-100); color: var(--ink); transition: transform .15s; }
    .quick__row .chip-ic .ic { width: 24px; height: 24px; }
    .quick__row a:active .chip-ic { transform: scale(.92); }
    .chip-ic--red { background: var(--red-50) !important; color: var(--red) !important; }
    .quick__row .chip-ic--sun { background: #FFF6E5; color: var(--sun); }
    .quick__row .chip-ic--snow { background: #E6F6FE; color: var(--snow); }
    .quick__row .chip-ic--all { background: #E7F8F1; color: var(--all); }

    /* Hero: amblem üstte küçük, başlık, ardından dikey arama kartı */
    .hero { padding-bottom: 18px; background: transparent; }
    .hero__bg { display: none; }
    .hero__in { padding-top: 4px; gap: 0; }
    .hero__visual { order: -1; width: min(78%, 340px); margin: 0 auto -6px; }
    .hero__dial b { font-size: clamp(22px, 7vw, 32px); }
    .hero__dial small { font-size: 9.5px; }
    .hero__dial-season { font-size: 10.5px; padding: 4px 9px; }
    .hero .eyebrow { display: none; }
    .hero h1 { font-size: clamp(30px, 8.4vw, 40px); margin: 6px 0 8px; text-align: center; }
    .hero h1 em { display: inline; }
    .hero__copy { text-align: center; margin: 0 auto; }
    .hero__copy > p { font-size: 14.5px; margin: 0 auto; }
    .hero__ticks { display: none; }

    .dock { margin-top: 18px; }
    .dock__tabs { display: grid; grid-template-columns: 1fr 1fr; margin: 0; width: 100%; border: 0; background: var(--g-200); border-radius: 14px; margin-bottom: 8px; }
    .dock__tabs button { justify-content: center; }
    .dock__tabs .is-active { background: #fff; color: var(--ink); box-shadow: var(--sh-1); }
    .dock__tabs .is-active .ic { color: var(--red); }
    .dock__bar { flex-direction: column; padding: 8px; border-radius: 20px; }
    .dock__fields { grid-template-columns: repeat(3, 1fr); gap: 6px; }
    .dock__cell { padding: 10px 12px; background: var(--g-50); border-radius: 14px; }
    .dock__cell + .dock__cell::before { display: none; }
    .dock__cell:last-child:nth-child(4) { grid-column: 1 / -1; }
    .dock__cell > span { font-size: 10.5px; }
    .dock__cell select { font-size: 17px; }
    .dock__go { min-height: 54px; width: 100%; }
    .dock__foot { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 12px calc(-1 * var(--gutter)) 0; padding: 0 var(--gutter); }
    .dock__foot::-webkit-scrollbar { display: none; }
    .dock__foot a { flex: none; }
    .dock__foot .dock__help { display: none; }

    /* Güven şeridi: yatay kaydırmalı kartlar */
    .usp { background: transparent; border: 0; }
    .usp__grid { display: flex; gap: 10px; overflow-x: auto; padding: 14px var(--gutter); scroll-snap-type: x mandatory; scrollbar-width: none; }
    .usp__grid::-webkit-scrollbar { display: none; }
    .usp__item { flex: none; width: 236px; padding: 12px; background: #fff; border-radius: 18px; border: 1px solid var(--g-200); scroll-snap-align: start; }

    .sec { padding: 28px 0; }
    .sec--tint { background: transparent; }
    .sec__head { margin-bottom: 16px; }
    .sec__head h2 { font-size: 26px; margin-top: 6px; }
    .sec__head p { font-size: 14.5px; }
    .sec__head .link-arrow { font-size: 14px; white-space: nowrap; }

    .cats { grid-template-columns: 1fr 1fr; gap: 10px; }
    .cat { min-height: 150px; padding: 18px; border-radius: 22px; background: #fff; }
    .cat--tire { grid-column: 1 / -1; min-height: 190px; background: radial-gradient(120% 120% at 100% 100%, #2b0d0f 0%, var(--ink) 55%); }
    .cat__body { max-width: 100%; gap: 6px; }
    .cat h3 { font-size: 24px; }
    .cat p { font-size: 13.5px; line-height: 1.45; }
    .cat:not(.cat--tire) p { display: none; }
    .cat:not(.cat--tire) .cat__art { width: 130px; height: 130px; right: -30px; bottom: -30px; }
    .cat .link-arrow { font-size: 14px; }

    .brands { display: flex; overflow-x: auto; gap: 10px; margin: 0 calc(-1 * var(--gutter)); padding: 2px var(--gutter) 6px; scrollbar-width: none; scroll-snap-type: x mandatory; }
    .brands::-webkit-scrollbar { display: none; }
    .brand { flex: none; width: 132px; height: 66px; font-size: 17px; border-radius: 16px; scroll-snap-align: start; }

    .sizeread { margin: 0 12px; border-radius: 26px; padding: 30px 0; }
    .sidewall__code { padding: 18px 8px; font-size: clamp(36px, 11vw, 54px); border-radius: 100px / 40px; gap: 2px 4px; }
    .sidewall__code button { padding: 2px 6px; }

    .steps { display: flex; overflow-x: auto; gap: 10px; margin: 0 calc(-1 * var(--gutter)); padding: 2px var(--gutter) 8px; scroll-snap-type: x mandatory; scrollbar-width: none; }
    .steps::-webkit-scrollbar { display: none; }
    .steps li { flex: none; width: 250px; padding: 20px 18px; border-radius: 22px; scroll-snap-align: start; }
    .steps__n { font-size: 48px; }
    .steps__ic { width: 46px; height: 46px; margin-bottom: 12px; }

    .duo { gap: 10px; }
    .duo__card { padding: 22px; min-height: 0; border-radius: 22px; }
    .duo__card h3 { font-size: 24px; }
    .duo__card p { font-size: 14px; }
    .duo__ic { width: 46px; height: 46px; border-radius: 14px; }

    /* Alt bilgi: akordeon */
    .ftr { background: #fff; }
    .ftr__grid { gap: 0; padding-top: 28px; padding-bottom: 12px; }
    .ftr__brand { padding-bottom: 18px; border-bottom: 1px solid var(--g-200); }
    .ftr__logo img { width: 160px; }
    .ftr__col { border-bottom: 1px solid var(--g-200); }
    .ftr__col summary { padding: 16px 0; }
    .ftr__col h4 { margin: 0; font-size: 13px; color: var(--ink); }
    .ftr__links { padding-bottom: 14px; }
    .ftr__bar-in { padding-bottom: 16px; font-size: 12.5px; }
}

/* Alt bilgi sütun başlıkları (details/summary) */
.ftr__col summary { list-style: none; display: flex; align-items: center; justify-content: space-between; cursor: pointer; }
.ftr__col summary::-webkit-details-marker { display: none; }
.ftr__col summary .ic { color: var(--g-400); transition: transform .2s; }
.ftr__col[open] summary .ic { transform: rotate(180deg); }
.ftr__links { display: grid; gap: 10px; }
.ftr__links a { color: var(--g-700); font-size: 14.5px; }
.ftr__links a:hover { color: var(--red); }
@media (min-width: 768px) {
    .ftr__col summary { pointer-events: none; margin-bottom: 6px; }
    .ftr__col summary .ic { display: none; }
}

/* =========================================================
   UYGULAMA İNDİR — afiş, talimat penceresi, rozetler
   ========================================================= */
.app-banner {
    position: fixed; left: 10px; right: 10px; z-index: 75;
    bottom: calc(var(--tabbar-h) + 10px + env(safe-area-inset-bottom));
    display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 12px;
    background: var(--ink); color: #fff; border-radius: 20px; box-shadow: var(--sh-3);
    animation: banner-in .45s var(--ease);
}
@keyframes banner-in { from { transform: translateY(30px); opacity: 0; } }
.app-banner img { border-radius: 12px; flex: none; }
.app-banner div { flex: 1; min-width: 0; display: grid; }
.app-banner b { font-size: 14.5px; }
.app-banner small { color: #A9AFB8; font-size: 12px; line-height: 1.3; }
.app-banner .btn { min-height: 38px; padding: 0 16px; font-size: 14px; border-radius: 12px; }
.app-banner__x { width: 30px; height: 30px; display: grid; place-items: center; color: #8B919B; flex: none; }
.app-banner__x .ic { width: 18px; height: 18px; }
@media (min-width: 1024px) { .app-banner { display: none !important; } }

.sheet { position: fixed; inset: 0; z-index: 95; display: flex; align-items: flex-end; justify-content: center; background: rgba(14, 15, 18, .5); backdrop-filter: blur(3px); animation: fade .2s; }
.sheet__panel {
    position: relative; width: 100%; max-width: 520px; background: #fff; border-radius: 26px 26px 0 0;
    padding: 0 20px calc(20px + env(safe-area-inset-bottom)); display: grid; gap: 18px;
    animation: sheet-up .32s var(--ease);
}
@media (min-width: 600px) { .sheet { align-items: center; } .sheet__panel { border-radius: 26px; padding-bottom: 24px; } .sheet__panel .sheet-grip { visibility: hidden; } }
.sheet__x { position: absolute; top: 10px; right: 10px; }
.sheet__app { display: flex; align-items: center; gap: 14px; }
.sheet__app img { border-radius: 16px; box-shadow: var(--sh-2); }
.sheet__app h3 { font: 800 24px/1 var(--display); }
.sheet__app small { color: var(--g-500); font-size: 13px; }
.howto { display: grid; gap: 10px; counter-reset: h; }
.howto li { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 16px; background: var(--g-50); }
.howto span { flex: none; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: #fff; color: #0A84FF; box-shadow: var(--sh-1); }
.howto p { font-size: 14.5px; line-height: 1.45; }

.badges { display: flex; flex-wrap: wrap; gap: 10px; }
.sbadge {
    display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 16px 0 14px;
    border-radius: 14px; background: #000; color: #fff; border: 1px solid rgba(255, 255, 255, .18);
    text-align: left; transition: transform .15s var(--ease), background .2s;
}
.sbadge:hover { transform: translateY(-2px); background: #1b1d22; }
.sbadge .ic { width: 26px; height: 26px; }
.sbadge span { display: grid; font: 700 17px/1.05 var(--font); }
.sbadge small { font-size: 11px; font-weight: 500; color: #B9BEC6; letter-spacing: .02em; }
.badges__note { margin-top: 12px; font-size: 13px; color: #9AA0A9; }
@media (max-width: 480px) { .badges { display: grid; grid-template-columns: 1fr 1fr; } .sbadge:last-child { grid-column: 1 / -1; justify-content: center; } }

/* Ana sayfa uygulama bandı */
.appband {
    position: relative; overflow: hidden; isolation: isolate; display: grid; gap: 24px; align-items: center;
    padding: 28px 22px 0; border-radius: 26px; color: #fff;
    background: radial-gradient(90% 120% at 100% 0%, #3a0c0f 0%, var(--ink) 55%);
}
.appband::before { content: ""; position: absolute; z-index: -1; width: 520px; height: 520px; right: -220px; bottom: -300px; border-radius: 50%; border: 10px solid transparent; border-top-color: var(--red); border-left-color: rgba(227, 20, 27, .4); rotate: 30deg; }
.appband h2 { margin: 10px 0 10px; color: #fff; font: 800 clamp(28px, 4vw, 44px)/1.02 var(--display); }
.appband__copy > p { color: #B9BEC6; max-width: 480px; margin-bottom: 20px; }
.appband__phone { justify-self: center; height: 300px; overflow: hidden; }
@media (min-width: 900px) {
    .appband { grid-template-columns: 1.2fr .8fr; padding: 48px 56px 0; }
    .appband__copy { padding-bottom: 48px; }
    .appband__phone { height: 380px; align-self: end; }
}

/* Telefon önizlemesi (CSS) */
.phone { width: 250px; padding: 10px; border-radius: 44px; background: linear-gradient(145deg, #3a3d45, #0b0c0f); box-shadow: 0 40px 80px -30px #000, inset 0 0 0 2px #4a4e57; }
.phone__screen { position: relative; height: 500px; overflow: hidden; border-radius: 35px; background: var(--g-50); color: var(--ink); display: grid; align-content: start; gap: 10px; padding: 0 12px; }
.phone__status { display: flex; justify-content: space-between; align-items: center; padding: 12px 10px 0; font-size: 10px; font-weight: 700; }
.phone__status i { width: 76px; height: 22px; border-radius: 99px; background: #000; }
.phone__hdr { display: flex; justify-content: space-between; align-items: center; }
.phone__hdr img { width: 96px; height: auto; }
.phone__hdr b { width: 30px; height: 30px; border-radius: 10px; background: #fff; display: grid; place-items: center; box-shadow: var(--sh-1); }
.phone__hdr .ic { width: 15px; height: 15px; }
.phone__search { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 10px; border-radius: 11px; background: #fff; font-size: 12px; font-weight: 600; box-shadow: var(--sh-1); }
.phone__search .ic { width: 14px; height: 14px; color: var(--red); }
.phone__chips { display: flex; justify-content: space-between; }
.phone__chips .chip-ic { width: 46px; height: 46px; border-radius: 14px; background: #fff; box-shadow: var(--sh-1); }
.phone__hero { display: grid; gap: 2px; padding: 14px; border-radius: 16px; color: #fff; background: radial-gradient(120% 120% at 100% 0%, #5a1215, var(--ink) 60%); }
.phone__hero b { font: 800 19px/1.1 var(--display); }
.phone__hero small { font-size: 10.5px; color: #B9BEC6; }
.phone__hero em { margin-top: 8px; justify-self: start; font-style: normal; font-size: 10.5px; font-weight: 700; padding: 6px 10px; border-radius: 8px; background: var(--red); }
.phone__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.phone__cards div { display: grid; gap: 5px; padding: 8px; border-radius: 14px; background: #fff; box-shadow: var(--sh-1); }
.phone__cards i { height: 62px; border-radius: 10px; background: radial-gradient(circle at 50% 50%, #3a3d45 0 30%, #14161a 31% 46%, var(--g-100) 47%); }
.phone__cards b { height: 7px; width: 80%; border-radius: 4px; background: var(--g-200); }
.phone__cards s { height: 7px; width: 55%; border-radius: 4px; background: var(--g-100); }
.phone__cards u { height: 10px; width: 50%; border-radius: 4px; background: var(--red); opacity: .85; }
.phone__tabs { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-around; align-items: center; height: 56px; padding-bottom: 6px; background: #fff; border-top: 1px solid var(--g-200); color: var(--g-400); }
.phone__tabs .ic { width: 18px; height: 18px; }
.phone__tabs > .ic:first-child { color: var(--ink); }
.phone__tabs span { width: 38px; height: 38px; margin-top: -18px; display: grid; place-items: center; border-radius: 13px; background: var(--red); color: #fff; box-shadow: 0 0 0 4px #fff; }

/* =========================================================
   /uygulama sayfası
   ========================================================= */
.apphero { position: relative; overflow: hidden; isolation: isolate; color: #fff; background: radial-gradient(120% 140% at 0% 0%, #23262d 0%, var(--asphalt) 45%, #0a0b0d 100%); }
.apphero::before { content: ""; position: absolute; z-index: -1; width: 820px; height: 820px; right: -300px; top: -260px; border-radius: 50%; background: radial-gradient(closest-side, rgba(227, 20, 27, .35), transparent 70%); }
.apphero__in { display: grid; gap: 30px; align-items: center; padding-top: 34px; }
@media (min-width: 900px) { .apphero__in { grid-template-columns: 1.15fr .85fr; padding-top: 64px; } .apphero__copy { padding-bottom: 64px; } }
.apphero__icon { border-radius: 22px; box-shadow: 0 20px 40px -14px rgba(0, 0, 0, .8); margin-bottom: 18px; }
.apphero h1 { margin: 12px 0 14px; color: #fff; font: 800 clamp(40px, 7vw, 68px)/.98 var(--display); }
.apphero h1 em { font-style: italic; color: #FF4B51; }
.apphero__copy > p { color: #B9BEC6; font-size: 16.5px; max-width: 520px; }
.apphero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 26px 0 18px; }
.apphero__installed { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: #6EE7A0; }
.apphero__phone { justify-self: center; height: 360px; overflow: hidden; }
@media (min-width: 900px) { .apphero__phone { height: 470px; align-self: end; } .apphero__phone .phone { width: 280px; } .apphero__phone .phone__screen { height: 560px; } }
.is-app .apphero__cta .btn, .is-installed .apphero__cta .btn { display: none; }

.platforms { max-width: 980px; margin: 0 auto; }
.platforms__tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 5px; margin: 0 auto 22px; max-width: 560px; background: var(--g-100); border-radius: 16px; }
.platforms__tabs button { display: flex; align-items: center; justify-content: center; gap: 8px; height: 46px; border-radius: 12px; font-weight: 700; font-size: 14px; color: var(--g-600); transition: all .2s; }
.platforms__tabs .is-active { background: #fff; color: var(--ink); box-shadow: var(--sh-1); }
@media (max-width: 480px) { .platforms__tabs button { flex-direction: column; gap: 2px; height: 58px; font-size: 12px; } }
.psteps { display: grid; gap: 12px; }
@media (min-width: 768px) { .psteps { grid-template-columns: repeat(3, 1fr); gap: 16px; } .psteps--col { grid-template-columns: 1fr; } }
.psteps li { position: relative; padding: 22px 20px; border-radius: 22px; background: #fff; border: 1px solid var(--g-200); }
.psteps li > span { position: absolute; top: 16px; right: 18px; font: 800 italic 42px/1 var(--display); color: var(--g-100); }
.psteps__ic { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: var(--ink); color: #fff; margin-bottom: 14px; }
.psteps h3 { font-size: 16.5px; margin-bottom: 4px; }
.psteps p { color: var(--g-600); font-size: 14.5px; }
.psteps--col li { display: grid; grid-template-columns: 48px 1fr; column-gap: 14px; align-items: center; }
.psteps--col .psteps__ic { margin: 0; grid-row: span 2; }
.pdesk { display: grid; gap: 16px; }
@media (min-width: 768px) { .pdesk { grid-template-columns: 1.3fr 1fr; align-items: start; } }
.qrcard { display: grid; justify-items: center; text-align: center; gap: 14px; padding: 26px; border-radius: 22px; background: var(--ink); color: #fff; }
.qrcard__code { width: 180px; height: 180px; padding: 14px; border-radius: 18px; background: #fff; color: var(--g-300); display: grid; place-items: center; }
.qrcard__code svg { width: 100%; height: 100%; }
.qrcard__code > .ic { width: 60px; height: 60px; }
.qrcard b { display: block; font-size: 16px; }
.qrcard small { color: #A9AFB8; font-size: 13.5px; }

.appfeats { display: grid; gap: 12px; }
@media (min-width: 600px) { .appfeats { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .appfeats { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.appfeats > div { padding: 22px; border-radius: 22px; background: #fff; border: 1px solid var(--g-200); }
.appfeats span { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: var(--red-50); color: var(--red); margin-bottom: 14px; }
.appfeats h3 { font-size: 16.5px; margin-bottom: 4px; }
.appfeats p { color: var(--g-600); font-size: 14.5px; }

@media (max-width: 1023px) {
    .apphero { margin: 0 12px; border-radius: 26px; }
    .apphero__in { padding-left: 20px; padding-right: 20px; }
    .apphero__icon { width: 68px; height: 68px; border-radius: 18px; }
    .apphero__cta .btn { width: 100%; }
}

/* Alt sekme çubuğu yalnız mobilde: masaüstünde hiç görünmez */
@media (min-width: 1024px) { .tabbar { display: none !important; } }

/* =========================================================
   MOBİL DÜZELTMELER + UYGULAMA HİSSİ (2026-11-10)
   ========================================================= */
html, body { overflow-x: clip; }               /* dekoratif öğeler yatay kaydırma yaratmasın */

/* Katalog filtresi: masaüstünde düğme yok, kutu hep açık */
.filters__toggle { display: none; }

@media (max-width: 1023px) {
    /* Uygulama çubuğu: logo satırı kayıp gider, arama satırı üstte yapışık kalır */
    .hdr { position: sticky; top: calc(-1 * var(--hdr-row)); z-index: 40; }
    .is-app .hdr { top: calc(-1 * var(--hdr-row) - env(safe-area-inset-top)); }

    /* iOS: 16px altındaki alanlara dokununca sayfa yakınlaşır — engelle */
    .field input, .field select, .field textarea, .dock__cell select, .dock__cell input, .search__bar input { font-size: 16px; }

    /* Dokunma: gri vurgu yok, çift dokunma gecikmesi yok, basınca hafif küçülme */
    a, button, label, summary { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
    .btn:active, .cat:active, .duo__card:active, .brand:active, .contact__card:active,
    .sr__list button:active, .drawer__nav > a:active, .pill:active, .dock__foot a:active { transform: scale(.97); transition: transform .08s; }
    .tabbar, .quick, .dock__foot, .hdr__actions { user-select: none; -webkit-user-select: none; }

    /* Bölümler: kenarlara yaslanmış kart düzeni, tutarlı boşluk */
    .sec__head h2 { font-size: 24px; }
    .sec__head .eyebrow { font-size: 11px; }
    .cats .cat--photo { min-height: 170px; }
    .cats .cat--tire.cat--photo { min-height: 210px; }
    .duo__card--photo { min-height: 260px; }

    /* Katalog: filtre "Filtrele" düğmesiyle açılan kart */
    .filters__toggle {
        display: flex; align-items: center; gap: 10px; width: 100%; height: 50px; padding: 0 16px;
        background: #fff; border: 1px solid var(--g-200); border-radius: 14px; font-weight: 700; color: var(--ink);
    }
    .filters__toggle .ic:first-child { color: var(--red); }
    .filters__toggle .ic--xs { margin-left: auto; transition: transform .2s; }
    .filters__toggle b { min-width: 22px; height: 22px; display: grid; place-items: center; border-radius: 99px; background: var(--red); color: #fff; font-size: 12px; }
    .filters__toggle[aria-expanded="true"] .ic--xs { transform: rotate(180deg); }
    .filters [data-filter-box] { display: none; margin-top: 8px; }
    .filters.is-open [data-filter-box] { display: grid; animation: drop .25s var(--ease); }
    .cat-layout { gap: 14px; padding-top: 14px; }
    .crumbs { padding-top: 12px; }
    .cat-head { padding-bottom: 14px; }
    .cat-head h1 { font-size: 28px; }
    .empty { padding: 36px 18px; }

    /* Giriş sayfası: tam ekran uygulama girişi gibi */
    .signin { min-height: calc(100dvh - 180px); align-content: start; }

    /* Sayfa altı: sekme çubuğunun arkasında içerik kalmasın */
    .ft__bar-in { padding-bottom: 18px; }
}

/* Dokunmatik cihazlarda fare efektleri (büyüme/kayma) takılı kalmasın */
@media (hover: none) {
    .cat--photo:hover .cat__photo img, .duo__card--photo:hover .duo__photo img, .brand--logo:hover img { transform: none; }
    .cat:hover, .duo__card:hover, .brand:hover, .steps li:hover, .contact__card:hover { transform: none; box-shadow: none; }
    .ft__links a:hover { transform: none; }
}

/* Yüklü uygulama (tam ekran) modunda sayfa geçişleri yumuşak */
@media (display-mode: standalone) {
    @view-transition { navigation: auto; }
    body { overscroll-behavior-y: none; }
}

/* Hızlı erişim satırı kaldırıldı; slider mobilde üst boşlukla başlar */
@media (max-width: 1023px) { .slider { padding-top: 12px; } }

/* =========================================================
   iPhone güvenli alan (çentik / durum çubuğu / yan çevrilmiş ekran)
   ========================================================= */
@media (max-width: 1023px) {
    /* Başlık: durum çubuğu payı kadar üst boşluk; yapışınca arama satırı çentiğin ALTINDA durur */
    .hdr, .is-app .hdr { padding-top: env(safe-area-inset-top); top: calc(-1 * var(--hdr-row)); }
    /* Kaydırılan içerik durum çubuğunun arkasında görünmesin */
    body.shop::before {
        content: ""; position: fixed; top: 0; left: 0; right: 0; z-index: 41;
        height: env(safe-area-inset-top); background: #fff; pointer-events: none;
    }
    /* Yan çevrilmiş ekranda çentik içeriği kesmesin */
    .wrap { padding-left: max(var(--gutter), env(safe-area-inset-left)); padding-right: max(var(--gutter), env(safe-area-inset-right)); }
    .tabbar { padding-left: max(6px, env(safe-area-inset-left)); padding-right: max(6px, env(safe-area-inset-right)); }
    /* Açılır pencereler (arama, kategoriler) durum çubuğunun altından başlasın */
    .search__panel { padding-top: env(safe-area-inset-top); }
    .drawer__panel { max-height: calc(100dvh - env(safe-area-inset-top) - 12px); }
}

/* Sayfa sonu: ortadaki yükseltilmiş "Ara" düğmesi footer'ın üstüne binmesin */
@media (max-width: 1023px) {
    body.shop { padding-bottom: calc(var(--tabbar-h) + 30px + env(safe-area-inset-bottom)); background: #060708; }
    main#main { background: var(--g-50); }
    .ft__bar-in { gap: 10px; padding-top: 20px; padding-bottom: 14px; flex-direction: column; }
    /* Güvenli ödeme notu: kilit ikonu metnin başında, satır içinde */
    .ft__pay { flex-direction: column; gap: 14px; }
    .ft__pay-note { display: block; text-align: center; line-height: 1.5; max-width: 320px; margin: 0 auto; }
    .ft__pay-note .ic { display: inline-block; vertical-align: -3px; margin-right: 4px; }
    .ft__cards { justify-content: center; }
}
