/* ==========================================================================
   Kilostop Junior Shop · design 2026 (kj)
   Se încarcă după style.css și îl suprascrie. Toate regulile sunt sub body.kj.
   Notă: tema veche setează html { font-size: 62.5% } → 1rem = 10px. Aici folosim px.
   ========================================================================== */

body.kj {
    /* culori de brand: mărul din logo #d7173c, verdele din logo #61b32a, crem și negru ca pe kilostopjunior.ro.
       „forest” = aceeași nuanță ca verdele din logo, închisă ca textul alb să se citească. */
    --kj-bg: #faf6f0;
    --kj-white: oklch(1 0 0);
    --kj-surface: #f5ede0;
    --kj-line: #e6dbc9;
    --kj-ink: #1a1a1a;
    --kj-ink-2: #4a4a4a;
    --kj-forest: oklch(0.42 0.115 138);
    --kj-forest-2: oklch(0.33 0.09 138);
    --kj-forest-3: oklch(0.5 0.14 138);
    --kj-on-forest: #fffdf8;
    --kj-on-forest-2: oklch(0.92 0.04 130);
    --kj-leaf: #61b32a;
    --kj-apple-hover: #b31232;
    --kj-leaf-soft: oklch(0.945 0.05 132);
    --kj-cta: var(--kj-apple);
    --kj-cta-hover: var(--kj-apple-hover);
    --kj-on-cta: #ffffff;
    --kj-apple: #d7173c;

    /* tipografie */
    --kj-serif: 'Literata', Georgia, 'Times New Roman', serif;
    --kj-sans: 'Atkinson Hyperlegible Next', 'Segoe UI', system-ui, -apple-system, sans-serif;

    /* spațiere și forme */
    --kj-gutter: clamp(16px, 4vw, 40px);
    --kj-section: clamp(56px, 9vw, 112px);
    --kj-radius: 14px;
    --kj-radius-sm: 8px;
    --kj-shadow-book: 0 1px 1px oklch(0.2 0.02 60 / 0.08), 0 10px 24px -8px oklch(0.2 0.02 60 / 0.28), 0 30px 60px -20px oklch(0.2 0.02 60 / 0.25);
    --kj-ease: cubic-bezier(0.22, 1, 0.36, 1);

    /* straturi */
    --kj-z-header: 30;
    --kj-z-drawer: 40;
    --kj-z-skip: 50;

    background: var(--kj-bg);
    color: var(--kj-ink);
    font-family: var(--kj-sans);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body.kj #page { overflow: visible; overflow-x: clip; }
body.kj img { max-width: 100%; height: auto; }
body.kj a { color: var(--kj-forest); text-decoration-thickness: 1px; text-underline-offset: 3px; }
body.kj a:hover { color: var(--kj-forest-3); }
body.kj :focus-visible { outline: 3px solid var(--kj-forest); outline-offset: 2px; border-radius: 4px; }
body.kj h1, body.kj h2, body.kj h3, body.kj h4 {
    font-family: var(--kj-serif);
    font-weight: 600;
    color: var(--kj-ink);
    letter-spacing: -0.01em;
    line-height: 1.15;
    text-wrap: balance;
}
body.kj p { text-wrap: pretty; }

.kj-sr {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.kj-skip {
    position: absolute; left: 12px; top: -60px; z-index: var(--kj-z-skip);
    background: var(--kj-cta); color: var(--kj-on-cta) !important; padding: 10px 16px;
    border-radius: var(--kj-radius-sm); font-weight: 700; text-decoration: none;
}
.kj-skip:focus { top: 12px; }

.kj-wrap { max-width: 1240px; margin-inline: auto; padding-inline: var(--kj-gutter); }
.kj-icon { width: 22px; height: 22px; flex: none; }

/* ---------- butoane ---------- */
.kj-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 50px; padding: 12px 24px; border-radius: 999px;
    font-family: var(--kj-sans); font-weight: 700; font-size: 16px; line-height: 1.2;
    text-decoration: none !important; cursor: pointer; border: 2px solid transparent;
    transition: background-color .25s var(--kj-ease), color .25s var(--kj-ease), transform .25s var(--kj-ease), border-color .25s var(--kj-ease);
}
.kj-btn .kj-icon { width: 18px; height: 18px; transition: transform .3s var(--kj-ease); }
.kj-btn:hover .kj-icon--arrow { transform: translateX(3px); }
.kj-btn:active { transform: translateY(1px); }
body.kj .kj-btn--cta { background: var(--kj-cta); color: var(--kj-on-cta); }
body.kj .kj-btn--cta:hover { background: var(--kj-cta-hover); color: var(--kj-on-cta); }
body.kj .kj-btn--forest { background: var(--kj-forest); color: var(--kj-on-forest); }
body.kj .kj-btn--forest:hover { background: var(--kj-forest-2); color: var(--kj-on-forest); }
body.kj .kj-btn--ghost-light { border-color: oklch(0.97 0.015 140 / 0.45); color: var(--kj-on-forest); }
body.kj .kj-btn--ghost-light:hover { border-color: var(--kj-on-forest); color: var(--kj-on-forest); background: oklch(1 0 0 / 0.06); }

.kj-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none !important; }
.kj-link .kj-icon { width: 18px; height: 18px; transition: transform .3s var(--kj-ease); }
.kj-link:hover .kj-icon { transform: translateX(3px); }

.kj-tag {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 14px; font-weight: 700; color: var(--kj-forest);
    background: var(--kj-surface); border-radius: 999px; padding: 5px 12px 5px 10px;
}
.kj-tag .kj-icon { width: 16px; height: 16px; }

.kj-price, body.kj .price { font-weight: 700; color: var(--kj-ink); font-variant-numeric: tabular-nums; }
body.kj .price del { color: var(--kj-ink-2); font-weight: 400; margin-right: 6px; }
body.kj .price ins { text-decoration: none; color: var(--kj-apple); }

/* ==========================================================================
   Header
   ========================================================================== */
.kj-header {
    position: sticky; top: 0; z-index: var(--kj-z-header);
    background: var(--kj-white);
    border-bottom: 1px solid var(--kj-line);
    transition: box-shadow .3s var(--kj-ease);
}
.kj-header.is-scrolled { box-shadow: 0 6px 24px -12px oklch(0.25 0.02 60 / 0.25); }
.kj-header__bar {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px;
    min-height: 68px;
}
.kj-header__logo { display: block; line-height: 0; }
.kj-header__logo img { width: 132px; height: auto; }
.kj-header__burger {
    display: inline-grid; place-items: center; width: 44px; height: 44px; margin-left: -10px;
    background: none; border: 0; color: var(--kj-ink); cursor: pointer; border-radius: 50%;
}
.kj-header__burger:hover { background: var(--kj-surface); }
.kj-header__tools { display: flex; align-items: center; gap: 2px; justify-self: end; }
.kj-tool {
    position: relative; display: inline-grid; place-items: center;
    width: 44px; height: 44px; border-radius: 50%; color: var(--kj-ink) !important;
    transition: background-color .2s var(--kj-ease);
}
.kj-tool:hover { background: var(--kj-surface); }
.kj-tool--favs { display: none; }
.kj-cart-count {
    position: absolute; top: 4px; right: 2px; min-width: 19px; height: 19px; padding: 0 5px;
    border-radius: 999px; background: var(--kj-apple); color: #fff;
    font-size: 11.5px; font-weight: 700; line-height: 19px; text-align: center;
    transition: transform .3s var(--kj-ease);
}
.kj-cart-count.is-empty { transform: scale(0); }

.kj-search { position: relative; display: none; }
.kj-search input[type="search"] {
    width: 240px; height: 44px; padding: 0 44px 0 18px;
    border: 1px solid var(--kj-line); border-radius: 999px; background: var(--kj-bg);
    font: 15px/1 var(--kj-sans); color: var(--kj-ink);
    transition: border-color .2s var(--kj-ease), background-color .2s var(--kj-ease), box-shadow .2s var(--kj-ease);
}
.kj-search input[type="search"]::placeholder { color: var(--kj-ink-2); }
.kj-search input[type="search"]:focus { outline: none; border-color: var(--kj-forest); background: var(--kj-white); box-shadow: 0 0 0 3px oklch(0.42 0.115 138 / 0.12); }
.kj-search button {
    position: absolute; right: 4px; top: 4px; width: 36px; height: 36px; display: grid; place-items: center;
    border: 0; border-radius: 50%; background: none; color: var(--kj-ink-2); cursor: pointer;
}
.kj-search button .kj-icon { width: 19px; height: 19px; }

