/* ==========================================================================
   Paleta i tipografija v14 (20.08.2026): crno mastilo, cinober crvena, staro zlato.
   Fontovi se self-hostuju (SIL OFL): Libre Baskerville za naslove, Libre Franklin
   za tekst i navigaciju. Oba su pravljena za ekran, pa su čitljiva i na 12px,
   za razliku od didona koji je probao prethodni krug.
   ========================================================================== */
@font-face {
    font-family: 'Libre Baskerville';
    src: url('/fonts/librum/LibreBaskerville-400-latin.woff2') format('woff2');
    font-weight: 400; font-style: normal; font-display: swap;
    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: 'Libre Baskerville';
    src: url('/fonts/librum/LibreBaskerville-700-latin.woff2') format('woff2');
    font-weight: 700; font-style: normal; font-display: swap;
    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: 'Libre Baskerville';
    src: url('/fonts/librum/LibreBaskerville-400Italic-latin.woff2') format('woff2');
    font-weight: 400; font-style: italic; font-display: swap;
    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: 'Libre Franklin';
    src: url('/fonts/librum/LibreFranklin-400-latin.woff2') format('woff2');
    font-weight: 100 900; font-style: normal; font-display: swap;
    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: 'Libre Baskerville';
    src: url('/fonts/librum/LibreBaskerville-400-latin-ext.woff2') format('woff2');
    font-weight: 400; font-style: normal; font-display: swap;
    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: 'Libre Baskerville';
    src: url('/fonts/librum/LibreBaskerville-700-latin-ext.woff2') format('woff2');
    font-weight: 700; font-style: normal; font-display: swap;
    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: 'Libre Baskerville';
    src: url('/fonts/librum/LibreBaskerville-400Italic-latin-ext.woff2') format('woff2');
    font-weight: 400; font-style: italic; font-display: swap;
    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: 'Libre Franklin';
    src: url('/fonts/librum/LibreFranklin-400-latin-ext.woff2') format('woff2');
    font-weight: 100 900; font-style: normal; font-display: swap;
    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;
}

/* ==========================================================================
   Librum Market, redizajn početne: moderno minimalistički, editorial
   Kostur: Botble; vizuelno: 100% ovaj sloj (bez Farmart CSS-a)
   ========================================================================== */

:root {
    --lb-bg: #FCFAF5;
    --lb-surface: #FFFFFF;
    --lb-ink: #15130F;
    --lb-muted: #56504A;
    --lb-petrol: #D33B22;
    --lb-petrol-dark: #A82A16;
    --lb-petrol-tint: #FBEAE4;
    --lb-line: #E8E5DE;
    --lb-radius: 20px;
    --lb-radius-sm: 12px;
    --lb-pill: 999px;
    --lb-shadow: 0 10px 30px rgba(24, 21, 17, .08);
    --lb-shadow-lg: 0 24px 60px rgba(24, 21, 17, .14);
    --lb-serif: 'Libre Baskerville', Georgia, serif;
    --lb-sans: 'Libre Franklin', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--lb-bg);
    color: var(--lb-ink);
    font-family: var(--lb-sans);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.lb-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Zajedničko --- */
.lb-overline {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--lb-petrol);
    margin-bottom: 16px;
}

.lb-h2 {
    font-family: var(--lb-serif);
    font-size: clamp(28px, 3.4vw, 38px);
    font-weight: 600;
    line-height: 1.15;
    margin: 0;
    letter-spacing: .2px;
}

.lb-sub {
    color: var(--lb-muted);
    font-size: 16px;
    max-width: 52ch;
    margin: 12px 0 0;
}

.lb-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    border-radius: var(--lb-pill);
    background: var(--lb-petrol);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    border: 1px solid var(--lb-petrol);
    transition: all .22s ease;
    white-space: nowrap;
}

.lb-btn:hover {
    background: var(--lb-petrol-dark);
    border-color: var(--lb-petrol-dark);
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(211, 59, 34, .28);
}

.lb-btn--ghost {
    background: transparent;
    color: var(--lb-ink);
    border-color: var(--lb-line);
}

.lb-btn--ghost:hover {
    background: var(--lb-surface);
    color: var(--lb-petrol);
    border-color: var(--lb-petrol);
    box-shadow: none;
}

