
:root {
    --red: #a8242b;
    --red-soft: #fff0f0;
    --ink: #241712;
    --coffee: #5b3a2e;
    --muted: #89776e;
    --paper: #fffaf4;
    --paper-deep: #fff2e5;
    --cream: #f8e4c8;
    --line: rgba(91, 58, 46, .13);
    --line-red: rgba(168, 36, 43, .14);
    --shadow: 0 18px 55px rgba(78, 45, 31, .10);
    --soft-shadow: 0 8px 24px rgba(78, 45, 31, .07);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at top left, rgba(168,36,43,.08), transparent 22rem),
        radial-gradient(circle at top right, rgba(248,228,200,.80), transparent 28rem),
        linear-gradient(180deg, #fff8f0 0%, #fff3e8 100%);
}

body.loading { overflow: hidden; }

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image:
        linear-gradient(90deg, rgba(91,58,46,.025) 1px, transparent 1px),
        linear-gradient(rgba(91,58,46,.018) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: linear-gradient(180deg, rgba(0,0,0,.72), transparent 74%);
}

.soft-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    padding: 24px;
    background:
        radial-gradient(circle at center, rgba(168,36,43,.07), transparent 18rem),
        linear-gradient(180deg, #fff9f2, #fff0e3);
    transition: opacity .45s ease, visibility .45s ease;
}

.soft-loader.hide {
    opacity: 0;
    visibility: hidden;
}

.soft-loader-card {
    display: grid;
    justify-items: center;
    gap: 10px;
    width: min(100%, 280px);
    padding: 26px;
    border-radius: 34px;
    background: rgba(255,255,255,.78);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.soft-loader-card img {
    width: 92px;
    height: 92px;
    object-fit: contain;
    filter: drop-shadow(0 12px 18px rgba(168,36,43,.12));
    animation: softFloat 2.4s ease-in-out infinite;
}

.soft-loader-card span {
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: .18em;
    font-size: 12px;
    font-weight: 950;
}

.soft-loader-line {
    width: 170px;
    height: 4px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(168,36,43,.10);
}

.soft-loader-line i {
    display: block;
    height: 100%;
    width: 44%;
    border-radius: inherit;
    background: linear-gradient(90deg, transparent, var(--red), transparent);
    animation: lineLoad 1.05s ease-in-out infinite;
}

@keyframes softFloat {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

@keyframes lineLoad {
    0% { transform: translateX(-120%); }
    100% { transform: translateX(260%); }
}

.menu-book {
    width: min(1120px, 100%);
    margin: 0 auto;
    padding: max(12px, env(safe-area-inset-top)) 12px 92px;
}

.book-cover {
    min-height: min(620px, calc(100vh - 24px));
    display: grid;
    align-content: space-between;
    gap: 28px;
    position: relative;
    overflow: hidden;
    padding: 20px;
    border-radius: 36px;
    background:
        linear-gradient(135deg, rgba(255,255,255,.96), rgba(255,245,234,.92)),
        radial-gradient(circle at 85% 10%, rgba(168,36,43,.11), transparent 18rem);
    border: 1px solid rgba(168,36,43,.10);
    box-shadow: var(--shadow);
}

.book-cover::before {
    content: "";
    position: absolute;
    inset: 14px;
    border-radius: 28px;
    border: 1px solid rgba(168,36,43,.08);
    pointer-events: none;
}

.book-cover::after {
    content: "";
    position: absolute;
    right: -95px;
    top: -95px;
    width: 260px;
    height: 260px;
    border-radius: 999px;
    background: rgba(168,36,43,.055);
    border: 1px solid rgba(168,36,43,.08);
}

.cover-logo,
.cover-title,
.start-question,
.cover-meta {
    position: relative;
    z-index: 1;
}

.start-question {
    display: grid;
    gap: 12px;
    padding: 14px;
    border-radius: 28px;
    background: rgba(255,255,255,.70);
    border: 1px solid var(--line);
    box-shadow: var(--soft-shadow);
}

.question-copy {
    display: grid;
    gap: 3px;
}

.question-copy strong {
    color: var(--ink);
    font-size: 18px;
    line-height: 1.05;
    letter-spacing: -.025em;
}

.question-copy span {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.35;
    font-weight: 720;
}

.start-category-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    max-height: 210px;
    overflow: auto;
    padding-right: 2px;
    scrollbar-width: thin;
}

.start-category-card {
    display: grid;
    gap: 3px;
    min-height: 76px;
    padding: 12px;
    border-radius: 20px;
    text-decoration: none;
    background: #fff;
    border: 1px solid var(--line);
    color: var(--coffee);
    box-shadow: 0 8px 18px rgba(78,45,31,.05);
    transition: transform .22s ease, border-color .22s ease, background .22s ease;
}

.start-category-card:hover,
.start-category-card:focus {
    transform: translateY(-2px);
    border-color: var(--line-red);
    background: linear-gradient(135deg, #fff, #fff3eb);
}

.start-category-card em {
    color: var(--red);
    font-style: normal;
    font-size: 10px;
    font-weight: 950;
    letter-spacing: .16em;
}

.start-category-card span {
    color: var(--ink);
    font-size: 14px;
    line-height: 1.08;
    font-weight: 950;
}

.start-category-card small {
    color: var(--muted);
    font-size: 11px;
    font-weight: 850;
}

.cover-meta {
    position: relative;
    z-index: 1;
}

.cover-logo {
    width: 116px;
    height: 116px;
    display: grid;
    place-items: center;
    border-radius: 34px;
    background: rgba(255,255,255,.72);
    border: 1px solid var(--line);
    box-shadow: var(--soft-shadow);
}

.cover-logo img {
    width: 96px;
    height: 96px;
    object-fit: contain;
}

.cover-title p {
    margin: 0 0 9px;
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: .22em;
    font-size: 12px;
    font-weight: 950;
}

.cover-title h1 {
    margin: 0;
    max-width: 860px;
    color: var(--ink);
    font-size: clamp(52px, 15vw, 120px);
    line-height: .82;
    letter-spacing: -.08em;
}

.cover-title span {
    display: block;
    max-width: 620px;
    margin-top: 18px;
    color: var(--coffee);
    font-size: clamp(15px, 4vw, 22px);
    line-height: 1.42;
    font-weight: 680;
}

.cover-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 9px;
}

.cover-meta div {
    padding: 14px;
    border-radius: 24px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--soft-shadow);
}