/* nav: sertar pe mobil */
.kj-nav {
    position: fixed; inset: 68px 0 auto 0; z-index: var(--kj-z-drawer);
    background: var(--kj-white); border-bottom: 1px solid var(--kj-line);
    padding: 8px var(--kj-gutter) 24px;
    box-shadow: 0 24px 40px -24px oklch(0.25 0.02 60 / 0.35);
    transform: translateY(-8px); visibility: hidden;
    transition: transform .3s var(--kj-ease), visibility 0s linear .3s;
}
.kj-nav-open .kj-nav { transform: none; visibility: visible; transition-delay: 0s; }
.kj-nav__list { list-style: none; margin: 0; padding: 0; }
.kj-nav__list li { margin: 0; border-bottom: 1px solid var(--kj-line); }
.kj-nav__list a {
    display: block; padding: 16px 0; font-family: var(--kj-serif); font-size: 22px; font-weight: 500;
    color: var(--kj-ink) !important; text-decoration: none !important;
}
.kj-nav__list .current-menu-item > a { color: var(--kj-forest) !important; }
.kj-nav__phone {
    display: inline-flex; align-items: center; gap: 8px; margin-top: 18px;
    font-weight: 700; text-decoration: none !important;
}
.kj-nav__phone .kj-icon { width: 18px; height: 18px; }

@media (min-width: 640px) {
    .kj-tool--favs { display: inline-grid; }
    .kj-header__logo img { width: 150px; }
}

@media (min-width: 1024px) {
    .kj-header__bar { grid-template-columns: auto 1fr auto; gap: 28px; min-height: 80px; }
    .kj-header__burger { display: none; }
    .kj-header__logo img { width: 160px; }
    .kj-search { display: block; }
    .kj-nav {
        position: static; inset: auto; padding: 0; background: none; border: 0; box-shadow: none;
        transform: none; opacity: 1; visibility: visible; transition: none;
        display: flex; align-items: center; justify-content: center; gap: 24px;
    }
    .kj-nav__list { display: flex; gap: 4px; }
    .kj-nav__list li { border: 0; }
    .kj-nav__list li:first-child { display: none; } /* „Prima pagină” e deja logo-ul */
    .kj-nav__list a {
        position: relative; padding: 10px 12px; font-family: var(--kj-sans); font-size: 16px; font-weight: 700; white-space: nowrap;
    }
    .kj-nav__list a::after {
        content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
        background: var(--kj-forest); transform: scaleX(0); transform-origin: left;
        transition: transform .3s var(--kj-ease);
    }
    .kj-nav__list a:hover::after, .kj-nav__list .current-menu-item > a::after { transform: scaleX(1); }
    .kj-nav__phone { display: none; }
}
@media (min-width: 1440px) {
    .kj-nav__phone { display: inline-flex; margin: 0; font-size: 15px; color: var(--kj-ink-2) !important; white-space: nowrap; }
}

/* ==========================================================================
   Prima pagină
   ========================================================================== */
.kj-section-head { max-width: 640px; margin-bottom: clamp(28px, 4vw, 48px); }
.kj-section-head h2 { font-size: clamp(30px, 4.2vw, 46px); margin: 0 0 14px; }
.kj-section-head p { margin: 0; color: var(--kj-ink-2); font-size: 18px; }
.kj-section-head--tight { margin-bottom: 0; }

/* hero */
.kj-hero {
    background: var(--kj-forest);
    color: var(--kj-on-forest);
    padding-block: clamp(40px, 7vw, 96px) clamp(48px, 8vw, 110px);
    overflow: hidden;
    position: relative;
}
.kj-hero::before { /* lumină caldă, ca o veioză */
    content: ""; position: absolute; inset: -30% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
    background: radial-gradient(closest-side, oklch(0.69 0.19 137 / 0.16), transparent 70%);
    pointer-events: none;
}
.kj-hero__grid { position: relative; display: grid; gap: 40px; align-items: center; }
.kj-hero__title {
    color: var(--kj-on-forest) !important;
    font-size: clamp(36px, 6vw, 68px) !important;
    font-weight: 600; line-height: 1.06 !important; letter-spacing: -0.02em !important;
    margin: 0 0 22px; max-width: 14ch;
}
.kj-hero__lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--kj-on-forest-2); max-width: 46ch; margin: 0 0 30px; }
.kj-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.kj-hero__note { font-size: 15px; color: var(--kj-on-forest-2); margin: 0; }

.kj-hero__books { position: relative; height: 230px; margin-top: -8px; }
.kj-hero__book {
    position: absolute; bottom: 0; width: 42%; display: block; line-height: 0;
    border-radius: 3px 6px 6px 3px; box-shadow: var(--kj-shadow-book);
    transition: transform .5s var(--kj-ease);
    animation: kj-rise 1s var(--kj-ease) both;
}
.kj-hero__book img { width: 100%; border-radius: inherit; }
.kj-hero__book--1 { left: 29%; z-index: 3; animation-delay: .05s; }
.kj-hero__book--2 { left: 4%; z-index: 2; transform: rotate(-8deg) translateY(10px); animation-delay: .18s; --kj-r: -8deg; }
.kj-hero__book--3 { right: 4%; z-index: 1; transform: rotate(7deg) translateY(16px); animation-delay: .3s; --kj-r: 7deg; }
.kj-hero__book--1:hover { transform: translateY(-8px); }
.kj-hero__book--2:hover { transform: rotate(-10deg) translateY(0); }
.kj-hero__book--3:hover { transform: rotate(9deg) translateY(6px); }
@keyframes kj-rise { from { translate: 0 40px; } to { translate: 0 0; } }

@media (min-width: 640px) { .kj-hero__books { height: 400px; } }
@media (min-width: 960px) {
    .kj-hero__grid { grid-template-columns: 1.08fr 0.92fr; gap: 56px; }
    .kj-hero__books { height: 500px; }
    .kj-hero__book { width: 46%; }
    .kj-hero__book--1 { left: 27%; bottom: 30px; }
}

/* raftul cu cărți */
.kj-shelf { padding-block: var(--kj-section); }
.kj-shelf__list {
    list-style: none; margin: 0 calc(var(--kj-gutter) * -1); padding: 8px var(--kj-gutter) 20px;
    display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 44%);
    gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--kj-gutter);
    scrollbar-width: thin;
}
.kj-shelf__item { scroll-snap-align: start; margin: 0; }
.kj-shelf__link { display: flex; flex-direction: column; gap: 6px; text-decoration: none !important; color: var(--kj-ink) !important; }
.kj-shelf__cover {
    display: block; line-height: 0; margin-bottom: 12px;
    border-radius: 3px 6px 6px 3px; box-shadow: var(--kj-shadow-book);
    transition: transform .45s var(--kj-ease), box-shadow .45s var(--kj-ease);
}
.kj-shelf__cover img { width: 100%; aspect-ratio: 655 / 900; object-fit: cover; border-radius: inherit; }
.kj-shelf__link:hover .kj-shelf__cover { transform: translateY(-6px) rotate(-1deg); }
.kj-shelf__topic {
    align-self: flex-start; font-size: 13px; font-weight: 700; color: var(--kj-forest);
    background: var(--kj-leaf-soft); border-radius: 999px; padding: 3px 10px;
}
.kj-shelf__name { font-family: var(--kj-serif); font-size: 18px; font-weight: 600; line-height: 1.25; }
.kj-shelf__price { font-weight: 700; color: var(--kj-ink-2); }
@media (min-width: 720px) { .kj-shelf__list { grid-auto-columns: minmax(170px, 30%); } }
@media (min-width: 1100px) {
    .kj-shelf__list {
        grid-auto-flow: row; grid-template-columns: repeat(6, 1fr); overflow: visible;
        margin: 0; padding: 0 0 28px; column-gap: 24px;
        border-bottom: 10px solid var(--kj-surface); /* raftul */
        box-shadow: 0 1px 0 var(--kj-line);
    }
}