.lb-link {
    color: var(--lb-petrol);
    font-weight: 600;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap .2s ease;
}

.lb-link:hover { gap: 10px; }

.lb-section { padding: 96px 0; }

.lb-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 44px;
}

/* ==========================================================================
   Header
   ========================================================================== */
.lb-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: transparent;
    transition: background .25s ease, box-shadow .25s ease;
}

.lb-header.is-scrolled {
    background: rgba(252, 250, 245, .86);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: 0 1px 0 var(--lb-line);
}

.lb-header__inner {
    display: flex;
    align-items: center;
    gap: 32px;
    height: 76px;
}

.lb-logo {
    font-family: var(--lb-serif);
    font-size: 26px;
    font-weight: 700;
    letter-spacing: .3px;
    line-height: 1;
    flex-shrink: 0;
}

.lb-logo span {
    display: block;
    font-family: var(--lb-sans);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .34em;
    text-transform: uppercase;
    color: var(--lb-petrol);
    margin-top: 3px;
}

.lb-nav {
    display: flex;
    gap: 28px;
    margin: 0 auto;
}

.lb-nav a {
    font-size: 15px;
    font-weight: 500;
    color: var(--lb-muted);
    transition: color .18s ease;
    padding: 6px 0;
}

.lb-nav a:hover { color: var(--lb-ink); }

.lb-header__actions {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-shrink: 0;
}

.lb-search {
    display: flex;
    align-items: center;
    background: var(--lb-surface);
    border: 1px solid var(--lb-line);
    border-radius: var(--lb-pill);
    padding: 0 6px 0 18px;
    height: 44px;
    width: 230px;
    transition: width .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.lb-search:focus-within {
    width: 300px;
    border-color: var(--lb-petrol);
    box-shadow: 0 0 0 4px rgba(211, 59, 34, .08);
}

.lb-search input {
    border: 0;
    outline: 0;
    background: transparent;
    font-family: inherit;
    font-size: 14px;
    width: 100%;
    color: var(--lb-ink);
}

.lb-search input::placeholder { color: var(--lb-muted); }

.lb-search button {
    border: 0;
    background: var(--lb-petrol);
    color: #fff;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    transition: background .2s ease;
}

.lb-search button:hover { background: var(--lb-petrol-dark); }

.lb-icon-link {
    position: relative;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: var(--lb-ink);
    transition: background .2s ease;
}

.lb-icon-link:hover { background: var(--lb-petrol-tint); }

.lb-icon-link .lb-count {
    position: absolute;
    top: 1px;
    right: 1px;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    border-radius: var(--lb-pill);
    background: var(--lb-petrol);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    display: grid;
    place-items: center;
    line-height: 1;
}

.lb-login {
    font-size: 15px;
    font-weight: 600;
    color: var(--lb-ink);
    padding: 10px 20px;
    border: 1px solid var(--lb-line);
    border-radius: var(--lb-pill);
    transition: all .2s ease;
    white-space: nowrap;
}

.lb-login:hover { border-color: var(--lb-petrol); color: var(--lb-petrol); }

.lb-burger {
    display: none;
    border: 0;
    background: transparent;
    width: 42px;
    height: 42px;
    padding: 9px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}

.lb-burger span {
    display: block;
    height: 2px;
    border-radius: 2px;
    background: var(--lb-ink);
    transition: transform .2s ease, opacity .2s ease;
}

.lb-mobilemenu {
    display: none;
    background: var(--lb-bg);
    border-bottom: 1px solid var(--lb-line);
    padding: 8px 24px 24px;
}

.lb-mobilemenu.is-open { display: block; }

.lb-mobilemenu a {
    display: block;
    padding: 13px 0;
    font-size: 17px;
    font-weight: 500;
    border-bottom: 1px solid var(--lb-line);
}

.lb-mobilemenu a:last-child { border-bottom: 0; }

/* ==========================================================================
   Hero
   ========================================================================== */
.lb-hero {
    position: relative;
    overflow: hidden;
    padding: 64px 0 90px;
}

.lb-hero::before {
    content: '';
    position: absolute;
    top: -220px;
    right: -180px;
    width: 640px;
    height: 640px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(211, 59, 34, .10) 0%, rgba(211, 59, 34, 0) 68%);
    pointer-events: none;
}