.cover-meta strong {
    display: block;
    color: var(--red);
    font-size: 26px;
    line-height: 1;
    letter-spacing: -.04em;
}

.cover-meta span {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 850;
}

.quick-panel {
    position: sticky;
    top: 0;
    z-index: 30;
    display: grid;
    gap: 9px;
    margin-top: 14px;
    padding: 10px;
    border-radius: 28px;
    background: rgba(255, 250, 244, .88);
    backdrop-filter: blur(18px);
    border: 1px solid var(--line);
    box-shadow: var(--soft-shadow);
}

.search-line {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 10px;
    padding: 12px 13px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid var(--line);
}

.search-line span {
    color: var(--red);
    font-size: 11px;
    font-weight: 950;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.search-line input {
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--ink);
    font: inherit;
    font-weight: 760;
}

.chapter-nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
}

.chapter-nav::-webkit-scrollbar { display: none; }

.chapter-nav a {
    flex: 0 0 auto;
    min-width: 112px;
    display: grid;
    gap: 2px;
    padding: 11px 12px;
    border-radius: 20px;
    text-decoration: none;
    color: var(--coffee);
    background: #fff;
    border: 1px solid var(--line);
    transition: .25s ease;
}

.chapter-nav a em {
    color: var(--red);
    font-style: normal;
    font-size: 10px;
    font-weight: 950;
    letter-spacing: .16em;
}

.chapter-nav a span {
    font-size: 13px;
    font-weight: 900;
    line-height: 1.05;
}