/* medicii */
.kj-doctors { background: var(--kj-surface); padding-block: var(--kj-section); }
.kj-doctors__grid { display: grid; gap: 40px; align-items: end; }
.kj-doctors__quote { margin: 0; padding: 0; border: 0; }
.kj-doctors__quote p {
    font-family: var(--kj-serif); font-weight: 500; font-size: clamp(24px, 3.2vw, 38px);
    line-height: 1.3; letter-spacing: -0.01em; margin: 0 0 18px; color: var(--kj-ink); max-width: 30ch;
}
.kj-doctors__quote footer { font-weight: 700; color: var(--kj-forest); }
.kj-doctors__people { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.kj-doctors__people li { display: flex; align-items: center; gap: 16px; margin: 0; }
.kj-doctors__people strong { display: block; font-size: 18px; color: var(--kj-ink); }
.kj-doctors__people span { color: var(--kj-ink-2); }
.kj-doctors__initials {
    flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
    background: var(--kj-forest); color: var(--kj-on-forest) !important;
    font-family: var(--kj-serif); font-size: 19px; font-weight: 600; letter-spacing: 0.02em;
}
@media (min-width: 900px) { .kj-doctors__grid { grid-template-columns: 1.4fr 1fr; gap: 72px; } }

/* rețete */
.kj-recipes { padding-block: var(--kj-section); }
.kj-recipes__grid { display: grid; gap: 28px; }
.kj-feature {
    display: grid; background: var(--kj-white); border: 1px solid var(--kj-line);
    border-radius: var(--kj-radius); overflow: hidden; text-decoration: none !important; color: var(--kj-ink) !important;
    transition: box-shadow .35s var(--kj-ease), transform .35s var(--kj-ease);
}
.kj-feature:hover { box-shadow: 0 20px 40px -24px oklch(0.25 0.02 60 / 0.35); transform: translateY(-2px); }
.kj-feature__media { display: block; line-height: 0; background: var(--kj-surface); }
.kj-feature__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.kj-feature__body { display: flex; flex-direction: column; gap: 12px; padding: clamp(20px, 3vw, 32px); }
.kj-feature__body .kj-tag { align-self: flex-start; }
.kj-feature__title { font-family: var(--kj-serif); font-size: clamp(24px, 2.6vw, 32px); font-weight: 600; line-height: 1.15; }
.kj-feature__text { color: var(--kj-ink-2); max-width: 52ch; }
.kj-feature__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 6px; }
.kj-feature__foot .kj-price { font-size: 22px; }

.kj-rows { list-style: none; margin: 0; padding: 0; display: grid; align-content: start; }
.kj-rows li { margin: 0; border-bottom: 1px solid var(--kj-line); }
.kj-rows li:first-child { border-top: 1px solid var(--kj-line); }
.kj-row {
    display: grid; grid-template-columns: 76px 1fr auto; gap: 16px; align-items: center;
    padding: 16px 4px; text-decoration: none !important; color: var(--kj-ink) !important;
    transition: background-color .2s var(--kj-ease);
}
.kj-row:hover { background: var(--kj-white); }
.kj-row__thumb { line-height: 0; }
.kj-row__thumb img { width: 76px; height: 76px; object-fit: cover; border-radius: var(--kj-radius-sm); box-shadow: 0 6px 14px -8px oklch(0.25 0.02 60 / 0.45); }
.kj-row__name { display: block; font-family: var(--kj-serif); font-weight: 600; font-size: 18px; line-height: 1.25; }
.kj-row__meta { display: block; font-size: 14px; color: var(--kj-ink-2); margin-top: 2px; }
.kj-row__price { font-weight: 700; white-space: nowrap; }
@media (min-width: 960px) { .kj-recipes__grid { grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: start; } }

/* meditații audio */
.kj-audio { background: var(--kj-surface); padding-block: var(--kj-section); }
.kj-audio__grid { display: grid; gap: 32px; }
.kj-audio__grid .kj-section-head h2 { margin-bottom: 14px; }
.kj-audio__grid .kj-section-head p { margin-bottom: 18px; }
.kj-audio__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.kj-audio__list li { margin: 0; }
.kj-audio__item {
    display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center;
    padding: 14px 18px 14px 14px; border-radius: var(--kj-radius);
    background: var(--kj-white); text-decoration: none !important; color: var(--kj-ink) !important;
    box-shadow: 0 1px 0 oklch(0.3 0.05 70 / 0.08);
    transition: transform .3s var(--kj-ease), box-shadow .3s var(--kj-ease);
}
.kj-audio__item:hover { transform: translateX(4px); box-shadow: 0 12px 24px -16px oklch(0.3 0.05 70 / 0.45); }
.kj-audio__play {
    display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
    background: var(--kj-forest); color: #fff;
}
.kj-audio__play .kj-icon { width: 20px; height: 20px; fill: currentColor; stroke: none; margin-left: 3px; }
.kj-audio__name { display: block; font-family: var(--kj-serif); font-weight: 600; font-size: 18px; line-height: 1.2; }
.kj-audio__for { display: block; color: var(--kj-ink-2); font-size: 15px; }
.kj-audio__price { font-weight: 700; white-space: nowrap; }
@media (min-width: 900px) { .kj-audio__grid { grid-template-columns: 1fr 1.15fr; gap: 72px; align-items: center; } }

/* cum ajung la tine */
.kj-how { padding-block: var(--kj-section); }
.kj-how__title { font-size: clamp(28px, 3.6vw, 40px); margin: 0 0 32px; }
.kj-how__steps { list-style: none; counter-reset: kj-step; margin: 0; padding: 0; display: grid; gap: 28px; }
.kj-how__steps li { counter-increment: kj-step; margin: 0; display: grid; grid-template-columns: auto 1fr; column-gap: 18px; row-gap: 4px; }
.kj-how__steps li::before {
    content: counter(kj-step); grid-row: span 2;
    font-family: var(--kj-serif); font-size: 44px; font-weight: 500; line-height: 1; color: var(--kj-leaf);
    font-variant-numeric: lining-nums;
}
.kj-how__steps strong { font-size: 19px; }
.kj-how__steps span { color: var(--kj-ink-2); max-width: 40ch; }
@media (min-width: 860px) { .kj-how__steps { grid-template-columns: repeat(3, 1fr); gap: 40px; } }

/* ==========================================================================
   Liste de produse (categorii, căutare, recomandări)
   ========================================================================== */
body.kj ul.products, .kj-grid {
    list-style: none; margin: 0; padding: 0;
    display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr));
    gap: clamp(20px, 3vw, 32px) clamp(16px, 2.4vw, 28px);
}
@media (max-width: 479px) { body.kj ul.products, .kj-grid { grid-template-columns: 1fr 1fr; } }
body.kj ul.products::before, body.kj ul.products::after { display: none !important; }
body.kj .primary-content, body.kj .sidebar-left { float: none !important; width: auto !important; margin-left: 0; }
body.kj ul.products li.kj-card { float: none !important; width: auto !important; margin: 0 !important; padding: 0 !important; clear: none !important; }
.kj-card { display: flex; flex-direction: column; }
.kj-card__link { display: flex; flex-direction: column; gap: 4px; flex: 1; text-decoration: none !important; color: var(--kj-ink) !important; }
.kj-card__media {
    display: grid; place-items: center; aspect-ratio: 4 / 5; padding: 14% 12%;
    background: var(--kj-surface); border-radius: var(--kj-radius); margin-bottom: 12px; overflow: hidden;
}
.kj-card__media img {
    max-height: 100%; width: auto; max-width: 100%; object-fit: contain;
    border-radius: 2px 4px 4px 2px; box-shadow: var(--kj-shadow-book);
    transition: transform .45s var(--kj-ease);
}
.kj-card__link:hover .kj-card__media img { transform: translateY(-5px) scale(1.02); }
.kj-card__format { font-size: 13px; font-weight: 700; color: var(--kj-forest); }
.kj-card__title { font-family: var(--kj-serif); font-weight: 600; font-size: 17px; line-height: 1.25; }
.kj-card__delivery { display: flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--kj-ink-2); margin-top: 2px; }
.kj-card__delivery .kj-icon { width: 15px; height: 15px; }
.kj-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; }
.kj-card__foot .kj-price { font-size: 17px; }
body.kj .kj-card__add {
    display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px;
    border-radius: 999px; background: var(--kj-cta); color: var(--kj-on-cta) !important;
    font-size: 14px; font-weight: 700; text-decoration: none !important;
    transition: background-color .2s var(--kj-ease);
}
body.kj .kj-card__add:hover { background: var(--kj-cta-hover); }
.kj-card__add .kj-icon { width: 17px; height: 17px; }
@media (max-width: 479px) { .kj-card__add span { display: none; } body.kj .kj-card__add { width: 44px; padding: 0; justify-content: center; } }