.lb-hero__grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 48px;
}

.lb-hero h1 {
    font-family: var(--lb-serif);
    font-size: clamp(40px, 5.4vw, 64px);
    font-weight: 600;
    line-height: 1.07;
    letter-spacing: .2px;
    margin: 0 0 22px;
}

.lb-hero h1 em {
    font-style: italic;
    color: var(--lb-petrol);
}

.lb-hero p {
    font-size: 18px;
    color: var(--lb-muted);
    max-width: 46ch;
    margin: 0 0 34px;
}

.lb-hero__cta {
    display: flex;
    align-items: center;
    gap: 26px;
    flex-wrap: wrap;
}

.lb-hero__meta {
    display: flex;
    gap: 22px;
    margin-top: 44px;
    font-size: 13.5px;
    color: var(--lb-muted);
    flex-wrap: wrap;
}

.lb-hero__meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.lb-hero__meta svg { color: var(--lb-petrol); flex-shrink: 0; }

/* Kompozicija korica */
.lb-hero__stack {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    min-height: 460px;
}

.lb-hero__stack .lb-cover {
    position: absolute;
    bottom: 30px;
    width: 210px;
    transition: transform .3s ease;
}

.lb-hero__stack .lb-cover:nth-child(1) {
    transform: translateX(-150px) rotate(-8deg);
    bottom: 16px;
    z-index: 1;
}

.lb-hero__stack .lb-cover:nth-child(2) {
    width: 250px;
    z-index: 3;
    bottom: 44px;
    box-shadow: var(--lb-shadow-lg);
}

.lb-hero__stack .lb-cover:nth-child(3) {
    transform: translateX(150px) rotate(8deg);
    bottom: 16px;
    z-index: 2;
}

.lb-hero__stack::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 78%;
    height: 26px;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(24, 21, 17, .16) 0%, rgba(24, 21, 17, 0) 70%);
}

/* ==========================================================================
   Generisana korica (dok ne stignu prave slike)
   ========================================================================== */
.lb-cover {
    aspect-ratio: 5 / 7.4;
    border-radius: 6px 10px 10px 6px;
    padding: 20px 18px;
    display: flex;
    flex-direction: column;
    color: #fff;
    box-shadow: var(--lb-shadow);
    position: relative;
    overflow: hidden;
}

.lb-cover::before {
    /* rikna */
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 12px;
    background: linear-gradient(90deg, rgba(0, 0, 0, .22), rgba(0, 0, 0, 0) 85%);
}

.lb-cover::after {
    /* sjaj papira */
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(158deg, rgba(255, 255, 255, .13) 0%, rgba(255, 255, 255, 0) 42%);
    pointer-events: none;
}

.lb-cover--light { color: var(--lb-ink); }

.lb-cover__pub {
    font-size: 8.5px;
    font-weight: 700;
    letter-spacing: .3em;
    text-transform: uppercase;
    opacity: .72;
    padding-left: 10px;
}