.chapter-nav a.active {
    color: #fff;
    background: linear-gradient(135deg, var(--red), #cf3b40);
    border-color: transparent;
    transform: translateY(-1px);
}

.chapter-nav a.active em {
    color: rgba(255,255,255,.74);
}

.catalog-pages {
    display: grid;
    gap: 16px;
    margin-top: 16px;
}

.catalog-page {
    position: relative;
    overflow: hidden;
    padding: 18px;
    border-radius: 34px;
    background: rgba(255,255,255,.82);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .45s ease, transform .45s ease;
}

.catalog-page.visible {
    opacity: 1;
    transform: translateY(0);
}

.page-index {
    position: absolute;
    right: 16px;
    top: 12px;
    color: rgba(168,36,43,.10);
    font-size: 72px;
    line-height: .8;
    font-weight: 950;
    letter-spacing: -.08em;
    pointer-events: none;
}

.page-heading {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 3px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--line);
}

.page-heading p {
    margin: 0;
    color: var(--red);
    font-size: 11px;
    font-weight: 950;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.page-heading h2 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(30px, 7vw, 54px);
    line-height: .95;
    letter-spacing: -.06em;
}

.page-heading span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 850;
}

.product-lines {
    display: grid;
}

.line-product {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(108px, auto);
    gap: 14px;
    align-items: start;
    padding: 15px 0;
    border-bottom: 1px dashed rgba(91,58,46,.17);
}

.line-product:last-child {
    border-bottom: 0;
}

.line-product.has-photo {
    grid-template-columns: 66px minmax(0, 1fr) minmax(108px, auto);
}

.line-product.is-hidden {
    display: none;
}

.line-photo {
    width: 66px;
    height: 66px;
    margin: 0;
    border-radius: 22px;
    overflow: hidden;
    background: var(--paper-deep);
    border: 1px solid var(--line);
}

.line-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.line-main {
    min-width: 0;
}