/* pagina de categorie */
body.kj .page-wrapper { padding-block: clamp(24px, 4vw, 48px) var(--kj-section); }
body.kj .page-wrapper .page-header { margin-bottom: 24px; }
body.kj .page-wrapper .entry-title { font-size: clamp(32px, 4.6vw, 52px); margin: 0 0 10px; text-transform: none; }
body.kj .term-description, body.kj .page-description { color: var(--kj-ink-2); max-width: 60ch; }
body.kj .before-prods {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
    padding: 0 0 18px; margin-bottom: 24px; border-bottom: 1px solid var(--kj-line); background: none; border-radius: 0;
}
body.kj .woocommerce-result-count { margin: 0; color: var(--kj-ink-2); font-size: 15px; }
body.kj .woocommerce-ordering select {
    height: 44px; padding: 0 36px 0 14px; border: 1px solid var(--kj-line); border-radius: 999px;
    background-color: var(--kj-white); font: 15px var(--kj-sans); color: var(--kj-ink);
}
body.kj .sidebar-left { margin-bottom: 24px; }
body.kj .sidebar-left .showf {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px;
    background: var(--kj-surface); color: var(--kj-forest); font-weight: 700; text-transform: none; cursor: pointer;
}
body.kj .sidebar-left .widget-title { font-family: var(--kj-sans); font-size: 15px; font-weight: 700; margin: 18px 0 10px; }
body.kj .sidebar-left ul { list-style: none; padding: 0; margin: 0; }
body.kj .sidebar-left li { padding: 4px 0; }
@media (min-width: 1024px) {
    body.kj .page-wrapper #content { display: grid; grid-template-columns: 230px minmax(0, 1fr); column-gap: 48px; align-items: start; }
    body.kj .page-wrapper #content > .page-header { grid-column: 1 / -1; }
    body.kj .page-wrapper #content > .sidebar-left { position: sticky; top: 104px; }
    body.kj .sidebar-left .showf { display: none; }
    body.kj .sidebar-left .filters-area { display: block !important; }
}

/* ==========================================================================
   Pagina de produs
   ========================================================================== */
body.kj.single-product .site-content { overflow: visible; }
.kj-product { display: grid; gap: 32px; padding-block: clamp(20px, 4vw, 48px) 0; }
.kj-product__media .product-images {
    background: var(--kj-white); border: 1px solid var(--kj-line); border-radius: var(--kj-radius);
    padding: clamp(12px, 3vw, 28px); position: relative;
}
.kj-product__media .zoomin { display: none; }
.kj-product__media img { border-radius: 6px; }
/* miniaturile galeriei derulează în interior, nu lățesc pagina pe telefon */
.kj-product__media, .kj-product__summary, .kj-product__about, .kj-product__reviews { min-width: 0; }
.kj-product__summary { display: flex; flex-direction: column; gap: 16px; }
.kj-product__format { margin: 0; }
.kj-product__title { font-size: clamp(30px, 4vw, 46px) !important; line-height: 1.1 !important; margin: 0 !important; letter-spacing: -0.015em !important; }
.kj-product__by { margin: 0; color: var(--kj-ink-2); }
.kj-product__excerpt { color: var(--kj-ink-2); font-size: 18px; }
.kj-product__excerpt p { margin: 0 0 10px; }
.kj-buy {
    display: grid; gap: 14px; padding: 20px; border-radius: var(--kj-radius);
    background: var(--kj-surface);
}
.kj-buy__price { margin: 0; font-size: 30px; font-weight: 700; }
.kj-buy__price .woocommerce-Price-currencySymbol { font-size: 0.7em; margin-left: 2px; }
body.kj .kj-buy .adaugaincos, body.kj .kj-buy form.cart { margin: 0; padding: 0; background: none; border: 0; }
body.kj .kj-buy .single_add_to_cart_button {
    width: 100%; min-height: 56px; border: 0; border-radius: 999px; cursor: pointer;
    background: var(--kj-cta) !important; color: var(--kj-on-cta) !important;
    font: 700 17px/1 var(--kj-sans) !important; text-transform: none !important; letter-spacing: 0 !important;
    box-shadow: none !important; transition: background-color .2s var(--kj-ease);
}
body.kj .kj-buy .single_add_to_cart_button:hover { background: var(--kj-cta-hover) !important; }
body.kj .kj-buy .single_add_to_cart_button::before { display: none !important; }
body.kj .kj-buy__fav .yith-wcwl-add-to-wishlist { margin: 0; }
body.kj .kj-buy__fav a {
    display: inline-flex !important; align-items: center; gap: 8px; min-height: 44px; padding: 0 !important;
    background: none !important; color: var(--kj-forest) !important; font-weight: 700; font-size: 15px;
    text-transform: none !important; border: 0 !important; box-shadow: none !important; width: auto !important;
}
.kj-facts { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 14px; }
.kj-facts li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; margin: 0; color: var(--kj-ink-2); font-size: 15.5px; }
.kj-facts .kj-icon { color: var(--kj-forest); margin-top: 2px; }
.kj-facts strong { display: block; color: var(--kj-ink); font-size: 16px; }

.kj-product__about { border-top: 1px solid var(--kj-line); padding-top: clamp(28px, 4vw, 48px); }
.kj-product__about h2, .kj-related h2 { font-size: clamp(26px, 3vw, 34px); margin: 0 0 18px; }
.kj-prose { max-width: 68ch; font-size: 18px; }
.kj-prose p { margin: 0 0 1.1em; }
.kj-product__reviews { max-width: 68ch; }
.kj-product__reviews h2 { font-size: 24px; }
.kj-related { padding-block: clamp(40px, 6vw, 72px) var(--kj-section); }

@media (min-width: 900px) {
    .kj-product { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); column-gap: clamp(32px, 5vw, 72px); row-gap: 48px; }
    .kj-product__media { align-self: start; }
    .kj-product__about, .kj-product__reviews { grid-column: 1 / -1; }
}

/* galeria veche (owl) curățată */
body.kj #sync2 { margin-top: 12px; }
body.kj #sync2 .owl-item { padding: 4px; cursor: pointer; opacity: .6; transition: opacity .2s; }
body.kj #sync2 .owl-item.synced { opacity: 1; }
body.kj #sync2 .owl-item img { border-radius: 6px; border: 1px solid var(--kj-line); }

/* ==========================================================================
   Coș, checkout, cont, notificări
   ========================================================================== */
body.kj .site-content { overflow: visible; margin-bottom: 0; }
body.kj .container { max-width: 1240px; padding-inline: var(--kj-gutter); }
body.kj.woocommerce-cart .site-content, body.kj.woocommerce-checkout .site-content, body.kj.woocommerce-account .site-content { padding-block: clamp(24px, 4vw, 48px) var(--kj-section); }
body.kj .entry-title, body.kj .page-title { font-family: var(--kj-serif); font-size: clamp(30px, 4vw, 44px); text-transform: none; color: var(--kj-ink); }

body.kj .woocommerce-message, body.kj .woocommerce-info, body.kj .woocommerce-error, body.kj .woocommerce-notices-wrapper > div {
    list-style: none; margin: 0 0 24px; padding: 14px 18px; border-radius: var(--kj-radius-sm);
    background: var(--kj-surface); color: var(--kj-ink); border: 1px solid var(--kj-line); font-size: 16px;
}
body.kj .woocommerce-error { background: oklch(0.96 0.03 25); border-color: oklch(0.85 0.07 25); }
body.kj .woocommerce-message .button, body.kj .woocommerce-info a { font-weight: 700; }

body.kj .woocommerce form .form-row label, body.kj form.checkout label, body.kj .woocommerce-form label {
    font-size: 15px; font-weight: 700; color: var(--kj-ink); margin-bottom: 6px; display: block;
}
body.kj .woocommerce form .form-row .required, body.kj form .required { color: var(--kj-apple); text-decoration: none; border: 0; }
body.kj input[type="text"], body.kj input[type="email"], body.kj input[type="tel"], body.kj input[type="password"],
body.kj input[type="number"], body.kj textarea, body.kj select:not(.woocommerce-ordering select) {
    width: 100%; min-height: 50px; padding: 12px 16px; border: 1px solid var(--kj-line); border-radius: var(--kj-radius-sm);
    background: var(--kj-white); color: var(--kj-ink); font: 17px/1.3 var(--kj-sans); box-shadow: none;
    transition: border-color .2s var(--kj-ease), box-shadow .2s var(--kj-ease);
}
body.kj input:focus, body.kj textarea:focus, body.kj select:focus { outline: none; border-color: var(--kj-forest); box-shadow: 0 0 0 3px oklch(0.42 0.115 138 / 0.15); }
body.kj .form-row { margin: 0 0 18px; padding: 0; }