.lb-cover__title {
    font-family: var(--lb-serif);
    font-weight: 600;
    font-size: clamp(15px, 1.55vw, 21px);
    line-height: 1.2;
    margin: auto 0;
    padding-left: 10px;
    letter-spacing: .2px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lb-cover__author {
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
    opacity: .82;
    padding-left: 10px;
}

.lb-cover__rule {
    width: 28px;
    height: 2px;
    background: currentColor;
    opacity: .5;
    margin: 0 0 10px 10px;
}

/* ==========================================================================
   Polica (izdvojene knjige)
   ========================================================================== */
.lb-shelf-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lb-arrow {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid var(--lb-line);
    background: var(--lb-surface);
    color: var(--lb-ink);
    display: grid;
    place-items: center;
    transition: all .2s ease;
}

.lb-arrow:hover {
    border-color: var(--lb-petrol);
    color: var(--lb-petrol);
    background: var(--lb-petrol-tint);
}

.lb-shelf {
    display: flex;
    gap: 28px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 8px 4px 28px;
    scrollbar-width: none;
}

.lb-shelf::-webkit-scrollbar { display: none; }

.lb-book {
    flex: 0 0 196px;
    scroll-snap-align: start;
}

.lb-book__coverwrap {
    position: relative;
    border-radius: 6px 10px 10px 6px;
    transition: transform .28s ease;
}

.lb-book:hover .lb-book__coverwrap {
    transform: translateY(-8px);
}

.lb-book:hover .lb-cover { box-shadow: var(--lb-shadow-lg); }

.lb-book__add {
    position: absolute;
    left: 50%;
    bottom: 14px;
    transform: translate(-50%, 8px);
    opacity: 0;
    pointer-events: none;
    background: rgba(255, 255, 255, .96);
    color: var(--lb-ink);
    border: 0;
    border-radius: var(--lb-pill);
    padding: 9px 18px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 6px 18px rgba(24, 21, 17, .18);
    transition: all .22s ease;
    white-space: nowrap;
    z-index: 4;
}

.lb-book:hover .lb-book__add {
    opacity: 1;
    transform: translate(-50%, 0);
    pointer-events: auto;
}

.lb-book__add:hover {
    background: var(--lb-petrol);
    color: #fff;
}

.lb-book__info { padding: 16px 2px 0; }

.lb-book__title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    margin: 0 0 3px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lb-book__title a:hover { color: var(--lb-petrol); }

.lb-book__author {
    font-size: 13px;
    color: var(--lb-muted);
    margin: 0 0 8px;
}

.lb-book__price {
    font-size: 14.5px;
    font-weight: 700;
    margin: 0;
}

/* ==========================================================================
   Žanrovi
   ========================================================================== */
.lb-genres { text-align: center; }

.lb-genres .lb-sub { margin-inline: auto; }

.lb-genres__cloud {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 44px;
}

.lb-chip {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    padding: 13px 26px;
    border: 1px solid var(--lb-line);
    border-radius: var(--lb-pill);
    background: var(--lb-surface);
    font-size: 15.5px;
    font-weight: 500;
    transition: all .2s ease;
}

.lb-chip small {
    font-size: 12.5px;
    color: var(--lb-muted);
    font-weight: 500;
    transition: color .2s ease;
}

.lb-chip:hover {
    border-color: var(--lb-petrol);
    color: var(--lb-petrol);
    background: var(--lb-petrol-tint);
    transform: translateY(-2px);
}

.lb-chip--all {
    background: var(--lb-petrol);
    border-color: var(--lb-petrol);
    color: #fff;
    font-weight: 600;
}

.lb-chip--all:hover {
    background: var(--lb-petrol-dark);
    color: #fff;
    transform: translateY(-2px);
}

/* ==========================================================================
   Izdavač u fokusu
   ========================================================================== */
.lb-publisher__panel {
    background: var(--lb-petrol-tint);
    border-radius: 28px;
    padding: 72px 64px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 56px;
    overflow: hidden;
    position: relative;
}

.lb-publisher__panel::before {
    content: '';
    position: absolute;
    bottom: -160px;
    left: -120px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(211, 59, 34, .08) 0%, rgba(211, 59, 34, 0) 70%);
}

.lb-publisher__name {
    font-family: var(--lb-serif);
    font-size: clamp(32px, 3.6vw, 44px);
    font-weight: 600;
    line-height: 1.1;
    margin: 0 0 16px;
}

.lb-publisher__desc {
    color: var(--lb-muted);
    margin: 0 0 30px;
    max-width: 44ch;
}

.lb-publisher__books {
    display: flex;
    justify-content: center;
    gap: 0;
}

.lb-publisher__books .lb-cover {
    width: 128px;
    box-shadow: 0 14px 34px rgba(24, 21, 17, .16);
}

.lb-publisher__books a { transition: transform .25s ease; z-index: 1; }
.lb-publisher__books a:nth-child(1) { transform: rotate(-7deg) translateX(18px) translateY(8px); }
.lb-publisher__books a:nth-child(2) { transform: rotate(-2deg) translateX(6px); z-index: 2; }
.lb-publisher__books a:nth-child(3) { transform: rotate(3deg) translateX(-6px); z-index: 3; }
.lb-publisher__books a:nth-child(4) { transform: rotate(8deg) translateX(-18px) translateY(10px); }
.lb-publisher__books a:hover { transform: translateY(-10px); z-index: 5; }

