/* =========================================================
 * Bookora – Frontend styles
 * All rules scoped under .bkr- so they can't leak into
 * JobScout / other themes. Full-bleed sections escape any
 * theme container with 100vw + calc(50% - 50vw).
 * ========================================================= */

:root { --bkr-accent: #0F4CFF; }

.bkr-fullbleed{
    position:relative;
    width:100vw;
    left:50%;
    right:50%;
    margin-left:-50vw;
    margin-right:-50vw;
    padding:2rem 0 4rem;
    background:#fff;
    color:#0f172a;
    font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;
    line-height:1.6;
    box-sizing:border-box;
}
.bkr-fullbleed *,.bkr-fullbleed *::before,.bkr-fullbleed *::after{box-sizing:border-box}

/* .bkr-container removed — each section now carries its own
   max-width + padding via a dedicated -inner/-wrap class below. */

/* ---------- breadcrumb ---------- */
.bkr-crumbs{
    font-size:.85rem;color:#64748b;margin-bottom:1.5rem;display:flex;flex-wrap:wrap;gap:.4rem;align-items:center;
}
.bkr-crumbs a{color:#334155;text-decoration:none;transition:color .15s}
.bkr-crumbs a:hover{color:var(--bkr-accent)}
.bkr-crumbs span{color:#cbd5e1}

.bkr-single-wrap{
    max-width:1200px;
    margin:0 auto;
    padding:0 clamp(1rem,3vw,2rem);
}

/* ---------- grid ---------- */
.bkr-grid{
    display:grid;
    grid-template-columns:minmax(0,340px) minmax(0,1fr);
    gap:clamp(1.5rem,4vw,3rem);
    align-items:start;
}
@media (max-width:820px){ .bkr-grid{ grid-template-columns:1fr; } }

.bkr-cover-col{position:sticky;top:2rem}
@media (max-width:820px){ .bkr-cover-col{position:static} }

.bkr-cover{
    background:#f1f5f9;
    border-radius:16px;
    overflow:hidden;
    position:relative;
}
.bkr-cover img{width:100%;height:100%;object-fit:cover;display:block}

.bkr-look-inside{
    display:flex;align-items:center;justify-content:center;gap:.5rem;
    width:100%;margin-top:1rem;padding:.75rem 1rem;
    background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;
    color:#0f172a;font-weight:600;text-decoration:none;font-size:.9rem;
    transition:background .15s,border-color .15s;
}
.bkr-look-inside:hover{background:#fff;border-color:var(--bkr-accent);color:var(--bkr-accent)}

/* ---------- info column ---------- */
.bkr-info-col{min-width:0}

.bkr-eyebrow{display:flex;flex-wrap:wrap;gap:.6rem;align-items:center;margin-bottom:.75rem}
.bkr-eyebrow .bkr-stars{margin-left:auto;margin-bottom:0}
.bkr-cat{
    font-size:.7rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;
    color:var(--bkr-accent);background:color-mix(in oklab,var(--bkr-accent) 10%,white);
    padding:.35rem .7rem;border-radius:999px;
}
.bkr-badge{
    font-size:.7rem;font-weight:700;letter-spacing:.05em;text-transform:uppercase;
    color:#fff;background:linear-gradient(135deg,#f59e0b,#ef4444);
    padding:.35rem .7rem;border-radius:999px;
}

.bkr-title{
    font-family:'Fraunces','Inter',serif;font-weight:700;
    font-size:clamp(1.75rem,3.5vw,2.75rem);
    line-height:1.15;margin:.25rem 0 .5rem;color:#0f172a;
    letter-spacing:-.02em;
}
.bkr-byline{color:#64748b;font-size:1rem;margin:0 0 1rem}
.bkr-byline strong{color:#0f172a;font-weight:600}

/* ---------- stars ---------- */
.bkr-stars{display:flex;align-items:center;gap:.35rem;margin-bottom:1.5rem;flex-wrap:wrap}
.bkr-stars .fas,.bkr-stars .far{color:#ffd250!important;font-size:1rem}
.bkr-stars .far{color:#cbd5e1!important}
.bkr-rating-num{font-weight:600;color:#0f172a;margin-left:.25rem}
.bkr-rating-count{color:#64748b;font-size:.9rem;text-decoration:none}
.bkr-rating-count:hover{color:var(--bkr-accent)}

/* ---------- purchase box ---------- */
.bkr-purchase{
    background:linear-gradient(180deg,#f8fafc,#ffffff);
    border:1px solid #e2e8f0;border-radius:16px;
    padding:1.25rem;margin-bottom:2rem;
}
.bkr-price-row{display:flex;align-items:baseline;gap:.75rem;flex-wrap:wrap;margin-bottom:1rem}
.bkr-price{font-size:2rem;font-weight:800;color:#0f172a;line-height:1}
.bkr-price-old{color:#94a3b8;font-size:1.15rem}
.bkr-perks{list-style:none;padding:0;margin:0 0 1.25rem;display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:.5rem;font-size:.85rem;color:#475569}
.bkr-perks li{display:flex;gap:.5rem;align-items:center}
.bkr-perks i{color:var(--bkr-accent)}

.bkr-btn-row{display:flex;flex-wrap:wrap;gap:.6rem}
.bkr-btn{
    display:inline-flex;align-items:center;justify-content:center;gap:.5rem;
    padding:.75rem 1.25rem;border-radius:10px;border:1px solid transparent;
    font-weight:600;font-size:.95rem;cursor:pointer;text-decoration:none;
    font-family:inherit;line-height:1;transition:transform .15s,box-shadow .15s,background .15s,color .15s,border-color .15s;
    min-height:44px;
}
.bkr-btn-sm{padding:.5rem .85rem;font-size:.85rem;min-height:36px}
.bkr-btn-primary{background:var(--bkr-accent);color:#fff}
.bkr-btn-primary:hover{filter:brightness(1.08);transform:translateY(-1px);box-shadow:0 10px 20px -10px var(--bkr-accent)}
.bkr-btn-cart{background:#0f172a;color:#fff}
.bkr-btn-cart:hover{background:#1e293b;transform:translateY(-1px)}
.bkr-btn-cart.is-loading{opacity:.7;pointer-events:none}
.bkr-btn-cart.is-loading i{animation:bkr-spin .8s linear infinite}
.bkr-btn-ghost{background:#fff;color:#0f172a;border-color:#e2e8f0}
.bkr-btn-ghost:hover{border-color:var(--bkr-accent);color:var(--bkr-accent)}

@keyframes bkr-spin{to{transform:rotate(360deg)}}

.bkr-cart-msg{margin-top:.75rem;font-size:.9rem;min-height:1.2em}
.bkr-cart-msg.is-ok{color:#059669}
.bkr-cart-msg.is-err{color:#dc2626}

/* ---------- tabs ---------- */
.bkr-tabs{
    display:flex;flex-wrap:nowrap;gap:.25rem;
    border-bottom:2px solid #e2e8f0;margin-bottom:1.5rem;
    overflow-x:auto;-webkit-overflow-scrolling:touch;
    scrollbar-width:thin;
}
.bkr-tab{
    background:transparent;border:0;padding:.85rem 1rem;
    font-weight:600;cursor:pointer;
    display:inline-flex;align-items:center;gap:.5rem;
    border-bottom:2px solid transparent;white-space:nowrap;
    transition:color .15s,border-color .15s;
    font-size:12px;
}
.bkr-tab:hover{color:#0f172a}
.bkr-tab.is-active{color:var(--bkr-accent);border-bottom-color:var(--bkr-accent)}
.bkr-tab-count{background:var(--bkr-accent);color:#fff;font-size:.7rem;padding:.15rem .5rem;border-radius:999px;margin-left:.25rem}

.bkr-panel{animation:bkr-fade .25s ease-out}
@keyframes bkr-fade{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}

.bkr-content{color:#334155;font-size:1rem}
.bkr-content p{margin:0 0 1rem}
.bkr-content h2,.bkr-content h3{color:#0f172a;margin:1.5rem 0 .5rem}
.bkr-sub{font-family:'Fraunces',serif;font-size:1.25rem;margin:1.5rem 0 .75rem;color:#0f172a}

/* specs table */
.bkr-specs{width:100%;border-collapse:collapse;font-size:.95rem}
.bkr-specs th,.bkr-specs td{padding:.75rem 1rem;text-align:left;border-bottom:1px solid #f1f5f9}
.bkr-specs th{width:35%;color:#64748b;font-weight:500}
.bkr-specs td{color:#0f172a;font-weight:600}

/* author */
.bkr-author-card{display:flex;gap:1rem;align-items:flex-start}
.bkr-avatar{
    width:56px;height:56px;flex-shrink:0;border-radius:50%;
    background:linear-gradient(135deg,var(--bkr-accent),color-mix(in oklab,var(--bkr-accent) 60%,#000));
    color:#fff;display:flex;align-items:center;justify-content:center;
    font-size:1.5rem;font-weight:700;text-transform:uppercase;
}
.bkr-author-name{margin:0 0 .5rem;font-size:1.15rem;color:#0f172a}

/* included */
.bkr-included{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}
.bkr-included li{
    display:flex;gap:.5rem;align-items:center;
}
.bkr-included i{color:#059669}

/* =========================================================
 * Reviews
 * ========================================================= */
.bkr-reviews-head{
    display:flex;flex-wrap:wrap;gap:1rem;align-items:center;justify-content:space-between;
    padding:1.25rem;border:1px solid #e2e8f0;border-radius:14px;margin-bottom:1.5rem;background:#f8fafc;
}
.bkr-reviews-summary{display:flex;align-items:center;gap:1rem;flex-wrap:wrap}
.bkr-agg-num{font-size:2.5rem;font-weight:800;color:#0f172a;line-height:1;font-family:'Fraunces',serif}
.bkr-agg-stars .fas,.bkr-agg-stars .far{color:#f59e0b;font-size:1.1rem}
.bkr-agg-stars .far{color:#cbd5e1}
.bkr-agg-count{color:#64748b;font-size:.9rem;width:100%}

.bkr-review-form{
    background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:1.25rem;margin-bottom:1.5rem;
}
.bkr-form-row{margin-bottom:1rem}
.bkr-form-row > label{display:block;font-weight:600;color:#0f172a;margin-bottom:.5rem}
.bkr-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
@media (max-width:600px){ .bkr-form-grid{grid-template-columns:1fr} }
.bkr-form-grid label{display:flex;flex-direction:column;gap:.35rem;margin:0}
.bkr-form-grid label span{font-weight:600;color:#0f172a;font-size:.9rem}
.bkr-review-form input[type=text],.bkr-review-form input[type=email],.bkr-review-form textarea{
    width:100%;padding:.65rem .85rem;border:1px solid #e2e8f0;border-radius:8px;
    font:inherit;font-size:.95rem;color:#0f172a;background:#fff;transition:border-color .15s,box-shadow .15s;
}
.bkr-review-form input:focus,.bkr-review-form textarea:focus{outline:0;border-color:var(--bkr-accent);box-shadow:0 0 0 3px color-mix(in oklab,var(--bkr-accent) 20%,transparent)}
.bkr-review-form textarea{resize:vertical;min-height:100px}

.bkr-rate-input{display:flex;gap:.15rem}
.bkr-rate-star{background:transparent;border:0;padding:.2rem;cursor:pointer;font-size:1.5rem;color:#cbd5e1;line-height:1;transition:transform .1s,color .15s}
.bkr-rate-star:hover{transform:scale(1.1)}
.bkr-rate-star.is-on{color:#f59e0b}
.bkr-rate-star.is-on i{font-weight:900}
.bkr-rate-star.is-on i::before{content:"\f005"} /* solid star */

.bkr-form-actions{display:flex;gap:.5rem;flex-wrap:wrap;margin-bottom:0}
.bkr-review-msg{margin-top:.75rem;font-size:.9rem;min-height:1em}
.bkr-review-msg.is-ok{color:#059669}
.bkr-review-msg.is-err{color:#dc2626}
.bkr-notice{padding:1rem;background:#fef3c7;border-radius:8px;color:#78350f;display:flex;flex-wrap:wrap;gap:.75rem;align-items:center;justify-content:space-between}

.bkr-review-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:1rem}
.bkr-review{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:1rem 1.25rem}
.bkr-review-empty{color:#64748b;text-align:center;padding:2rem;border:1px dashed #e2e8f0;border-radius:12px}
.bkr-review-head{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap;margin-bottom:.5rem}
.bkr-review-avatar{
    width:36px;height:36px;flex-shrink:0;border-radius:50%;background:#e2e8f0;
    display:flex;align-items:center;justify-content:center;font-weight:700;color:#334155;text-transform:uppercase;
}
.bkr-review-name{color:#0f172a;font-weight:600}
.bkr-review-date{color:#94a3b8;font-size:.8rem;margin-left:.5rem}
.bkr-review-stars{margin-left:auto}
.bkr-review-stars .fas,.bkr-review-stars .far{color:#f59e0b;font-size:.85rem}
.bkr-review-stars .far{color:#cbd5e1}
.bkr-review-body{color:#334155;margin:.25rem 0 0;line-height:1.6;word-wrap:break-word}

/* =========================================================
 * Shortcode/archive grid
 * ========================================================= */
.bkr-shortcode-grid{
    display:grid;
    grid-template-columns:repeat(var(--bkr-cols,2),minmax(0,1fr));
    gap:1.5rem;
    margin:1.5rem clamp(1rem,3vw,2rem); /* left/right margin so the grid never touches the viewport edge */
}
/* Desktop: 6+ columns (or whatever --bkr-cols is set to, up to 6).
   Tablet: 3+ columns. Mobile: 2+ columns. */
@media (max-width:820px){ .bkr-shortcode-grid{grid-template-columns:repeat(2,1fr)} }
@media (max-width:520px){ .bkr-shortcode-grid{grid-template-columns:repeat(2,1fr)} }

.bkr-card{
    display:flex;flex-direction:column;background:#fff;border:1px solid #e2e8f0;border-radius:14px;overflow:hidden;
    transition:transform .2s,box-shadow .2s,border-color .2s;
}
.bkr-card:hover{transform:translateY(-3px);box-shadow:0 20px 30px -20px rgba(15,23,42,.2);border-color:#cbd5e1}
.bkr-card-cover{position:relative;display:block;background:#f1f5f9;overflow:hidden}
.bkr-card-cover img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s}
.bkr-card:hover .bkr-card-cover img{transform:scale(1.03)}
.bkr-card-badge{
    position:absolute;top:.75rem;left:.75rem;
    background:linear-gradient(135deg,#f59e0b,#ef4444);color:#fff;
    font-size:.65rem;font-weight:700;letter-spacing:.05em;text-transform:uppercase;
    padding:.3rem .6rem;border-radius:999px;
}
.bkr-card-body{padding:1rem;display:flex;flex-direction:column;gap:.4rem;flex:1}
.bkr-card-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:.6rem}
.bkr-card-title{margin:0;font-family:'Fraunces',serif;font-size:1.1rem;line-height:1.25;min-width:0}
.bkr-card-title a{color:#0f172a;text-decoration:none}
.bkr-card-title a:hover{color:var(--bkr-accent)}
.bkr-card-author{color:#64748b;font-size:.85rem;margin:0}
/* Compact right-aligned rating: single star + numeric rating + review count,
   sits beside the book name instead of a 5-star row underneath it. */
.bkr-card-rating{
    display:flex;align-items:center;gap:.25rem;font-size:.78rem;color:#0f172a;
    white-space:nowrap;flex-shrink:0;margin-top:.15rem;
}
.bkr-card-rating .fas{color:#ffd250!important;font-size:.8rem}
.bkr-card-rating-num{font-weight:700}
.bkr-card-rating-count{color:#94a3b8;font-weight:400}
.bkr-card-foot{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:.5rem}
.bkr-card-price{font-weight:800;color:#0f172a;font-size:1.05rem}
.bkr-empty{color:#64748b;text-align:center;padding:2rem;grid-column:1/-1}

/* Mobile card text overrides */
@media (max-width:640px){
  .bkr-card-title-row{display:block}
  .bkr-card-title{font-family:inherit;font-size:.65rem}
  .bkr-card-author{font-size:.65rem!important}
}

/* archive header */
.bkr-arch-head{text-align:center;margin-bottom:2rem}
.bkr-arch-head h1{font-family:'Fraunces',serif;font-size:clamp(1.75rem,3.5vw,2.75rem);color:#0f172a;margin:0}

/* pagination */
.bkr-pagination{display:flex;flex-wrap:wrap;justify-content:center;gap:.5rem;margin-top:2rem}
.bkr-pagination .page-numbers{
    display:inline-flex;align-items:center;justify-content:center;min-width:38px;height:38px;padding:0 .6rem;
    border:1px solid #e2e8f0;border-radius:8px;color:#0f172a;text-decoration:none;font-weight:600;
}
.bkr-pagination .page-numbers.current{background:var(--bkr-accent);color:#fff;border-color:var(--bkr-accent)}
.bkr-pagination .page-numbers:hover:not(.current){border-color:var(--bkr-accent);color:var(--bkr-accent)}

/* =========================================================
 * JobScout theme compat overrides.
 * JobScout wraps content in .site-content .container which
 * clips full-width elements. Our .bkr-fullbleed already
 * escapes that. Also ensure the theme's site padding doesn't
 * bleed into star colors etc.
 * ========================================================= */
body.bkr-single-page .site-content,
body.bkr-single-page .content-area,
body.bkr-single-page main,
body.bkr-archive-page .site-content{
    padding-left:0!important;padding-right:0!important;max-width:none!important;
}
body.bkr-single-page .entry-header,
body.bkr-single-page .entry-footer,
body.bkr-single-page .post-thumbnail{display:none!important}
body.bkr-single-page article.post,
body.bkr-single-page article.type-bkr_book{background:transparent!important;box-shadow:none!important;border:0!important;padding:0!important;margin:0!important}

/* ==================== Landing / Hero / Carousel ====================
 * Hand-crafted look + featured-book showcase cloned from the Lumina
 * Ebook Store landing page (sketch hero, hand-drawn illustration,
 * paper texture) and its native "showcase" carousel (same 220px card
 * size, Georgia serif type, dot pagination + single advance arrow).
 * ==================================================================== */
.bkr-landing{padding-top:0}

/* ---- Sketch / hand-crafted hero ---- */
.bkr-hero{
    position:relative;overflow:hidden;
    padding:clamp(3rem,7vw,5.5rem) 0;
    background:#f5f0e6;
}
.bkr-hero-bg{position:absolute;inset:0;pointer-events:none;overflow:hidden}
.bkr-hero-bg::before{
    content:'';position:absolute;inset:0;
    background-image:repeating-linear-gradient(0deg,transparent,transparent 2px,rgba(139,125,107,.05) 2px,rgba(139,125,107,.05) 4px);
}
.bkr-blob{position:absolute;border-radius:50%;filter:blur(70px);opacity:.18}
.bkr-blob-1{width:380px;height:380px;background:#1a2744;top:-140px;left:-100px}
.bkr-blob-2{width:320px;height:320px;background:#c45d3e;bottom:-140px;right:-80px}
.bkr-blob-3{width:220px;height:220px;background:#d4a017;top:35%;left:50%}

.bkr-hero-inner{
    position:relative;z-index:2;display:grid;grid-template-columns:1.1fr 1fr;
    gap:clamp(2rem,5vw,4rem);align-items:center;
    max-width:1200px;margin:0 auto;padding:0 clamp(1rem,3vw,2rem);
}
.bkr-hero-eyebrow{
    display:inline-flex;align-items:center;gap:.5rem;background:rgba(255,255,255,.75);
    padding:.4rem .9rem;border-radius:999px;font-size:.85rem;font-weight:600;color:#1a2744;
    border:1px solid rgba(26,39,68,.15);
}
.bkr-dot{width:8px;height:8px;border-radius:50%;background:#c45d3e;box-shadow:0 0 0 4px rgba(196,93,62,.2);animation:bkr-pulse 2s ease-in-out infinite}
@keyframes bkr-pulse{0%,100%{transform:scale(1)}50%{transform:scale(1.25)}}

.bkr-hero-title{
    font-family:'Caveat','Fraunces',cursive;
    font-size:clamp(2.6rem,6vw,4.6rem);font-weight:700;
    color:#1a2744;line-height:1.1;letter-spacing:-.02em;
    margin:1rem 0 1rem;transform:rotate(-1.2deg);display:inline-block;position:relative;
}
.bkr-hero-title::after{
    content:'';position:absolute;bottom:.12em;left:-.1em;right:-.1em;height:.15em;
    background:#d4a017;opacity:.5;z-index:-1;border-radius:2px;transform:rotate(1deg) skewX(-5deg);
}
.bkr-hero-grad{color:#c45d3e;font-family:'Caveat','Fraunces',cursive;font-weight:700}
.bkr-hero-sub{
    font-family:'Crimson Text',Georgia,serif;font-size:clamp(1.05rem,1.6vw,1.2rem);
    color:#4a5568;line-height:1.75;max-width:52ch;margin:0 0 1.75rem;
}
.bkr-hero-cta{display:flex;flex-wrap:wrap;gap:1rem;margin-bottom:2rem;align-items:center}
.bkr-hero-btn-sketch{
    font-family:'Caveat','Fraunces',cursive;font-size:1.25rem;font-weight:700;
    background:transparent;color:#1a2744;border:2.5px solid #1a2744;border-radius:0;
    padding:.55rem 1.75rem;transform:rotate(-1deg);position:relative;
    box-shadow:none;transition:all .2s ease;min-height:0;text-decoration:none;display:inline-block;cursor:pointer;
}
.bkr-hero-btn-sketch::before{
    content:'';position:absolute;top:3px;left:3px;right:-3px;bottom:-3px;
    border:2px solid #c45d3e;z-index:-1;opacity:.6;transform:rotate(1deg);
}
.bkr-hero-btn-sketch:hover{background:#1a2744;color:#f5f0e6;transform:rotate(0) scale(1.02)}
.bkr-hero-btn-link{
    font-family:'Caveat','Fraunces',cursive;font-size:1.15rem;font-weight:700;
    background:none;border:0;color:#c45d3e;text-decoration:none;
    border-bottom:2px solid #d4a017;padding:0 0 .15rem;transform:rotate(1deg);
    min-height:0;border-radius:0;box-shadow:none;display:inline-block;cursor:pointer;
}
.bkr-hero-btn-link:hover{color:#1a2744;border-bottom-color:#1a2744;transform:rotate(0)}
.bkr-hero-stats{display:flex;gap:clamp(1rem,3vw,2.5rem);flex-wrap:wrap}
.bkr-hero-stats>div{display:flex;flex-direction:column}
.bkr-hero-stats strong{font-size:clamp(1.4rem,2.5vw,1.75rem);font-weight:800;color:#1a2744;line-height:1;font-family:'Fraunces',serif}
.bkr-hero-stats span{font-size:.85rem;color:#6b5b4a;margin-top:.25rem;font-family:'Crimson Text',Georgia,serif}

/* Hand-drawn illustration (replaces the photo-stack) */
.bkr-hero-visual{display:flex;justify-content:center;position:relative}
.bkr-hero-visual svg{max-width:420px;width:100%}

.bkr-catalog-wrap{max-width:1200px;margin:0 auto;padding:0 clamp(1rem,3vw,2rem)}
.bkr-section-head{display:flex;justify-content:space-between;align-items:center;margin:2.5rem 0 1.25rem;gap:1rem;flex-wrap:wrap}
.bkr-section-head h2{font-size:clamp(1.4rem,2.5vw,1.9rem);font-weight:800;color:#0f172a;margin:0}

/* Category list beside "All Books" — tap to filter the catalog grid
   (replaces the old standalone category-chips band). */
.bkr-cat-filter{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center}
.bkr-cat-link{
    padding:.45rem 1rem;border-radius:999px;background:#f1f5f9;color:#334155;
    font-size:.85rem;font-weight:500;text-decoration:none;transition:all .15s ease;white-space:nowrap;
}
.bkr-cat-link:hover{background:color-mix(in oklab,var(--bkr-accent) 15%,white);color:var(--bkr-accent)}
.bkr-cat-link.is-active{background:var(--bkr-accent);color:#fff}

/* ---- Featured-books "showcase" carousel — dot pagination, single
   advance arrow, light-gray section background. Cards inside the
   carousel reuse the exact same .bkr-card component (and therefore
   the exact same size/appearance) used by the [bookora_store] grid,
   just laid out in a horizontally-scrolling track instead of a grid. ---- */
.bkr-showcase{padding:32px clamp(1rem,3vw,2rem) 40px}
.bkr-showcase-inner{max-width:1200px;margin:0 auto}
.bkr-section-head.bkr-showcase-header{margin:0 0 16px}
.bkr-section-head.bkr-showcase-header h2{
    font-size:28px;font-weight:800;color:#0f172a;letter-spacing:-.5px;
}
.bkr-carousel-nav{display:flex;gap:.5rem}
.bkr-car-btn{
    width:40px;height:40px;border-radius:50%;border:none;background:transparent;
    font-size:1.5rem;line-height:1;cursor:pointer;color:#333;transition:background-color .2s;
    display:flex;align-items:center;justify-content:center;
}
.bkr-car-btn:hover{background:rgba(0,0,0,.06)}

.bkr-showcase-dots{display:flex;gap:10px;margin-bottom:20px;align-items:center;flex-wrap:wrap}
.bkr-dot-nav{
    width:10px;height:10px;border-radius:50%;background-color:#d4d4d4;cursor:pointer;
    border:none;padding:0;transition:background-color .3s;flex-shrink:0;
}
.bkr-dot-nav.active{background-color:#2196f3}

/* left/right margin so the carousel never touches the viewport edge
   when embedded standalone via the [bookora_carousel] shortcode */
.bkr-carousel{overflow:hidden;position:relative;margin:0 clamp(.25rem,1vw,.5rem)}
.bkr-carousel-track{
    display:flex;gap:1.5rem;overflow-x:auto;scroll-snap-type:x mandatory;
    -webkit-overflow-scrolling:touch;scroll-behavior:smooth;padding:2px 2px 8px;
    scrollbar-width:none;
    --bkr-cols:2; /* default: 2 columns */
}
.bkr-carousel-track::-webkit-scrollbar{display:none}
/* Card width = same column math as .bkr-shortcode-grid, so a carousel
   card is always the same size as a [bookora_store] grid card. */
.bkr-carousel-track .bkr-card{
    flex:0 0 calc((100% - (var(--bkr-cols,2) - 1)*1.5rem)/var(--bkr-cols,2));
    scroll-snap-align:start;
}

@media (max-width:820px){
  .bkr-hero-inner{grid-template-columns:1fr}
  .bkr-hero-visual{display:none} /* hero illustration: desktop only, hidden on tablet + mobile */
  .bkr-carousel-track{--bkr-cols:2}
}
@media (max-width:640px){
  .bkr-section-head.bkr-showcase-header h2{font-size:24px}
}
@media (max-width:520px){
  .bkr-hero-stats{gap:1.25rem}
  .bkr-hero-cta{flex-direction:column;align-items:flex-start}
  .bkr-carousel-track{--bkr-cols:2}
}