body.kj.woocommerce-checkout form.checkout { display: grid; gap: 32px; }
@media (min-width: 960px) {
    body.kj.woocommerce-checkout form.checkout { grid-template-columns: 1.1fr 0.9fr; column-gap: 56px; align-items: start; }
    body.kj.woocommerce-checkout #customer_details { grid-column: 1; }
    body.kj.woocommerce-checkout #order_review_heading, body.kj.woocommerce-checkout #order_review { grid-column: 2; }
    body.kj.woocommerce-checkout #order_review_heading { grid-row: 1; margin-top: 0; }
    body.kj.woocommerce-checkout #order_review { grid-row: 2; position: sticky; top: 104px; }
    body.kj.woocommerce-checkout #customer_details { grid-row: 1 / span 2; }
}
body.kj #order_review { background: var(--kj-white); border: 1px solid var(--kj-line); border-radius: var(--kj-radius); padding: clamp(18px, 3vw, 28px); }
body.kj table.shop_table { width: 100%; border-collapse: collapse; border: 0; background: none; font-size: 16px; }
body.kj table.shop_table th, body.kj table.shop_table td { padding: 12px 6px; border: 0; border-bottom: 1px solid var(--kj-line); background: none !important; text-align: left; font-family: var(--kj-sans); }
body.kj table.shop_table tfoot .order-total th, body.kj table.shop_table tfoot .order-total td { font-size: 19px; border-bottom: 0; }
body.kj #payment { background: none; margin-top: 16px; }
body.kj #payment ul.payment_methods { list-style: none; padding: 0; margin: 0 0 16px; border: 0; }
body.kj #payment .payment_box { background: var(--kj-surface); border-radius: var(--kj-radius-sm); padding: 12px 14px; font-size: 15px; color: var(--kj-ink-2); }
body.kj #place_order, body.kj .checkout-button, body.kj .woocommerce-button, body.kj button.button, body.kj a.button, body.kj input.button {
    display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px;
    border: 0; border-radius: 999px; background: var(--kj-forest); color: var(--kj-on-forest) !important;
    font: 700 16px/1 var(--kj-sans); text-transform: none; text-decoration: none !important; cursor: pointer;
    box-shadow: none; transition: background-color .2s var(--kj-ease);
}
body.kj #place_order { width: 100%; min-height: 58px; font-size: 18px; background: var(--kj-cta); color: var(--kj-on-cta) !important; }
body.kj #place_order:hover { background: var(--kj-cta-hover); }
body.kj button.button:hover, body.kj a.button:hover, body.kj input.button:hover { background: var(--kj-forest-2); }
body.kj .woocommerce-terms-and-conditions-wrapper, body.kj .form-row.privacy { font-size: 15px; color: var(--kj-ink-2); }
body.kj .woocommerce-form__label-for-checkbox { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 400 !important; }
body.kj .woocommerce-form__label-for-checkbox input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--kj-forest); flex: none; }

/* pagina de mulțumire: descărcarea primul lucru vizibil */
body.kj .woocommerce-order { display: flex; flex-direction: column; }
body.kj .woocommerce-order .woocommerce-thankyou-order-received {
    font-family: var(--kj-serif); font-size: clamp(26px, 3.4vw, 36px); line-height: 1.2; margin: 0 0 20px; color: var(--kj-ink);
}
body.kj .woocommerce-order-downloads {
    order: -1; background: var(--kj-forest); color: var(--kj-on-forest); border-radius: var(--kj-radius);
    padding: clamp(20px, 3vw, 32px); margin-bottom: 28px;
}
body.kj .woocommerce-order-downloads__title { color: var(--kj-on-forest) !important; margin-top: 0 !important; }
body.kj .woocommerce-order-downloads table.shop_table th, body.kj .woocommerce-order-downloads table.shop_table td { border-color: oklch(1 0 0 / 0.15); color: var(--kj-on-forest); }
body.kj .woocommerce-order-downloads a { color: var(--kj-on-forest); }
body.kj .woocommerce-order-downloads a.woocommerce-MyAccount-downloads-file {
    background: #fff; color: var(--kj-forest) !important; border-radius: 999px; padding: 12px 20px;
}