.line-title {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.line-title h3 {
    margin: 0;
    color: var(--ink);
    font-size: 17px;
    line-height: 1.08;
    letter-spacing: -.03em;
    text-transform: uppercase;
}

.line-title span {
    display: inline-flex;
    padding: 4px 8px;
    border-radius: 999px;
    background: var(--red-soft);
    color: var(--red);
    font-size: 10px;
    font-weight: 950;
}

.line-main p {
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.42;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


.line-addons {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 7px;
}

.line-addons small {
    display: inline-flex;
    padding: 5px 8px;
    border-radius: 999px;
    color: var(--coffee);
    background: rgba(91,58,46,.06);
    font-weight: 800;
}

.line-prices {
    display: grid;
    gap: 6px;
}

.guarded-prices {
    padding: 8px;
    border-radius: 18px;
    background: rgba(168,36,43,.035);
    border: 1px solid rgba(168,36,43,.09);
}

.size-helper {
    display: grid;
    gap: 1px;
    padding: 0 2px 5px;
    border-bottom: 1px solid rgba(168,36,43,.10);
}

.size-helper span {
    color: var(--red);
    font-size: 10px;
    font-weight: 950;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.size-helper small {
    color: var(--muted);
    font-size: 10px;
    font-weight: 800;
}

.price-choice {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 7px 8px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid rgba(91,58,46,.10);
}

.price-choice span {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    color: var(--coffee);
    font-size: 12px;
    font-weight: 900;
}

.price-choice b {
    font-weight: 950;
}

.price-choice small {
    display: inline-flex;
    margin-left: 0;
    padding: 2px 6px;
    border-radius: 999px;
    color: var(--muted);
    background: rgba(91,58,46,.06);
    font-size: 10px;
    font-weight: 900;
}

.price-choice strong {
    color: var(--red);
    font-size: 16px;
    font-weight: 950;
    line-height: 1;
    letter-spacing: -.03em;
}

.price-choice.size-medium {
    border-left: 3px solid #d7b078;
}

.price-choice.size-large {
    border-left: 3px solid var(--red);
    background: linear-gradient(135deg, #fff, #fff6f4);
}

.price-choice.size-large b {
    color: var(--red);
}

.empty-state {
    margin-top: 14px;
    padding: 24px;
    border-radius: 28px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.book-footer {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-top: 18px;
    padding: 18px 4px 4px;
    color: var(--coffee);
}

.book-footer img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.book-footer div {
    display: grid;
    gap: 3px;
}

.book-footer strong {
    color: var(--red);
    font-size: 16px;
}

.book-footer span,
.book-footer small {
    color: var(--muted);
    font-size: 12px;
}

.floating-index {
    position: fixed;
    left: 50%;
    bottom: max(10px, env(safe-area-inset-bottom));
    transform: translateX(-50%);
    z-index: 50;
    width: min(680px, calc(100% - 18px));
    display: flex;
    gap: 7px;
    overflow-x: auto;
    padding: 8px;
    border-radius: 999px;
    background: rgba(255,255,255,.84);
    backdrop-filter: blur(18px);
    border: 1px solid var(--line);
    box-shadow: 0 18px 42px rgba(78,45,31,.15);
    scrollbar-width: none;
}

.floating-index::-webkit-scrollbar { display: none; }

.floating-index a {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 9px 11px;
    border-radius: 999px;
    text-decoration: none;
    color: var(--coffee);
    background: rgba(168,36,43,.06);
    font-size: 12px;
    font-weight: 900;
}

.floating-index a.active {
    color: #fff;
    background: linear-gradient(135deg, var(--red), #cf3b40);
}

@media (max-width: 760px) {
    .menu-book {
        padding: 9px 9px 88px;
    }

    .book-cover {
        min-height: min(590px, calc(100vh - 18px));
        border-radius: 30px;
        padding: 17px;
    }

    .book-cover::before {
        inset: 10px;
        border-radius: 24px;
    }

    .cover-logo {
        width: 88px;
        height: 88px;
        border-radius: 27px;
    }

    .cover-logo img {
        width: 72px;
        height: 72px;
    }

    .cover-title h1 {
        font-size: clamp(46px, 18vw, 88px);
    }

    .cover-title span {
        margin-top: 13px;
        font-size: 15px;
    }


    .start-question {
        padding: 12px;
        border-radius: 24px;
    }

    .start-category-grid {
        display: flex;
        overflow-x: auto;
        max-height: none;
        padding-bottom: 2px;
        scrollbar-width: none;
    }

    .start-category-grid::-webkit-scrollbar {
        display: none;
    }

    .start-category-card {
        flex: 0 0 142px;
        min-height: 78px;
    }

    .cover-meta {
        gap: 7px;
    }

    .cover-meta div {
        padding: 11px;
        border-radius: 19px;
    }

    .cover-meta strong {
        font-size: 22px;
    }

    .quick-panel {
        border-radius: 24px;
        padding: 8px;
    }

    .catalog-page {
        border-radius: 28px;
        padding: 14px;
    }

    .page-index {
        font-size: 58px;
        right: 12px;
        top: 10px;
    }

    .line-product,
    .line-product.has-photo {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 14px 0;
    }

    .line-product.has-photo {
        grid-template-columns: 56px 1fr;
    }

    .line-product.has-photo .line-prices,
    .line-product.has-photo .line-addons {
        grid-column: 1 / -1;
    }

    .line-photo {
        width: 56px;
        height: 56px;
        border-radius: 18px;
    }

    .line-title h3 {
        font-size: 15px;
    }

    .line-main p {
        font-size: 11px;
        -webkit-line-clamp: 1;
    }

    .price-choice {
        padding: 6px 7px;
    }

    .price-choice strong {
        font-size: 15px;
    }

    .size-helper {
        padding-bottom: 4px;
    }

    .line-addons {
        display: none;
    }
}

@media (max-width: 370px) {
    .cover-meta {
        grid-template-columns: 1fr;
    }

    .line-product.has-photo {
        grid-template-columns: 1fr;
    }
}

/* v14: geliştirilmiş kategori karşılama ekranı */
.category-home {
    min-height: min(760px, calc(100svh - 24px));
    display: grid;
    align-content: center;
    padding: 18px;
    border-radius: 38px;
    background:
        radial-gradient(circle at top right, rgba(168,36,43,.10), transparent 18rem),
        radial-gradient(circle at left bottom, rgba(248,228,200,.52), transparent 20rem),
        linear-gradient(135deg, rgba(255,255,255,.98), rgba(255,246,236,.96));
    border: 1px solid rgba(168,36,43,.10);
    box-shadow: var(--shadow);
    overflow: hidden;
    position: relative;
}

.category-home::before {
    content: "";
    position: absolute;
    inset: 12px;
    border-radius: 30px;
    border: 1px solid rgba(168,36,43,.06);
    pointer-events: none;
}

.category-home::after {
    content: "";
    position: absolute;
    right: -70px;
    top: -70px;
    width: 210px;
    height: 210px;
    border-radius: 999px;
    background: rgba(168,36,43,.05);
    border: 1px solid rgba(168,36,43,.06);
}

.category-home.is-hidden {
    display: none;
}

.category-home-shell {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 16px;
}

.home-hero-panel {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 12px;
    align-items: stretch;
}

.home-brand {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    padding: 18px;
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(255,255,255,.90), rgba(255,244,234,.88));
    border: 1px solid var(--line);
    box-shadow: var(--soft-shadow);
}

.home-brand-mark {
    width: 102px;
    height: 102px;
    display: grid;
    place-items: center;
    border-radius: 30px;
    background: rgba(255,255,255,.84);
    border: 1px solid rgba(168,36,43,.08);
    box-shadow: 0 12px 28px rgba(168,36,43,.08);
}

.home-brand-mark img {
    width: 82px;
    height: 82px;
    object-fit: contain;
    filter: drop-shadow(0 10px 18px rgba(168,36,43,.10));
}

.home-brand-copy {
    display: grid;
    gap: 6px;
}

.home-eyebrow {
    color: var(--red);
    font-size: 18px;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
    line-height: 1;
}
.home-brand-copy strong {
    color: var(--ink);
    font-size: clamp(30px, 7vw, 56px);
    line-height: .94;
    letter-spacing: -.06em;
}

.home-brand-copy p {
    margin: 0;
    max-width: 560px;
    color: var(--coffee);
    font-size: 15px;
    line-height: 1.45;
    font-weight: 650;
}

.home-overview {
    display: grid;
    gap: 10px;
}

.home-overview-card {
    display: grid;
    align-content: center;
    gap: 4px;
    min-height: 92px;
    padding: 15px 16px;
    border-radius: 24px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--soft-shadow);
}

.home-overview-card small {
    color: var(--muted);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.home-overview-card strong {
    color: var(--red);
    font-size: clamp(18px, 4vw, 28px);
    line-height: 1.05;
    letter-spacing: -.03em;
}

.home-overview-note strong {
    color: var(--coffee);
    font-size: 16px;
}

.home-category-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: end;
    padding: 4px 4px 0;
}

.home-category-head span {
    display: block;
    margin-bottom: 4px;
    color: var(--red);
    font-size: 11px;
    font-weight: 950;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.home-category-head h2 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(26px, 6vw, 42px);
    line-height: .95;
    letter-spacing: -.05em;
}

.home-category-head p {
    margin: 0;
    max-width: 320px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
    text-align: right;
}

.home-category-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.home-category-card {
    min-height: 168px;
    display: grid;
    gap: 12px;
    padding: 16px;
    border-radius: 28px;
    text-decoration: none;
    color: var(--coffee);
    background:
        linear-gradient(135deg, rgba(255,255,255,.98), rgba(255,245,236,.95));
    border: 1px solid var(--line);
    box-shadow: var(--soft-shadow);
    transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease, background .24s ease;
}

.home-category-card:hover,
.home-category-card:focus {
    transform: translateY(-4px);
    border-color: var(--line-red);
    box-shadow: var(--shadow);
    background: linear-gradient(135deg, #fff, #fff1e6);
}

.home-card-top,
.home-card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.home-card-top em {
    color: var(--red);
    font-style: normal;
    font-size: 10px;
    font-weight: 950;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.home-card-arrow {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, var(--red), #cf3b40);
    font-size: 17px;
    font-weight: 900;
}

.home-card-middle {
    display: grid;
    gap: 5px;
}

.home-card-middle strong {
    color: var(--ink);
    font-size: clamp(20px, 4vw, 28px);
    line-height: 1;
    letter-spacing: -.035em;
}

.home-card-middle p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
}

.home-card-bottom small {
    color: var(--muted);
    font-size: 12px;
    font-weight: 850;
}

.home-card-bottom b {
    color: var(--red);
    font-size: 12px;
    font-weight: 950;
}

.menu-view {
    display: none;
}

.menu-view.is-open {
    display: block;
    animation: menuOpen .28s ease both;
}

@keyframes menuOpen {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.selected-menu-bar {
    position: sticky;
    top: 0;
    z-index: 45;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 24px;
    background: rgba(255,250,244,.92);
    backdrop-filter: blur(18px);
    border: 1px solid var(--line);
    box-shadow: var(--soft-shadow);
}

.back-to-categories {
    min-height: 40px;
    padding: 9px 12px;
    border-radius: 999px;
    border: 0;
    color: #fff;
    background: linear-gradient(135deg, var(--red), #cf3b40);
    font: inherit;
    font-size: 12px;
    font-weight: 950;
    cursor: pointer;
}

.selected-category-title {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.selected-category-title span {
    color: var(--muted);
    font-size: 10px;
    letter-spacing: .13em;
    text-transform: uppercase;
    font-weight: 900;
}

.selected-category-title strong {
    color: var(--ink);
    font-size: 18px;
    line-height: 1;
    letter-spacing: -.035em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.selected-menu-bar img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.catalog-page {
    display: none;
}

.catalog-page.is-selected {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.catalog-page.no-results .product-lines::after {
    content: "Bu kategoride aradığınız ürün bulunamadı.";
    display: block;
    padding: 18px 2px 4px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 850;
}

.floating-index {
    display: none;
}

body.menu-open .floating-index {
    display: flex;
}

body:not(.menu-open) .floating-index {
    display: none;
}

.floating-index a[data-back-home] {
    color: #fff;
    background: linear-gradient(135deg, var(--red), #cf3b40);
}

body.menu-open .quick-panel {
    top: 72px;
}

@media (min-width: 900px) {
    .home-category-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .home-category-card {
        min-height: 180px;
    }
}

@media (max-width: 760px) {
    .category-home {
        min-height: calc(100svh - 18px);
        padding: 14px;
        border-radius: 30px;
        align-content: start;
    }

    .category-home::before {
        inset: 10px;
        border-radius: 22px;
    }

    .home-hero-panel {
        grid-template-columns: 1fr;
    }

    .home-brand {
        grid-template-columns: 1fr;
        justify-items: start;
        text-align: left;
        padding: 15px;
        border-radius: 24px;
    }

    .home-brand-mark {
        width: 78px;
        height: 78px;
        border-radius: 24px;
    }

    .home-brand-mark img {
        width: 62px;
        height: 62px;
    }

    .home-brand-copy strong {
        font-size: clamp(30px, 10vw, 42px);
    }

    .home-brand-copy p {
        font-size: 14px;
    }

    .home-overview {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .home-overview-card {
        min-height: 78px;
        padding: 12px;
        border-radius: 18px;
    }

    .home-overview-card strong {
        font-size: 18px;
    }

    .home-overview-note strong {
        font-size: 13px;
    }

    .home-category-head {
        display: grid;
        gap: 6px;
        align-items: start;
    }

    .home-category-head p {
        max-width: none;
        text-align: left;
        font-size: 12px;
    }

    .home-category-list {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .home-category-card {
        min-height: 126px;
        border-radius: 22px;
        padding: 14px;
    }

    .home-card-middle strong {
        font-size: 20px;
    }

    .selected-menu-bar {
        grid-template-columns: auto 1fr;
        border-radius: 22px;
    }

    .selected-menu-bar img {
        display: none;
    }

    .back-to-categories {
        padding: 8px 10px;
        font-size: 11px;
    }

    .selected-category-title strong {
        font-size: 16px;
    }

    body.menu-open .quick-panel {
        top: 62px;
    }
}

@media (max-width: 520px) {
    .home-overview {
        grid-template-columns: 1fr;
    }
}