/* ==========================================================================
   Iz bloga
   ========================================================================== */
.lb-journal__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.lb-post {
    background: var(--lb-surface);
    border: 1px solid var(--lb-line);
    border-radius: var(--lb-radius);
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.lb-post:hover {
    transform: translateY(-6px);
    box-shadow: var(--lb-shadow);
    border-color: transparent;
}

.lb-post__date {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--lb-muted);
    margin: 0 0 14px;
}

.lb-post__title {
    font-family: var(--lb-serif);
    font-size: 22px;
    font-weight: 600;
    line-height: 1.28;
    margin: 0 0 12px;
    letter-spacing: .2px;
}

.lb-post:hover .lb-post__title { color: var(--lb-petrol); }

.lb-post__excerpt {
    font-size: 15px;
    color: var(--lb-muted);
    margin: 0 0 24px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lb-post .lb-link { margin-top: auto; font-size: 14px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.lb-footer {
    background: #F2F0EA;
    border-top: 1px solid var(--lb-line);
    margin-top: 40px;
}

.lb-footer__top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 48px;
    padding: 72px 0 56px;
}

.lb-footer__brand p {
    color: var(--lb-muted);
    font-size: 14.5px;
    max-width: 34ch;
    margin: 14px 0 26px;
}

.lb-newsletter {
    display: flex;
    background: var(--lb-surface);
    border: 1px solid var(--lb-line);
    border-radius: var(--lb-pill);
    padding: 5px;
    max-width: 360px;
}

.lb-newsletter input {
    border: 0;
    outline: 0;
    background: transparent;
    padding: 0 16px;
    font-family: inherit;
    font-size: 14px;
    width: 100%;
    color: var(--lb-ink);
}

.lb-newsletter button {
    border: 0;
    background: var(--lb-petrol);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    padding: 11px 22px;
    border-radius: var(--lb-pill);
    flex-shrink: 0;
    transition: background .2s ease;
}

.lb-newsletter button:hover { background: var(--lb-petrol-dark); }

.lb-footer h4 {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin: 0 0 20px;
}

.lb-footer__col a {
    display: block;
    color: var(--lb-muted);
    font-size: 14.5px;
    padding: 5px 0;
    transition: color .18s ease;
}

.lb-footer__col a:hover { color: var(--lb-petrol); }

.lb-footer__bottom {
    border-top: 1px solid var(--lb-line);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-size: 13.5px;
    color: var(--lb-muted);
    flex-wrap: wrap;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1023px) {
    .lb-nav, .lb-search, .lb-login { display: none; }
    .lb-burger { display: flex; }
    .lb-header { background: rgba(252, 250, 245, .92); }

    .lb-section { padding: 64px 0; }

    .lb-hero { padding: 32px 0 64px; }

    .lb-hero__grid {
        grid-template-columns: 1fr;
        gap: 24px;
        text-align: center;
    }

    .lb-hero p, .lb-hero .lb-sub { margin-inline: auto; }
    .lb-hero__cta, .lb-hero__meta { justify-content: center; }

    .lb-hero__stack {
        min-height: 380px;
        order: 2;
        margin-top: 24px;
    }

    .lb-hero__stack .lb-cover { width: 170px; }
    .lb-hero__stack .lb-cover:nth-child(2) { width: 205px; }
    .lb-hero__stack .lb-cover:nth-child(1) { transform: translateX(-115px) rotate(-8deg); }
    .lb-hero__stack .lb-cover:nth-child(3) { transform: translateX(115px) rotate(8deg); }

    .lb-publisher__panel {
        grid-template-columns: 1fr;
        padding: 48px 32px;
        gap: 44px;
        text-align: center;
    }

    .lb-publisher__desc { margin-inline: auto; }

    .lb-journal__grid { grid-template-columns: 1fr; }

    .lb-footer__top {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        padding: 56px 0 40px;
    }

    .lb-footer__brand { grid-column: 1 / -1; }
    .lb-newsletter { max-width: 420px; }
}

@media (max-width: 599px) {
    .lb-container { padding: 0 18px; }

    .lb-section-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        margin-bottom: 32px;
    }

    .lb-shelf-controls { display: none; }

    .lb-book { flex-basis: 158px; }
    .lb-shelf { gap: 18px; }

    .lb-hero__stack .lb-cover { width: 132px; }
    .lb-hero__stack .lb-cover:nth-child(2) { width: 162px; }
    .lb-hero__stack .lb-cover:nth-child(1) { transform: translateX(-86px) rotate(-8deg); }
    .lb-hero__stack .lb-cover:nth-child(3) { transform: translateX(86px) rotate(8deg); }
    .lb-hero__stack { min-height: 300px; }

    .lb-publisher__books .lb-cover { width: 96px; }

    .lb-footer__top { grid-template-columns: 1fr; }
    .lb-footer__bottom { justify-content: center; text-align: center; }
}