/* cont client */
body.kj .woocommerce-MyAccount-navigation ul { display: flex; flex-wrap: wrap; gap: 8px; }
body.kj .woocommerce-MyAccount-navigation li { margin: 0; }
body.kj .woocommerce-MyAccount-navigation a {
    display: inline-flex; min-height: 40px; align-items: center; padding: 0 16px; border-radius: 999px;
    background: var(--kj-surface); text-decoration: none !important; font-weight: 700; font-size: 15px;
}
body.kj .woocommerce-MyAccount-navigation li.is-active a { background: var(--kj-forest); color: var(--kj-on-forest) !important; }
body.kj #customer_login { display: grid; gap: 32px; }
@media (min-width: 860px) { body.kj #customer_login { grid-template-columns: 1fr 1fr; gap: 56px; } }
body.kj #customer_login h2 { font-size: 26px; margin: 0 0 16px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.kj-footer { background: var(--kj-forest-2); color: var(--kj-on-forest-2); padding-top: clamp(48px, 7vw, 88px); font-size: 15.5px; }
.kj-footer a { color: var(--kj-on-forest) !important; text-decoration: none !important; }
.kj-footer a:hover { text-decoration: underline !important; }
.kj-footer__grid { display: grid; gap: 36px; padding-bottom: 40px; }
.kj-footer__logo img { width: 150px; filter: brightness(0) invert(1); opacity: .95; }
.kj-footer__brand p { max-width: 38ch; margin: 16px 0 0; }
.kj-footer__title { font-family: var(--kj-sans) !important; font-size: 14px !important; font-weight: 700 !important; color: var(--kj-on-forest) !important; margin: 0 0 14px; letter-spacing: 0.02em; }
.kj-footer ul { list-style: none; margin: 0; padding: 0; }
.kj-footer li { margin: 0 0 10px; }
.kj-footer__contact a { display: inline-flex; align-items: center; gap: 8px; }
.kj-footer__contact .kj-icon { width: 17px; height: 17px; }
.kj-footer__legal { border-top: 1px solid oklch(1 0 0 / 0.12); padding-block: 24px 32px; font-size: 13.5px; }
.kj-footer__legal p { margin: 8px 0 0; }
.kj-footer__badges { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-bottom: 12px; }
.kj-footer__badges a { display: block; line-height: 0; }
body.kj .kj-footer__badges img { display: block; height: 36px !important; width: auto !important; max-width: none; border-radius: 4px; background: #fff; padding: 3px; }
@media (min-width: 760px) { .kj-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; } }

/* butonul vechi „sus” și elemente scoase */
body.kj .go-top, body.kj #mobile-menu, body.kj .slicknav_menu { display: none !important; }

/* ==========================================================================
   Mișcare redusă
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    body.kj *, body.kj *::before, body.kj *::after {
        animation-duration: 0.01ms !important; animation-delay: 0s !important;
        transition-duration: 0.01ms !important; scroll-behavior: auto !important;
    }
}

/* ---------- ajustări liste și filtre ---------- */
body.kj .kj-card, body.kj .kj-card * { text-align: left; }
body.kj .before-prods { box-shadow: none; }
body.kj .before-prods .woocommerce-ordering { margin: 0; float: none; }
body.kj .before-prods .woocommerce-result-count { float: none; }
body.kj .widget_price_filter .price_slider_wrapper { padding: 6px 4px 0; }
body.kj .widget_price_filter .ui-slider { position: relative; height: 4px; margin: 10px 8px 18px; background: var(--kj-line); border: 0; border-radius: 4px; }
body.kj .widget_price_filter .ui-slider-range { position: absolute; top: 0; height: 100%; background: var(--kj-forest); border-radius: 4px; }
body.kj .widget_price_filter .ui-slider-handle {
    position: absolute; top: 50%; width: 20px; height: 20px; margin: -10px 0 0 -10px;
    background: var(--kj-white); border: 2px solid var(--kj-forest); border-radius: 50%; cursor: grab;
}
body.kj .widget_price_filter .price_slider_amount { display: flex; flex-direction: row-reverse; align-items: center; justify-content: space-between; gap: 10px; }
body.kj .widget_price_filter .price_slider_amount .button { min-height: 38px; padding: 0 16px; font-size: 14px; float: none; margin: 0; }
body.kj .widget_price_filter .price_label { font-size: 14px; color: var(--kj-ink-2); float: none; margin: 0; }
body.kj .widget_price_filter .price_label span { font-weight: 700; color: var(--kj-ink); }
body.kj .widget_product_categories li a, body.kj .sidebar-left .widget_categories li a {
    display: block; padding: 6px 0; color: var(--kj-ink) !important; text-decoration: none !important; font-size: 16px;
}
body.kj .widget_product_categories li.current-cat > a { color: var(--kj-forest) !important; font-weight: 700; }
body.kj .sidebar-left .widget { margin-bottom: 28px; }
body.kj .before-prods { border: 0 !important; border-bottom: 1px solid var(--kj-line) !important; padding: 0 0 16px !important; }
body.kj .before-prods .woocommerce-notices-wrapper:empty { display: none; }
body.kj .before-prods .woocommerce-result-count { position: static !important; order: -1; }
body.kj .before-prods select.orderby { width: auto !important; min-width: 220px; }

/* ---------- galeria de produs (kj) ---------- */
.kj-gallery__stage {
    display: grid; place-items: center; aspect-ratio: 1 / 1;
    background: var(--kj-surface); border-radius: var(--kj-radius); padding: clamp(24px, 6vw, 64px);
}
.kj-gallery__main {
    max-height: 100%; max-width: 100%; width: auto; object-fit: contain;
    border-radius: 3px 6px 6px 3px; box-shadow: var(--kj-shadow-book);
}
.kj-gallery__thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.kj-gallery__thumb {
    width: 72px; height: 72px; padding: 6px; border: 2px solid transparent; border-radius: var(--kj-radius-sm);
    background: var(--kj-surface); cursor: pointer; transition: border-color .2s var(--kj-ease);
}
.kj-gallery__thumb img { width: 100%; height: 100%; object-fit: contain; }
.kj-gallery__thumb.is-active, .kj-gallery__thumb:hover { border-color: var(--kj-forest); }

/* favorite (YITH) ca link discret */
body.kj .kj-buy__fav .yith-wcwl-add-button > a, body.kj .kj-buy__fav .yith-wcwl-wishlistexistsbrowse a, body.kj .kj-buy__fav .yith-wcwl-wishlistaddedbrowse a {
    background: none !important; color: var(--kj-forest) !important; padding: 0 !important; min-height: 40px;
    font: 700 15px/1.2 var(--kj-sans) !important; text-transform: none !important; display: inline-flex !important; gap: 8px; align-items: center;
}
body.kj .kj-buy__fav .feedback { font-size: 14px; color: var(--kj-ink-2); }
body.kj .kj-buy__fav, body.kj .kj-buy__fav * { background: none !important; border: 0 !important; box-shadow: none !important; }
body.kj .kj-buy__fav a { color: var(--kj-forest) !important; }
body.kj .kj-buy__fav i, body.kj .kj-buy__fav svg { color: var(--kj-apple); }
body.kj .kj-buy__fav a > i, body.kj .kj-buy__fav a > svg, body.kj .kj-buy__fav a > img, body.kj .kj-buy__fav a::before {
    position: static !important; margin: 0 !important; width: 18px; height: 18px; font-size: 17px; line-height: 1; flex: none;
}

/* ---------- pagini simple (page.php) și coș ---------- */
body.kj h1.entry-title.title {
    background: none !important; color: var(--kj-ink) !important; text-align: left !important; padding: 0 !important;
    margin: clamp(24px, 4vw, 40px) 0 24px !important; font-size: clamp(32px, 4.4vw, 48px) !important; text-transform: none !important;
}
body.kj .post-8, body.kj .page .hentry { background: none !important; padding: 0 !important; border: 0 !important; box-shadow: none !important; }
body.kj .woocommerce-cart-form .product-thumbnail img { width: 64px; border-radius: 4px; box-shadow: 0 6px 14px -8px oklch(0.25 0.02 60 / 0.45); }
body.kj .woocommerce-cart-form .product-name a { font-family: var(--kj-serif); font-weight: 600; font-size: 17px; color: var(--kj-ink); text-decoration: none; }
body.kj .woocommerce-cart-form .product-remove a { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: var(--kj-ink-2) !important; text-decoration: none !important; font-size: 20px; }
body.kj .woocommerce-cart-form .product-remove a:hover { background: var(--kj-surface); color: var(--kj-apple) !important; }
body.kj .woocommerce-cart-form .quantity input.qty { width: 72px; min-height: 44px; text-align: center; padding: 6px; }
body.kj .woocommerce-cart-form td.actions { padding-top: 18px; }
body.kj .woocommerce-cart-form .coupon { display: inline-flex; gap: 8px; flex-wrap: wrap; }
body.kj .woocommerce-cart-form .coupon input { width: 200px; }
body.kj .cart-collaterals { margin-top: 32px; display: flex; justify-content: flex-end; }
body.kj .cart_totals { width: 100%; max-width: 420px; background: var(--kj-white); border: 1px solid var(--kj-line); border-radius: var(--kj-radius); padding: clamp(18px, 3vw, 28px); }
body.kj .cart_totals h2 { font-size: 22px; margin: 0 0 8px; }
body.kj .wc-proceed-to-checkout .checkout-button { width: 100%; margin-top: 16px; min-height: 56px; font-size: 17px; background: var(--kj-cta); color: var(--kj-on-cta) !important; }
body.kj .wc-proceed-to-checkout .checkout-button:hover { background: var(--kj-cta-hover); }
body.kj .cart-empty, body.kj .return-to-shop { font-size: 18px; }
@media (max-width: 767px) {
    body.kj table.shop_table_responsive thead { display: none; }
    body.kj table.shop_table_responsive tr { display: block; border-bottom: 1px solid var(--kj-line); padding: 8px 0; }
    body.kj table.shop_table_responsive td { display: flex; justify-content: space-between; align-items: center; border: 0; padding: 6px 0; text-align: right; }
    body.kj table.shop_table_responsive td::before { content: attr(data-title); font-weight: 700; text-align: left; margin-right: 12px; }
    body.kj table.shop_table_responsive td.product-remove::before, body.kj table.shop_table_responsive td.product-thumbnail::before, body.kj table.shop_table_responsive td.actions::before { display: none; }
}
body.kj main.site-main, body.kj .content-area, body.kj .site-main { background: none !important; padding: 0 !important; }
body.kj .site-main .entry-content { max-width: none; }
body.kj .kj-prose h2 { font-size: 26px; margin: 1.6em 0 .5em; }
body.kj .kj-prose h3 { font-size: 21px; margin: 1.4em 0 .4em; }
body.kj .kj-prose ul, body.kj .kj-prose ol { padding-left: 1.2em; margin: 0 0 1.1em; }
body.kj .kj-prose li { margin-bottom: .4em; }
body.kj .site-main { padding-bottom: var(--kj-section) !important; }

/* ---------- pagini de informații ---------- */
.kj-info__grid { display: grid; gap: 28px; }
.kj-info__navtitle { font-weight: 700; margin: 0 0 8px; color: var(--kj-ink); }
.kj-info__nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.kj-info__nav li { margin: 0; }
.kj-info__nav a {
    display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px;
    background: var(--kj-surface); color: var(--kj-ink) !important; text-decoration: none !important; font-size: 15px;
}
.kj-info__nav .current-menu-item a { background: var(--kj-forest); color: var(--kj-on-forest) !important; }
.kj-info__updated { color: var(--kj-ink-2); font-size: 14px; margin-top: 32px; }
@media (min-width: 960px) {
    .kj-info__grid { grid-template-columns: 240px minmax(0, 1fr); column-gap: 56px; align-items: start; }
    .kj-info__grid > .entry-title { grid-column: 1 / -1; }
    .kj-info__nav { position: sticky; top: 104px; }
    .kj-info__nav ul { flex-direction: column; gap: 2px; }
    .kj-info__nav a { background: none; border-radius: var(--kj-radius-sm); width: 100%; }
    .kj-info__nav a:hover { background: var(--kj-surface); }
}

/* ---------- cont client: formulare pe toată lățimea ---------- */
body.kj .woocommerce-form-login .input-text, body.kj .woocommerce-form-register .input-text,
body.kj #customer_login .input-text, body.kj .woocommerce-EditAccountForm .input-text { width: 100% !important; max-width: none !important; }
body.kj #customer_login h2 { color: var(--kj-ink) !important; border: 0 !important; text-transform: none !important; }
body.kj .password-input { width: 100%; }
body.kj .col2-set { display: grid; gap: 32px; }
body.kj .col2-set::before, body.kj .col2-set::after { display: none !important; }
body.kj .col2-set > .col-1, body.kj .col2-set > .col-2 { float: none !important; width: auto !important; max-width: 520px; }
@media (min-width: 860px) { body.kj .col2-set { grid-template-columns: 1fr 1fr; gap: 64px; } }
body.kj .woocommerce-form-login, body.kj .woocommerce-form-register { width: 100% !important; }
@media (max-width: 899px) {
    .kj-gallery__stage { aspect-ratio: 5 / 4; padding: 20px; }
    .kj-gallery__thumb { width: 60px; height: 60px; }
    .kj-product { gap: 22px; }
}
body.kj .woocommerce-form__label-for-checkbox { display: block !important; position: relative; padding-left: 32px; }
body.kj .woocommerce-form__label-for-checkbox input { position: absolute; left: 0; top: 1px; margin: 0; }

/* ---------- 404 ---------- */
.kj-404 { max-width: 620px; padding-block: clamp(32px, 6vw, 80px) var(--kj-section) !important; }
.kj-404__text { font-size: 18px; color: var(--kj-ink-2); margin: 0 0 24px; }
.kj-404__search { display: block !important; max-width: 420px; margin-bottom: 24px; }
.kj-404__search input[type="search"], .kj-404__search input[type="search"]:focus { width: 100% !important; }
.kj-404__links { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }

/* ==========================================================================
   Runda 2 (după critică, 27.11.2026)
   ========================================================================== */

/* fondatoarea */
.kj-founder { background: var(--kj-surface); padding-block: var(--kj-section); overflow: hidden; }
.kj-founder__grid { display: grid; gap: 28px; align-items: center; }
.kj-founder__photo { margin: 0; position: relative; justify-self: center; width: min(56%, 220px); }
.kj-founder__photo::before { /* cerc cald în spatele portretului decupat */
    content: ""; position: absolute; inset: 14% 0 0 0; border-radius: 50% 50% 28px 28px;
    background: var(--kj-leaf-soft); box-shadow: inset 0 0 0 1px oklch(0.3 0.05 70 / 0.06);
}
.kj-founder__photo img { position: relative; display: block; width: 100%; height: auto; border-radius: 0 0 28px 28px; }
.kj-founder__text h2 { font-size: clamp(32px, 4.4vw, 50px); margin: 0 0 8px; }
.kj-founder__role { margin: 0 0 22px; font-weight: 700; color: var(--kj-forest); font-size: 17px; }
.kj-founder__quote { margin: 0 0 22px; padding: 0; border: 0; }
.kj-founder__quote p {
    font-family: var(--kj-serif); font-weight: 500; font-size: clamp(21px, 2.4vw, 28px);
    line-height: 1.35; margin: 0; color: var(--kj-ink); max-width: 34ch;
}
@media (min-width: 860px) {
    .kj-founder__grid { grid-template-columns: 280px minmax(0, 1fr); gap: clamp(40px, 5vw, 72px); }
    .kj-founder__photo { width: 280px; }
    .kj-founder__quote p { max-width: 46ch; }
    .kj-founder { padding-block: clamp(48px, 6vw, 80px); }
}

/* semnătura din hero, cu portretul */
.kj-hero__byline {
    display: inline-flex; align-items: center; gap: 12px; min-height: 44px;
    color: var(--kj-on-forest-2) !important; text-decoration: none !important; font-size: 15px; line-height: 1.4;
}
.kj-hero__byline img {
    width: 48px; height: 48px; flex: none; border-radius: 50%; object-fit: cover; object-position: 50% 12%;
    background: var(--kj-leaf-soft); box-shadow: 0 0 0 2px oklch(0.69 0.19 137 / 0.6);
}
/* fără cuvânt rămas singur pe rând: pe desktop lat totul stă pe un rând, altfel rânduri echilibrate */
.kj-hero__byline span { text-wrap: balance; }
@media (min-width: 1240px) {
    .kj-hero__grid > * { min-width: 0; }
    .kj-hero__byline span { text-wrap: nowrap; white-space: nowrap; }
}
.kj-hero__byline strong { color: var(--kj-on-forest); }
.kj-hero__byline:hover strong { text-decoration: underline; text-underline-offset: 3px; }

/* hero pe telefon: cărțile sus, mai mici; al doilea buton devine link */
@media (max-width: 959px) {
    .kj-hero { padding-block: 28px 44px; }
    .kj-hero__grid { gap: 24px; }
    .kj-hero__books { order: -1; height: 190px; margin: 0; }
    .kj-hero__book { width: 34%; }
    .kj-hero__book--1 { left: 33%; }
    .kj-hero__book--2 { left: 6%; }
    .kj-hero__book--3 { right: 6%; }
    .kj-hero__title { font-size: clamp(32px, 8.6vw, 44px) !important; margin-bottom: 14px; }
    .kj-hero__lead { margin-bottom: 22px; }
    .kj-hero__actions { align-items: center; gap: 8px 18px; margin-bottom: 18px; }
    body.kj .kj-hero .kj-btn--ghost-light { border: 0; padding-inline: 4px; min-height: 44px; text-decoration: underline !important; text-underline-offset: 4px; }
}

/* focus vizibil pe fundal deschis (WCAG 1.4.11): verde pe deschis, miere pe închis */
body.kj :focus-visible { outline: 3px solid var(--kj-forest); outline-offset: 3px; }
body.kj .kj-hero :focus-visible, body.kj .kj-footer :focus-visible,
body.kj .woocommerce-order-downloads :focus-visible { outline-color: #fff; }

/* ținte de atingere ≥44px */
.kj-link { min-height: 44px; }
.kj-footer li { margin: 0; }
.kj-footer__col a, .kj-footer__menu a, .kj-footer__contact a { display: inline-flex; align-items: center; min-height: 44px; }
.kj-footer__legal a { display: inline-block; padding-block: 10px; }
.kj-footer__logo { display: inline-flex; min-height: 44px; align-items: center; }

/* rânduri mai aerisite la titlurile din raft și carduri */
.kj-shelf__name, .kj-card__title, .kj-row__name, .kj-audio__name { line-height: 1.3; }

/* raftul: o scândură, nu un chenar */
@media (min-width: 1100px) {
    .kj-shelf__list { border-bottom: 0; box-shadow: none; position: relative; }
    .kj-shelf__list::after {
        content: ""; position: absolute; left: -12px; right: -12px; bottom: 0; height: 10px; border-radius: 3px;
        background: var(--kj-surface); box-shadow: 0 6px 14px -8px oklch(0.25 0.02 60 / 0.35);
    }
}

/* butonul de cookies (serviciu extern): mic, în dreapta, deasupra zonei degetului */
body.kj #hu-revoke {
    left: auto !important; right: 12px !important; bottom: 96px !important; top: auto !important;
    transform: scale(0.72); transform-origin: bottom right; opacity: 0.8;
}
@media (min-width: 900px) { body.kj #hu-revoke { bottom: 24px !important; } }

/* sertarul de meniu: fundal întunecat în spate, pagina nu mai e activă */
body.kj.kj-nav-open::after {
    content: ""; position: fixed; inset: 0; z-index: calc(var(--kj-z-header) - 1);
    background: oklch(0.2 0.02 60 / 0.35);
}
body.kj.kj-nav-open { overflow: hidden; }

/* căutare pe telefon: iconiță în header + câmp în meniu */
body.kj .kj-tool--search { border: 0; background: none; cursor: pointer; padding: 0; }
.kj-search--drawer { display: block; margin: 8px 0 6px; }
.kj-search--drawer input[type="search"], .kj-search--drawer input[type="search"]:focus { width: 100%; height: 50px; font-size: 17px; }
.kj-search--drawer button { top: 7px; }
@media (min-width: 1024px) {
    body.kj .kj-tool--search { display: none; }
    .kj-search--drawer { display: none !important; }
}

/* grija pe card (aceeași etichetă ca pe raftul de pe homepage) */
.kj-card__format { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.kj-card__topic {
    font-size: 12.5px; font-weight: 700; color: var(--kj-forest);
    background: var(--kj-leaf-soft); border-radius: 999px; padding: 2px 9px;
}
/* iconița de căști la meditații: linie, nu plin */
.kj-audio__play .kj-icon--headphones { width: 22px; height: 22px; fill: none; stroke: currentColor; margin: 0; }

/* ---------- textură în loc de verde plin (hero + footer) ---------- */
body.kj { --kj-texture: url('../../images/textura-brand.webp'); }
.kj-hero, .kj-footer {
    background-color: var(--kj-forest);
    background-image:
        linear-gradient(180deg, oklch(0.32 0.1 138 / 0.55), oklch(0.29 0.08 138 / 0.72)),
        var(--kj-texture);
    background-size: cover, cover;
    background-position: center, center 30%;
    background-blend-mode: normal, multiply;
}
.kj-footer {
    background-color: var(--kj-forest-2);
    background-image:
        linear-gradient(oklch(0.27 0.08 138 / 0.8), oklch(0.27 0.08 138 / 0.8)),
        var(--kj-texture);
    background-position: center, center 70%;
}

/* ---------- textura spray, recolorată în verdele din logo (01.12.2026) ---------- */
.kj-hero {
    background-image:
        linear-gradient(90deg, oklch(0.31 0.1 138 / 0.86) 0%, oklch(0.32 0.1 138 / 0.7) 45%, oklch(0.35 0.1 138 / 0.25) 100%),
        var(--kj-texture);
    background-blend-mode: normal, normal;
    background-position: center, 70% 40%;
}
.kj-footer {
    background-image:
        linear-gradient(oklch(0.33 0.098 138 / 0.9), oklch(0.33 0.098 138 / 0.9)),
        var(--kj-texture);
    background-blend-mode: normal, normal;
}
/* pe telefon textul ocupă toată lățimea: strat uniform, mai dens */
@media (max-width: 959px) {
    .kj-hero {
        background-image:
            linear-gradient(180deg, oklch(0.5 0.15 138 / 0.3) 0%, oklch(0.41 0.125 138 / 0.88) 36%, oklch(0.40 0.122 138 / 0.92) 100%),
            var(--kj-texture);
        background-position: center, 60% 20%;
    }
}

/* breadcrumbs + ajutor lângă cumpărare */
.kj-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 15px; color: var(--kj-ink-2); margin: 0 0 -4px; }
.kj-crumbs a { display: inline-flex; align-items: center; min-height: 44px; color: var(--kj-ink-2) !important; text-decoration: none !important; }
.kj-crumbs a:hover { color: var(--kj-forest) !important; text-decoration: underline !important; }
.kj-buy__help { margin: 2px 0 0; font-size: 15px; color: var(--kj-ink-2); line-height: 1.5; }
.kj-buy__help a { font-weight: 700; color: var(--kj-forest) !important; display: inline-block; padding-block: 10px; }

/* „Ce primești” (eBook-uri) */
.kj-contents { border-top: 1px solid var(--kj-line); border-bottom: 1px solid var(--kj-line); padding: 16px 0; }
.kj-contents__title { margin: 0 0 8px; font-weight: 700; color: var(--kj-ink); }
.kj-contents ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.kj-contents li { position: relative; padding-left: 26px; color: var(--kj-ink-2); font-size: 16px; line-height: 1.45; }
.kj-contents li::before {
    content: ""; position: absolute; left: 2px; top: 6px; width: 12px; height: 7px;
    border-left: 2px solid var(--kj-forest); border-bottom: 2px solid var(--kj-forest); transform: rotate(-45deg);
}
.kj-contents__hint { margin: 10px 0 0; font-size: 14px; color: var(--kj-ink-2); }
/* paginile din eBook sunt pe orizontală: fără umbra de carte, cu chenar fin */
.kj-gallery__main[src*="ebook-pagini"] { box-shadow: 0 1px 2px oklch(0.25 0.02 60 / 0.12), 0 12px 30px -18px oklch(0.25 0.02 60 / 0.4); border-radius: 4px; }

/* ==========================================================================
   Runda 3 (după a doua critică, 31/40)
   ========================================================================== */

/* hero desktop: strat verde dens pe toată coloana de text, textura liberă doar sub cărți */
@media (min-width: 960px) {
    .kj-hero {
        background-image:
            linear-gradient(90deg, oklch(0.40 0.122 138 / 0.93) 0%, oklch(0.41 0.125 138 / 0.9) 46%, oklch(0.48 0.14 138 / 0.4) 70%, oklch(0.55 0.16 138 / 0.12) 100%),
            var(--kj-texture);
    }
}
/* hero mobil: puțin aer între cărți și titlu (și în timpul animației) */
@media (max-width: 959px) {
    .kj-hero__books { margin-bottom: 18px; }
}

/* meniu: X când e deschis; telefonul din meniu la 44px */
.kj-header__burger .kj-icon--close { display: none; }
.kj-header__burger[aria-expanded="true"] .kj-icon--menu { display: none; }
.kj-header__burger[aria-expanded="true"] .kj-icon--close { display: block; }
.kj-nav__phone { min-height: 44px; }

/* pagina de produs pe telefon: galeria nu mai ocupă tot ecranul, prețul apare mai repede */
@media (max-width: 899px) {
    .kj-gallery__stage { aspect-ratio: auto; height: min(46vh, 380px); padding: 16px; }
    .kj-gallery__main { max-height: 100%; }
    .kj-gallery__thumbs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
    .kj-gallery__thumb { flex: none; width: 56px; height: 56px; }
}

/* text legal din footer: rânduri de lungime citibilă */
.kj-footer__legal p { max-width: 75ch; }

/* bară de cumpărare fixă pe telefon (apare cât timp butonul real nu e pe ecran) */
.kj-stickybuy { display: none; }
@media (max-width: 899px) {
    .kj-stickybuy {
        display: flex; align-items: center; gap: 12px;
        position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--kj-z-header);
        padding: 10px var(--kj-gutter) calc(10px + env(safe-area-inset-bottom));
        background: var(--kj-white); border-top: 1px solid var(--kj-line);
        box-shadow: 0 -8px 24px -16px oklch(0.25 0.02 60 / 0.35);
        transform: translateY(110%); transition: transform .3s var(--kj-ease);
    }
    .kj-stickybuy.is-on { transform: none; }
    .kj-stickybuy__info { display: flex; flex-direction: column; min-width: 0; flex: 1; }
    .kj-stickybuy__name { font-size: 13.5px; color: var(--kj-ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .kj-stickybuy__price { font-weight: 700; font-size: 18px; color: var(--kj-ink); }
    body.kj .kj-stickybuy__btn {
        flex: none; display: inline-flex; align-items: center; min-height: 48px; padding: 0 20px; border-radius: 999px;
        background: var(--kj-cta); color: var(--kj-on-cta) !important; font-weight: 700; text-decoration: none !important;
    }
    body.kj.single-product #hu-revoke { bottom: 84px !important; }
}
.kj-free { color: var(--kj-forest); }

/* ---------- culori de brand: finisaje (01.12.2026) ---------- */
/* pe verde, butonul principal e alb cu text roșu: roșu direct pe verde nu se distinge (și nu se vede la daltonism) */
body.kj .kj-hero .kj-btn--cta { background: #fff; color: var(--kj-apple); }
body.kj .kj-hero .kj-btn--cta:hover { background: #faf6f0; color: var(--kj-apple-hover); }
body.kj .kj-hero :focus-visible, body.kj .kj-footer :focus-visible { outline-color: #fff; }
/* notificarea „adăugat în coș”: text și buton pe același rând */
body.kj .woocommerce-message { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; }
body.kj .woocommerce-message::before, body.kj .woocommerce-message::after { display: none !important; }
body.kj .woocommerce-message .wc-forward { order: 2; float: none; margin: 0; }
/* checkout: câmpurile folosesc toată coloana */
body.kj.woocommerce-checkout form.checkout #customer_details { grid-template-columns: minmax(0, 1fr); }
body.kj form.checkout #customer_details .col-1, body.kj form.checkout #customer_details .col-2 { width: 100%; float: none; max-width: none; }
body.kj .woocommerce-checkout .form-row .description { color: var(--kj-ink-2); }