/* ==========================================================================
   v2: Delfi + Laguna sloj (header 3 nivoa, mega, USP, tabovi, kartice, pokloni)
   ========================================================================== */

/* --- Header (override: solidan, statičan, tri nivoa) --- */
.lb-header { position: relative; background: var(--lb-surface); z-index: 200; }
.lb-header.is-scrolled { background: var(--lb-surface); box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }

.lb-topbar { background: var(--lb-petrol-dark); color: rgba(255,255,255,.92); font-size: 12.5px; }
.lb-topbar__inner { display: flex; align-items: center; justify-content: space-between; height: 38px; }
.lb-topbar__promo { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.lb-topbar__promo svg { opacity: .85; }
.lb-topbar__links { display: flex; align-items: center; gap: 22px; }
.lb-topbar__links a { color: rgba(255,255,255,.82); font-weight: 500; transition: color .18s ease; }
.lb-topbar__links a:hover { color: #fff; }

.lb-mainbar { background: var(--lb-surface); border-bottom: 1px solid var(--lb-line); }
.lb-mainbar__inner { display: flex; align-items: center; gap: 32px; height: 84px; }
.lb-mainbar .lb-logo { flex-shrink: 0; }
.lb-mainbar .lb-logo span { display: inline; margin-left: 6px; }

.lb-mainbar .lb-search {
    flex: 1; max-width: 560px; width: auto; height: 50px;
    border-radius: var(--lb-pill); padding: 0 6px 0 22px;
}
.lb-mainbar .lb-search:focus-within { width: auto; }
.lb-mainbar .lb-search input { font-size: 15px; }
.lb-mainbar .lb-search button {
    width: auto; height: 40px; border-radius: var(--lb-pill);
    padding: 0 22px; gap: 8px; display: inline-flex; align-items: center;
    font-size: 14px; font-weight: 600;
}
.lb-mainbar .lb-search button span { display: inline; }

.lb-mainbar__actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.lb-iconbtn {
    position: relative; display: grid; place-items: center;
    width: 46px; height: 46px; border-radius: 14px; color: var(--lb-ink);
    transition: background .2s ease, color .2s ease;
}
.lb-iconbtn:hover { background: var(--lb-petrol-tint); color: var(--lb-petrol); }
.lb-iconbtn .lb-count {
    position: absolute; top: 4px; right: 4px; min-width: 18px; height: 18px;
    padding: 0 5px; border-radius: var(--lb-pill); background: var(--lb-petrol);
    color: #fff; font-size: 10.5px; font-weight: 700; display: grid; place-items: center; line-height: 1;
}

/* --- Category navbar + mega --- */
.lb-navbar { background: var(--lb-surface); border-bottom: 1px solid var(--lb-line); }
.lb-navbar__inner { display: flex; align-items: stretch; gap: 4px; height: 52px; }
.lb-nav-link {
    display: inline-flex; align-items: center; gap: 8px; padding: 0 18px;
    font-size: 14.5px; font-weight: 500; color: var(--lb-muted);
    border-bottom: 2px solid transparent; transition: color .18s ease, border-color .18s ease;
}
.lb-nav-link:hover { color: var(--lb-ink); border-bottom-color: var(--lb-petrol); }
.lb-nav-link--strong { color: var(--lb-ink); font-weight: 600; }
.lb-nav-link--accent { color: var(--lb-petrol); font-weight: 600; }
.lb-nav-link--muted { margin-left: auto; }

.lb-nav-item--mega { position: relative; display: flex; }
.lb-mega {
    position: absolute; top: 100%; left: 0; min-width: 640px;
    background: var(--lb-surface); border: 1px solid var(--lb-line);
    border-radius: 0 0 var(--lb-radius-sm) var(--lb-radius-sm);
    box-shadow: var(--lb-shadow); padding: 22px;
    opacity: 0; visibility: hidden; transform: translateY(6px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s; z-index: 50;
}
.lb-nav-item--mega:hover .lb-mega { opacity: 1; visibility: visible; transform: translateY(0); }
.lb-mega__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px 10px; }
.lb-mega__link {
    display: flex; align-items: baseline; justify-content: space-between;
    padding: 11px 14px; border-radius: 10px; font-size: 14.5px; font-weight: 500;
    color: var(--lb-ink); transition: background .16s ease, color .16s ease;
}
.lb-mega__link:hover { background: var(--lb-petrol-tint); color: var(--lb-petrol); }
.lb-mega__link small { color: var(--lb-muted); font-size: 12px; }

/* --- USP traka --- */
.lb-usp { border-bottom: 1px solid var(--lb-line); background: var(--lb-surface); }
.lb-usp__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 26px 0; }
.lb-usp__item { display: flex; align-items: center; gap: 14px; padding: 0 8px; }
.lb-usp__item svg { width: 30px; height: 30px; color: var(--lb-petrol); flex-shrink: 0; }
.lb-usp__item strong { display: block; font-size: 14.5px; font-weight: 600; }
.lb-usp__item span { display: block; font-size: 13px; color: var(--lb-muted); }
.lb-usp__item + .lb-usp__item { border-left: 1px solid var(--lb-line); }

/* --- Izlog: tabovi (čist CSS) --- */
.lb-tabs__radio { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.lb-tabs__head {
    display: flex; align-items: center; justify-content: space-between;
    gap: 20px; margin-bottom: 40px; border-bottom: 1px solid var(--lb-line);
}
.lb-tabs__nav { display: flex; gap: 6px; flex-wrap: wrap; }
.lb-tabs__nav label {
    padding: 0 6px 18px; font-family: var(--lb-serif); font-size: clamp(20px, 2.4vw, 27px);
    font-weight: 600; color: var(--lb-muted); cursor: pointer; position: relative;
    border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color .18s ease;
    margin-right: 22px;
}
.lb-tabs__nav label:hover { color: var(--lb-ink); }
.lb-tabs__all { padding-bottom: 16px; }
.lb-tabs__panel { display: none; }

#izlog-best:checked ~ .lb-tabs__head label[for="izlog-best"],
#izlog-new:checked ~ .lb-tabs__head label[for="izlog-new"],
#izlog-sale:checked ~ .lb-tabs__head label[for="izlog-sale"] {
    color: var(--lb-ink); border-bottom-color: var(--lb-petrol);
}
#izlog-best:checked ~ .lb-tabs__panel[data-panel="best"],
#izlog-new:checked ~ .lb-tabs__panel[data-panel="new"],
#izlog-sale:checked ~ .lb-tabs__panel[data-panel="sale"] { display: block; }

/* --- Grid + kartica proizvoda (Delfi) --- */
.lb-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 34px 24px; }
.lb-empty { color: var(--lb-muted); padding: 20px 0; }

.lb-card { display: flex; flex-direction: column; }
.lb-card__media { position: relative; border-radius: 6px 10px 10px 6px; }
.lb-card__coverlink { display: block; transition: transform .28s ease; }
.lb-card:hover .lb-card__coverlink { transform: translateY(-6px); }
.lb-card:hover .lb-cover { box-shadow: var(--lb-shadow-lg); }
.lb-card__media .lb-cover { width: 100%; }

.lb-card__badge {
    position: absolute; top: 10px; right: 10px; z-index: 5;
    padding: 5px 10px; border-radius: var(--lb-pill); font-size: 12px; font-weight: 700; color: #fff;
}
.lb-card__badge--sale { background: #B4553A; }
.lb-card__badge--new { background: var(--lb-petrol); }

.lb-card__actions {
    position: absolute; left: 10px; right: 10px; bottom: 12px; z-index: 6;
    display: flex; gap: 8px; opacity: 0; transform: translateY(8px);
    transition: opacity .22s ease, transform .22s ease; pointer-events: none;
}
.lb-card:hover .lb-card__actions { opacity: 1; transform: translateY(0); pointer-events: auto; }
.lb-card__cart {
    flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 7px;
    background: var(--lb-petrol); color: #fff; border-radius: var(--lb-pill);
    padding: 10px 12px; font-size: 13px; font-weight: 600;
    box-shadow: 0 6px 18px rgba(211,59,34,.32); transition: background .2s ease;
}
.lb-card__cart:hover { background: var(--lb-petrol-dark); }
.lb-card__wish {
    display: grid; place-items: center; width: 40px; flex-shrink: 0;
    background: rgba(255,255,255,.96); color: var(--lb-ink); border-radius: 50%;
    box-shadow: 0 6px 18px rgba(24,21,17,.18); transition: color .2s ease, background .2s ease;
}
.lb-card__wish:hover { color: #B4553A; }

.lb-card__body { padding: 16px 2px 0; }
.lb-card__cat { font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--lb-petrol); }
.lb-card__title {
    font-size: 15px; font-weight: 600; line-height: 1.32; margin: 7px 0 4px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.lb-card__title a:hover { color: var(--lb-petrol); }
.lb-card__author { font-size: 13px; color: var(--lb-muted); margin: 0 0 10px; }
.lb-card__price { display: flex; align-items: baseline; gap: 10px; }
.lb-card__now { font-size: 16px; font-weight: 700; color: var(--lb-ink); }
.lb-card__old { font-size: 13.5px; color: var(--lb-muted); text-decoration: line-through; }

/* --- Pokloni --- */
.lb-gifts { background: linear-gradient(180deg, var(--lb-surface), var(--lb-bg)); }

/* --- Newsletter band --- */
.lb-newsletter-band { padding: 0 0 40px; }
.lb-newsletter-band__inner {
    background: var(--lb-petrol); color: #fff; border-radius: 28px;
    padding: 56px 64px; display: grid; grid-template-columns: 1fr auto;
    align-items: center; gap: 40px;
}
.lb-newsletter-band .lb-h2 { color: #fff; }
.lb-newsletter-band p { color: rgba(255,255,255,.86); margin: 12px 0 0; max-width: 48ch; }
.lb-newsletter--band { max-width: 440px; width: 440px; background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.28); }
.lb-newsletter--band input { color: #fff; }
.lb-newsletter--band input::placeholder { color: rgba(255,255,255,.7); }
.lb-newsletter--band button { background: #fff; color: var(--lb-petrol-dark); }
.lb-newsletter--band button:hover { background: rgba(255,255,255,.9); }

body.lb-noscroll { overflow: hidden; }

/* --- Responsive v2 --- */
@media (max-width: 1023px) {
    .lb-navbar, .lb-topbar__links { display: none; }
    .lb-mainbar__inner { height: 68px; gap: 16px; }
    .lb-mainbar .lb-search { display: flex; height: 46px; max-width: none; }
    .lb-mainbar .lb-search button span { display: none; }
    .lb-mainbar .lb-search button { width: 40px; padding: 0; }
    .lb-iconbtn { width: 42px; height: 42px; }
    .lb-usp__grid { grid-template-columns: 1fr 1fr; gap: 20px 8px; }
    .lb-usp__item:nth-child(2) { border-left: 0; }
    .lb-grid { grid-template-columns: repeat(3, 1fr); gap: 28px 20px; }
    .lb-newsletter-band__inner { grid-template-columns: 1fr; padding: 40px 32px; gap: 24px; }
    .lb-newsletter--band { width: 100%; }
}

@media (max-width: 599px) {
    .lb-mainbar .lb-logo span { display: none; }
    .lb-usp__grid { grid-template-columns: 1fr; }
    .lb-usp__item + .lb-usp__item { border-left: 0; border-top: 1px solid var(--lb-line); padding-top: 16px; }
    .lb-usp__item { padding: 4px 8px; }
    .lb-grid { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
    .lb-tabs__head { flex-wrap: wrap; }
    .lb-tabs__nav label { font-size: 19px; margin-right: 14px; }
    .lb-tabs__all { display: none; }
    .lb-newsletter-band__inner { padding: 32px 22px; }
}
