/* ============================================================
   JEEVA NADI BOOKS
   PREMIUM DARK BOOKSTORE — VISUAL REDESIGN
   ------------------------------------------------------------
   HTML      : UNCHANGED
   books.js  : UNCHANGED
   FUNCTION  : UNCHANGED
   LAYOUT    : UNCHANGED

   DESIGN DIRECTION
   ------------------------------------------------------------
   • Deep midnight/navy atmosphere
   • Antique gold editorial accents
   • Premium Christian bookstore aesthetic
   • Stronger depth and lighting
   • Less generic card styling
   • More cinematic hero
   • Book-focused visual hierarchy
   • Responsive without changing structure
============================================================ */


/* ============================================================
   01 — DESIGN TOKENS
============================================================ */

:root {

    --jn-navy-950: #010711;
    --jn-navy-925: #020a18;
    --jn-navy-900: #041126;
    --jn-navy-875: #061735;
    --jn-navy-850: #081d40;
    --jn-navy-800: #0b254d;
    --jn-navy-750: #10305f;
    --jn-navy-700: #163b72;

    --jn-gold-deep: #9b7620;
    --jn-gold: #c9a227;
    --jn-gold-light: #f0d36a;
    --jn-gold-pale: #f7e8a6;

    --jn-white: #ffffff;
    --jn-off-white: #f5f6f8;

    --jn-text: #f6f7fa;
    --jn-text-soft: #b8c2d2;
    --jn-text-muted: #77859a;
    --jn-text-dim: #536177;

    --jn-surface: rgba(8, 29, 64, 0.78);
    --jn-surface-solid: #071a37;
    --jn-surface-raised: #0b244b;

    --jn-border: rgba(255,255,255,0.075);
    --jn-border-bright: rgba(255,255,255,0.13);
    --jn-border-gold: rgba(201,162,39,0.28);

    --jn-success: #4fd394;

    --jn-radius-sm: 10px;
    --jn-radius-md: 15px;
    --jn-radius-lg: 22px;
    --jn-radius-xl: 30px;

    --jn-shadow-sm:
        0 8px 25px rgba(0,0,0,0.20);

    --jn-shadow-md:
        0 18px 45px rgba(0,0,0,0.30);

    --jn-shadow-lg:
        0 30px 90px rgba(0,0,0,0.42);

    --jn-transition:
        220ms cubic-bezier(.2,.8,.2,1);

    --jn-container: 1240px;
}


/* ============================================================
   02 — RESET
============================================================ */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {

    margin: 0;
    min-height: 100vh;

    color: var(--jn-text);

    font-family:
        "DM Sans",
        "Manrope",
        Arial,
        sans-serif;

    line-height: 1.6;

    background:

        radial-gradient(
            ellipse 700px 500px at 85% -10%,
            rgba(201,162,39,0.085),
            transparent 65%
        ),

        radial-gradient(
            ellipse 800px 500px at -10% 35%,
            rgba(26,76,145,0.13),
            transparent 65%
        ),

        linear-gradient(
            180deg,
            #010711 0%,
            #041126 42%,
            #020b1d 100%
        );

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

button,
input,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

button,
a,
select {
    -webkit-tap-highlight-color: transparent;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}


/* ============================================================
   03 — GLOBAL AMBIENT LIGHT
============================================================ */

.jn-books-page-glow {

    position: fixed;

    width: 720px;
    height: 720px;

    top: -360px;
    right: -300px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(240,211,106,0.12) 0%,
            rgba(201,162,39,0.055) 30%,
            transparent 70%
        );

    pointer-events: none;

    z-index: 0;

    filter: blur(2px);
}


/* ============================================================
   04 — COMMON SHELL
============================================================ */

.jn-books-shell {

    width:
        min(
            calc(100% - 40px),
            var(--jn-container)
        );

    margin-inline: auto;
}


/* ============================================================
   05 — HEADER
============================================================ */

.jn-books-header {

    position: sticky;
    top: 0;
    z-index: 1000;

    background:
        linear-gradient(
            180deg,
            rgba(1,7,17,0.96),
            rgba(2,10,24,0.90)
        );

    border-bottom:
        1px solid rgba(240,211,106,0.12);

    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);

    box-shadow:
        0 10px 35px rgba(0,0,0,0.20);
}

.jn-books-header::after {

    content: "";

    position: absolute;

    left: 50%;
    bottom: -1px;

    width: 120px;
    height: 1px;

    transform: translateX(-50%);

    background:
        linear-gradient(
            90deg,
            transparent,
            var(--jn-gold-light),
            transparent
        );

    opacity: 0.65;
}

.jn-books-header-inner {

    width:
        min(
            calc(100% - 40px),
            var(--jn-container)
        );

    min-height: 78px;

    margin-inline: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}


/* ============================================================
   06 — BRAND
============================================================ */

.jn-books-brand {

    display: inline-flex;
    align-items: center;

    gap: 14px;

    color: #fff;
}

.jn-books-brand-mark {

    width: 45px;
    height: 45px;

    display: grid;
    place-items: center;

    border-radius: 13px;

    color: var(--jn-gold-light);

    font-family:
        "Cinzel",
        Georgia,
        serif;

    font-size: 14px;
    font-weight: 800;

    letter-spacing: 1px;

    background:

        linear-gradient(
            145deg,
            #173c73,
            #06152e
        );

    border:
        1px solid rgba(240,211,106,0.38);

    box-shadow:

        inset 0 1px 0 rgba(255,255,255,0.10),

        0 0 0 5px rgba(201,162,39,0.025),

        0 10px 30px rgba(0,0,0,0.35);
}

.jn-books-brand-copy {

    display: flex;
    flex-direction: column;

    line-height: 1.05;
}

.jn-books-brand-copy strong {

    font-family:
        "Cinzel",
        Georgia,
        serif;

    font-size: 18px;
    font-weight: 700;

    letter-spacing: 0.6px;
}

.jn-books-brand-copy small {

    margin-top: 6px;

    color:
        rgba(255,255,255,0.45);

    font-size: 8px;
    font-weight: 800;

    letter-spacing: 2.5px;
}


/* ============================================================
   07 — NAVIGATION
============================================================ */

.jn-books-header-actions {

    display: flex;
    align-items: center;

    gap: 5px;
}

.jn-books-header-link {

    min-height: 42px;

    padding: 0 15px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    border-radius: 10px;

    color:
        rgba(255,255,255,0.65);

    font-size: 13px;
    font-weight: 650;

    transition:
        background var(--jn-transition),
        color var(--jn-transition),
        transform var(--jn-transition);
}

.jn-books-header-link:hover {

    color: #fff;

    background:
        rgba(255,255,255,0.055);

    transform:
        translateY(-1px);
}


/* ============================================================
   08 — ANNOUNCEMENT BAR
============================================================ */

.jn-books-announcement {

    position: relative;

    background:

        linear-gradient(
            90deg,
            #041126,
            #0a2146 50%,
            #041126
        );

    border-bottom:
        1px solid rgba(201,162,39,0.12);

    color:
        #c8d0dd;

    font-size: 12px;
}

.jn-books-announcement-inner {

    min-height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    text-align: center;
}

.jn-books-announcement strong {

    color:
        var(--jn-gold-light);

    font-weight: 800;
}

.jn-books-announcement-symbol {

    color:
        var(--jn-gold);

    font-size: 14px;
}


/* ============================================================
   09 — HERO
============================================================ */

.jn-books-hero {

    position: relative;

    overflow: hidden;

    color: #fff;

    background:

        radial-gradient(
            ellipse 600px 450px at 90% 20%,
            rgba(201,162,39,0.13),
            transparent 70%
        ),

        radial-gradient(
            ellipse 650px 500px at 0% 100%,
            rgba(25,77,145,0.22),
            transparent 70%
        ),

        linear-gradient(
            135deg,
            #010711 0%,
            #061735 48%,
            #0a2855 100%
        );
}

.jn-books-hero::before {

    content: "";

    position: absolute;

    inset: 0;

    background:

        linear-gradient(
            115deg,
            transparent 0%,
            rgba(255,255,255,0.018) 45%,
            transparent 75%
        );

    pointer-events: none;
}

.jn-books-hero::after {

    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(240,211,106,0.65),
            transparent
        );
}

.jn-books-hero-inner {

    min-height: 560px;

    padding: 90px 0;

    display: grid;

    grid-template-columns:
        minmax(0,1.15fr)
        minmax(360px,0.85fr);

    align-items: center;

    gap: 85px;

    position: relative;

    z-index: 2;
}


/* ============================================================
   10 — HERO ORBITS
============================================================ */

.jn-books-hero-orbit {

    position: absolute;

    border:
        1px solid rgba(240,211,106,0.075);

    border-radius: 50%;

    pointer-events: none;
}

.orbit-one {

    width: 560px;
    height: 560px;

    right: -300px;
    top: -190px;
}

.orbit-two {

    width: 370px;
    height: 370px;

    right: -120px;
    bottom: -245px;
}


/* ============================================================
   11 — HERO TYPOGRAPHY
============================================================ */

.jn-books-kicker,
.jn-books-section-label {

    margin: 0 0 12px;

    color:
        var(--jn-gold-light);

    font-size: 10px;
    font-weight: 850;

    letter-spacing: 3px;

    text-transform: uppercase;
}

.jn-books-hero-title {

    max-width: 760px;

    margin: 0;

    font-family:
        "Cinzel",
        Georgia,
        serif;

    font-size:
        clamp(44px, 5.5vw, 72px);

    line-height: 1.04;

    font-weight: 600;

    letter-spacing: -1.4px;
}

.jn-books-hero-title span {

    display: block;

    color:
        var(--jn-gold-light);

    text-shadow:
        0 5px 30px rgba(201,162,39,0.12);
}

.jn-books-hero-description {

    max-width: 650px;

    margin: 25px 0 0;

    color:
        rgba(255,255,255,0.64);

    font-size: 15px;

    line-height: 1.9;
}


/* ============================================================
   12 — HERO POINTS
============================================================ */

.jn-books-hero-points {

    margin-top: 31px;

    display: flex;
    flex-wrap: wrap;

    gap: 9px;
}

.jn-books-hero-point {

    min-height: 37px;

    padding: 0 13px;

    display: inline-flex;
    align-items: center;

    gap: 8px;

    border:
        1px solid rgba(255,255,255,0.09);

    border-radius: 999px;

    background:
        rgba(255,255,255,0.035);

    color:
        rgba(255,255,255,0.70);

    font-size: 11px;
    font-weight: 650;

    backdrop-filter:
        blur(10px);
}

.jn-books-point-icon {

    color:
        var(--jn-gold-light);

    font-size: 9px;
}


/* ============================================================
   13 — HERO SEARCH CARD
============================================================ */

.jn-books-hero-search-card {

    position: relative;

    padding: 31px;

    border:
        1px solid rgba(240,211,106,0.19);

    border-radius:
        var(--jn-radius-lg);

    background:

        linear-gradient(
            145deg,
            rgba(11,37,77,0.88),
            rgba(3,15,34,0.92)
        );

    box-shadow:

        0 35px 90px rgba(0,0,0,0.40),

        inset 0 1px 0 rgba(255,255,255,0.06);

    backdrop-filter:
        blur(20px);

    -webkit-backdrop-filter:
        blur(20px);
}

.jn-books-hero-search-card::before {

    content: "";

    position: absolute;

    top: 0;
    left: 30px;
    right: 30px;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(240,211,106,0.45),
            transparent
        );
}

.jn-books-search-heading {

    display: flex;
    align-items: center;

    gap: 14px;

    margin-bottom: 20px;
}

.jn-books-search-icon {

    width: 44px;
    height: 44px;

    display: grid;
    place-items: center;

    border-radius: 13px;

    color:
        var(--jn-gold-light);

    background:
        linear-gradient(
            145deg,
            rgba(240,211,106,0.14),
            rgba(201,162,39,0.035)
        );

    border:
        1px solid rgba(240,211,106,0.18);

    font-size: 21px;
}

.jn-books-search-heading div {

    display: flex;
    flex-direction: column;
}

.jn-books-search-heading strong {

    color: #fff;

    font-size: 15px;
}

.jn-books-search-heading small {

    margin-top: 3px;

    color:
        rgba(255,255,255,0.43);

    font-size: 11px;
}


/* ============================================================
   14 — SEARCH INPUT
============================================================ */

.jn-books-search {

    position: relative;

    display: flex;
}

.jn-books-search input {

    width: 100%;
    height: 57px;

    padding:
        0 61px 0 18px;

    border:
        1px solid rgba(255,255,255,0.10);

    border-radius: 13px;

    outline: none;

    background:
        rgba(1,7,17,0.68);

    color: #fff;

    font-size: 13px;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.025);

    transition:
        border-color var(--jn-transition),
        background var(--jn-transition),
        box-shadow var(--jn-transition);
}

.jn-books-search input::placeholder {

    color:
        rgba(255,255,255,0.32);
}

.jn-books-search input:focus {

    border-color:
        rgba(240,211,106,0.65);

    background:
        rgba(1,7,17,0.88);

    box-shadow:
        0 0 0 4px rgba(201,162,39,0.075),
        inset 0 1px 0 rgba(255,255,255,0.03);
}

.jn-books-search-button {

    position: absolute;

    top: 6px;
    right: 6px;

    width: 45px;
    height: 45px;

    border: 0;

    border-radius: 11px;

    color:
        #191303;

    background:
        linear-gradient(
            135deg,
            var(--jn-gold-pale),
            var(--jn-gold-light) 45%,
            var(--jn-gold)
        );

    font-size: 19px;

    box-shadow:
        0 8px 25px rgba(201,162,39,0.16);

    transition:
        transform var(--jn-transition),
        box-shadow var(--jn-transition);
}

.jn-books-search-button:hover {

    transform:
        translateY(-2px);

    box-shadow:
        0 12px 30px rgba(201,162,39,0.27);
}

.jn-books-search-hint {

    margin: 12px 2px 0;

    color:
        rgba(255,255,255,0.34);

    font-size: 10px;
}


/* ============================================================
   15 — STORE
============================================================ */

.jn-books-store {

    position: relative;

    padding:
        88px 0 110px;

    background:

        radial-gradient(
            ellipse 650px 450px at 8% 8%,
            rgba(22,62,116,0.16),
            transparent 70%
        ),

        radial-gradient(
            ellipse 600px 500px at 95% 65%,
            rgba(201,162,39,0.035),
            transparent 70%
        ),

        linear-gradient(
            180deg,
            #020b1d 0%,
            #04142d 45%,
            #020b1d 100%
        );
}


/* ============================================================
   16 — SECTION HEADING
============================================================ */

.jn-books-section-heading {

    display: grid;

    grid-template-columns:
        minmax(0,1fr)
        minmax(280px,420px);

    align-items: end;

    gap: 40px;

    margin-bottom: 35px;
}

.jn-books-section-heading h2,
.jn-books-story-panel h2,
.jn-books-contact-heading h2 {

    margin: 0;

    color: #fff;

    font-family:
        "Cinzel",
        Georgia,
        serif;

    font-size:
        clamp(30px,4vw,47px);

    line-height: 1.12;

    font-weight: 600;

    letter-spacing: -0.8px;
}

.jn-books-section-heading h2 span,
.jn-books-story-panel h2 span,
.jn-books-contact-heading h2 span {

    color:
        var(--jn-gold-light);
}

.jn-books-section-description {

    margin: 0;

    color:
        var(--jn-text-soft);

    font-size: 13px;

    line-height: 1.8;
}


/* ============================================================
   17 — CATEGORY NAV
============================================================ */

.jn-books-category-wrapper {

    display: flex;

    gap: 7px;

    padding: 6px;

    overflow-x: auto;

    scrollbar-width: thin;

    border:
        1px solid rgba(255,255,255,0.075);

    border-radius: 14px;

    background:
        rgba(5,19,42,0.78);

    box-shadow:
        0 15px 35px rgba(0,0,0,0.20);

    backdrop-filter:
        blur(15px);
}

.jn-books-category-tab {

    flex:
        0 0 auto;

    min-height: 44px;

    padding:
        0 17px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    border: 0;

    border-radius: 9px;

    background: transparent;

    color:
        #8998ae;

    font-size: 12px;
    font-weight: 750;

    white-space: nowrap;

    transition:
        background var(--jn-transition),
        color var(--jn-transition),
        box-shadow var(--jn-transition),
        transform var(--jn-transition);
}

.jn-books-category-tab span {

    color:
        var(--jn-gold);

    font-size: 13px;
}

.jn-books-category-tab:hover {

    color: #fff;

    background:
        rgba(255,255,255,0.055);

    transform:
        translateY(-1px);
}

.jn-books-category-tab.active {

    color:
        #161103;

    background:
        linear-gradient(
            135deg,
            var(--jn-gold-pale),
            var(--jn-gold-light),
            var(--jn-gold)
        );

    box-shadow:
        0 8px 25px rgba(201,162,39,0.18);
}

.jn-books-category-tab.active span {

    color:
        #161103;
}


/* ============================================================
   18 — TOOLBAR
============================================================ */

.jn-books-toolbar {

    margin:
        27px 0 21px;

    padding:
        12px 15px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    border:
        1px solid rgba(255,255,255,0.075);

    border-radius: 13px;

    background:
        rgba(5,20,43,0.75);

    box-shadow:
        0 10px 30px rgba(0,0,0,0.18);

    backdrop-filter:
        blur(14px);
}

.jn-books-toolbar-left,
.jn-books-toolbar-right {

    display: flex;
    align-items: center;
}

.jn-books-toolbar-left {

    gap: 9px;
}

.jn-books-result-dot {

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background:
        var(--jn-gold);

    box-shadow:
        0 0 0 4px rgba(201,162,39,0.09),
        0 0 14px rgba(201,162,39,0.30);
}

.jn-books-result-count {

    color:
        #aab6c8;

    font-size: 11px;
    font-weight: 650;
}

.jn-books-sort-wrap {

    display: flex;
    align-items: center;

    gap: 8px;

    color:
        #728198;

    font-size: 11px;
    font-weight: 650;
}

.jn-books-sort {

    min-width: 170px;

    height: 38px;

    padding:
        0 12px;

    border:
        1px solid rgba(255,255,255,0.095);

    border-radius: 9px;

    outline: none;

    background:
        #071a37;

    color:
        #fff;

    cursor: pointer;

    font-size: 11px;
    font-weight: 650;

    transition:
        border-color var(--jn-transition),
        box-shadow var(--jn-transition);
}

.jn-books-sort:focus {

    border-color:
        rgba(240,211,106,0.55);

    box-shadow:
        0 0 0 3px rgba(201,162,39,0.08);
}


/* ============================================================
   19 — PRODUCT GRID
============================================================ */

.jn-books-product-grid {

    display: grid;

    grid-template-columns:
        repeat(3,minmax(0,1fr));

    gap: 23px;

    align-items: stretch;
}


/* ============================================================
   20 — PRODUCT CARD
============================================================ */

.jn-books-product-card {

    position: relative;

    min-width: 0;

    display: flex;
    flex-direction: column;

    overflow: hidden;

    border:
        1px solid rgba(255,255,255,0.075);

    border-radius:
        var(--jn-radius-lg);

    background:

        linear-gradient(
            180deg,
            #0b254d 0%,
            #071a37 55%,
            #06152d 100%
        );

    box-shadow:
        0 13px 38px rgba(0,0,0,0.25);

    transition:
        transform 260ms cubic-bezier(.2,.8,.2,1),
        box-shadow 260ms ease,
        border-color 260ms ease;
}

.jn-books-product-card::after {

    content: "";

    position: absolute;

    left: 18%;
    right: 18%;
    bottom: 0;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(201,162,39,0.28),
            transparent
        );

    opacity: 0;

    transition:
        opacity var(--jn-transition);
}

.jn-books-product-card:hover {

    transform:
        translateY(-8px);

    border-color:
        rgba(240,211,106,0.27);

    box-shadow:
        0 25px 60px rgba(0,0,0,0.38);
}

.jn-books-product-card:hover::after {

    opacity: 1;
}

.jn-books-featured-product {

    border-color:
        rgba(201,162,39,0.32);

    box-shadow:
        0 18px 50px rgba(201,162,39,0.065);
}


/* ============================================================
   21 — PRODUCT MEDIA
============================================================ */

.jn-books-product-media {

    position: relative;

    min-height: 330px;

    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;

    background:

        radial-gradient(
            ellipse at 50% 35%,
            #214572 0%,
            #12315b 34%,
            #0a2347 65%,
            #06152e 100%
        );

    border-bottom:
        1px solid rgba(255,255,255,0.065);
}

.jn-books-product-media::before {

    content: "";

    position: absolute;

    width: 260px;
    height: 260px;

    top: 35px;
    left: 50%;

    transform:
        translateX(-50%);

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(255,255,255,0.075),
            transparent 67%
        );

    pointer-events: none;
}

.jn-books-product-image {

    position: relative;
    z-index: 2;

    width: 100%;
    height: 330px;

    object-fit: contain;

    padding: 27px;

    filter:
        drop-shadow(
            0 22px 22px rgba(0,0,0,0.30)
        );

    transition:
        transform 500ms cubic-bezier(.2,.8,.2,1),
        filter 500ms ease;
}

.jn-books-product-card:hover
.jn-books-product-image {

    transform:
        scale(1.045)
        translateY(-3px);

    filter:
        drop-shadow(
            0 28px 30px rgba(0,0,0,0.42)
        );
}


/* ============================================================
   22 — BADGE
============================================================ */

.jn-books-product-badge {

    position: absolute;

    top: 14px;
    left: 14px;

    z-index: 5;

    min-height: 27px;

    padding:
        0 10px;

    display: inline-flex;
    align-items: center;

    border-radius: 999px;

    color:
        #181303;

    background:
        linear-gradient(
            135deg,
            var(--jn-gold-pale),
            var(--jn-gold-light),
            var(--jn-gold)
        );

    border:
        1px solid rgba(240,211,106,0.38);

    font-size: 8px;
    font-weight: 900;

    letter-spacing: 0.8px;

    text-transform: uppercase;

    box-shadow:
        0 7px 20px rgba(201,162,39,0.16);
}

.jn-books-product-number {

    position: absolute;

    top: 16px;
    right: 17px;

    z-index: 5;

    color:
        rgba(255,255,255,0.27);

    font-family:
        "Cinzel",
        serif;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 1px;
}


/* ============================================================
   23 — GALLERY CONTROLS
============================================================ */

.jn-books-gallery-button {

    position: absolute;

    top: 50%;

    z-index: 6;

    width: 39px;
    height: 39px;

    display: grid;
    place-items: center;

    transform:
        translateY(-50%);

    border:
        1px solid rgba(255,255,255,0.12);

    border-radius: 50%;

    background:
        rgba(1,7,17,0.68);

    color:
        #fff;

    box-shadow:
        0 8px 20px rgba(0,0,0,0.28);

    font-size: 22px;

    line-height: 1;

    opacity: 0;

    transition:
        opacity var(--jn-transition),
        transform var(--jn-transition),
        background var(--jn-transition),
        color var(--jn-transition);
}

.jn-books-gallery-button.left {

    left: 12px;
}

.jn-books-gallery-button.right {

    right: 12px;
}

.jn-books-product-card:hover
.jn-books-gallery-button {

    opacity: 1;
}

.jn-books-gallery-button:hover {

    background:
        var(--jn-gold);

    color:
        #161103;

    border-color:
        var(--jn-gold);

    transform:
        translateY(-50%) scale(1.05);
}


/* ============================================================
   24 — IMAGE DOTS
============================================================ */

.jn-books-image-dots {

    position: absolute;

    left: 50%;
    bottom: 12px;

    z-index: 6;

    transform:
        translateX(-50%);

    display: flex;
    align-items: center;

    gap: 5px;
}

.jn-books-image-dots span {

    width: 5px;
    height: 5px;

    border-radius: 50%;

    background:
        rgba(255,255,255,0.25);

    transition:
        width var(--jn-transition),
        background var(--jn-transition);
}

.jn-books-image-dots span.active {

    width: 18px;

    border-radius: 999px;

    background:
        var(--jn-gold-light);

    box-shadow:
        0 0 10px rgba(201,162,39,0.30);
}


/* ============================================================
   25 — PLACEHOLDER
============================================================ */

.jn-books-placeholder {

    width: 100%;
    height: 100%;

    min-height: 330px;

    padding: 40px;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    text-align: center;

    background:

        radial-gradient(
            circle at center,
            #12325d,
            #071a37 70%
        );
}

.jn-books-placeholder-icon {

    width: 72px;
    height: 72px;

    margin-bottom: 17px;

    display: grid;
    place-items: center;

    border-radius: 21px;

    color:
        var(--jn-gold-light);

    background:
        rgba(201,162,39,0.08);

    border:
        1px solid rgba(201,162,39,0.18);

    font-size: 29px;

    box-shadow:
        0 10px 30px rgba(0,0,0,0.20);
}

.jn-books-placeholder strong {

    color: #fff;

    font-family:
        "Cinzel",
        serif;

    font-size: 17px;
}

.jn-books-placeholder small {

    margin-top: 6px;

    color:
        #7d8da4;

    font-size: 10px;
}


/* ============================================================
   26 — PRODUCT INFORMATION
============================================================ */

.jn-books-product-info {

    padding:
        24px 22px 22px;

    display: flex;
    flex-direction: column;

    flex: 1;
}

.jn-books-product-category {

    margin:
        0 0 7px;

    color:
        var(--jn-gold-light);

    font-size: 8px;
    font-weight: 900;

    letter-spacing: 1.6px;

    text-transform: uppercase;
}

.jn-books-product-title {

    margin: 0;

    color: #fff;

    font-family:
        "Cinzel",
        Georgia,
        serif;

    font-size: 20px;

    line-height: 1.27;

    font-weight: 600;
}

.jn-books-product-description {

    margin:
        11px 0 20px;

    color:
        #9eabc0;

    font-size: 12px;

    line-height: 1.75;
}


/* ============================================================
   27 — PRODUCT BOTTOM
============================================================ */

.jn-books-product-bottom {

    margin-top: auto;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 15px;
}

.jn-books-product-price {

    color: #fff;

    font-size: 21px;
    font-weight: 850;

    white-space: nowrap;
}

.jn-books-product-price small {

    color:
        #6f8098;

    font-size: 8px;
    font-weight: 600;
}


/* ============================================================
   28 — ADD TO CART
============================================================ */

.jn-books-add-cart {

    min-height: 43px;

    padding:
        0 15px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 7px;

    border:
        1px solid rgba(240,211,106,0.40);

    border-radius: 11px;

    color:
        #171204;

    background:
        linear-gradient(
            135deg,
            var(--jn-gold-pale),
            var(--jn-gold-light) 50%,
            var(--jn-gold)
        );

    box-shadow:
        0 8px 22px rgba(201,162,39,0.14);

    font-size: 10px;
    font-weight: 900;

    white-space: nowrap;

    transition:
        transform var(--jn-transition),
        box-shadow var(--jn-transition),
        filter var(--jn-transition);
}

.jn-books-add-cart span {

    color:
        #171204;

    font-size: 17px;

    line-height: 1;
}

.jn-books-add-cart:hover {

    transform:
        translateY(-2px);

    filter:
        brightness(1.07);

    box-shadow:
        0 13px 30px rgba(201,162,39,0.25);
}

.jn-books-add-cart:active {

    transform:
        translateY(0);
}

.jn-books-add-cart:disabled {

    cursor: not-allowed;

    color:
        #718096;

    background:
        #152642;

    border-color:
        rgba(255,255,255,0.06);

    box-shadow: none;

    transform: none;
}

.jn-books-add-cart:disabled span {

    display: none;
}


/* ============================================================
   29 — VARIANTS
============================================================ */

.jn-books-variant-row {

    margin-top: 4px;
    margin-bottom: 12px;

    display: flex;
    flex-direction: column;

    gap: 6px;
}

.jn-books-variant-row label {

    color:
        #d9e0eb;

    font-size: 9px;
    font-weight: 850;

    letter-spacing: 0.5px;
}

.jn-books-variant-row select {

    width: 100%;
    height: 42px;

    padding:
        0 12px;

    border:
        1px solid rgba(255,255,255,0.095);

    border-radius: 9px;

    outline: none;

    background:
        #091f40;

    color:
        #fff;

    font-size: 11px;
    font-weight: 650;

    cursor: pointer;

    transition:
        border-color var(--jn-transition),
        box-shadow var(--jn-transition),
        background var(--jn-transition);
}

.jn-books-variant-row select:hover {

    background:
        #0c274e;
}

.jn-books-variant-row select:focus {

    border-color:
        rgba(240,211,106,0.58);

    box-shadow:
        0 0 0 3px rgba(201,162,39,0.09);
}

.jn-books-cover-design-description {

    margin:
        -2px 0 12px;

    padding:
        10px 11px;

    border-left:
        3px solid var(--jn-gold);

    border-radius:
        0 8px 8px 0;

    background:
        rgba(201,162,39,0.065);

    color:
        #aeb9ca;

    font-size: 9.5px;

    line-height: 1.6;
}

.jn-books-cover-display-price,
.jn-books-promise-price {

    margin:
        5px 0 15px;
}

.coming-soon-price {

    color:
        #8795aa;

    font-size: 16px;
}


/* ============================================================
   30 — SELECTED BIBLE DETAILS
============================================================ */

.jn-books-cover-selected-info {

    width: 100%;

    margin-top: 20px;

    padding:
        15px 17px;

    display: flex;
    flex-direction: column;

    border:
        1px solid rgba(201,162,39,0.16);

    border-radius: 13px;

    background:

        linear-gradient(
            145deg,
            rgba(12,38,77,0.96),
            rgba(5,20,43,0.96)
        );

    box-shadow:
        0 10px 28px rgba(0,0,0,0.18);

    position: relative;
}

.jn-books-cover-selected-info::before {

    content: "";

    position: absolute;

    top: 0;
    left: 22px;
    right: 22px;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(240,211,106,0.30),
            transparent
        );
}

.jn-books-cover-selected-row {

    width: 100%;

    display: grid;

    grid-template-columns:
        110px
        minmax(0,1fr);

    align-items: center;

    column-gap: 15px;

    padding: 9px 0;

    border-bottom:
        1px solid rgba(255,255,255,0.065);
}

.jn-books-cover-selected-row:last-child {

    border-bottom: none;
}

.jn-books-cover-selected-row span {

    margin: 0;

    color:
        #9ba9bd;

    font-size: 12px;
    font-weight: 700;

    line-height: 1.4;

    white-space: nowrap;
}

.jn-books-cover-selected-row strong {

    margin: 0;

    color:
        #fff;

    font-size: 13px;
    font-weight: 700;

    line-height: 1.45;

    text-align: left;

    overflow-wrap: anywhere;
}

.jn-books-cover-selected-row:first-child strong {

    color:
        var(--jn-gold-light);
}


/* ============================================================
   31 — STORY PANEL
============================================================ */

.jn-books-story-panel {

    margin-top: 75px;

    padding: 52px;

    display: grid;

    grid-template-columns:
        minmax(0,1fr)
        minmax(300px,420px);

    gap: 55px;

    align-items: center;

    overflow: hidden;

    position: relative;

    border-radius:
        var(--jn-radius-xl);

    color: #fff;

    background:

        radial-gradient(
            ellipse 400px 300px at 88% 5%,
            rgba(240,211,106,0.13),
            transparent 70%
        ),

        radial-gradient(
            ellipse 500px 400px at 0% 100%,
            rgba(31,91,177,0.18),
            transparent 70%
        ),

        linear-gradient(
            135deg,
            #010711,
            #0a2854
        );

    border:
        1px solid rgba(201,162,39,0.17);

    box-shadow:
        var(--jn-shadow-lg);
}

.jn-books-story-panel::before {

    content: "";

    position: absolute;

    width: 310px;
    height: 310px;

    right: -130px;
    bottom: -160px;

    border:
        1px solid rgba(240,211,106,0.10);

    border-radius: 50%;
}

.jn-books-story-panel h2 {

    margin-bottom: 18px;
}

.jn-books-story-text {

    max-width: 700px;

    margin: 0;

    color:
        rgba(255,255,255,0.62);

    font-size: 13px;

    line-height: 1.9;
}


/* ============================================================
   32 — STORY STATS
============================================================ */

.jn-books-story-stat-grid {

    display: grid;

    grid-template-columns:
        repeat(3,1fr);

    gap: 11px;
}

.jn-books-story-stat {

    min-height: 140px;

    padding:
        20px 11px;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    text-align: center;

    border:
        1px solid rgba(255,255,255,0.085);

    border-radius: 15px;

    background:
        rgba(255,255,255,0.035);

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.025);
}

.jn-books-story-stat strong {

    color:
        var(--jn-gold-light);

    font-family:
        "Cinzel",
        serif;

    font-size: 27px;

    line-height: 1;

    text-shadow:
        0 5px 20px rgba(201,162,39,0.12);
}

.jn-books-story-stat span {

    margin-top: 9px;

    color:
        rgba(255,255,255,0.46);

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 1px;

    text-transform: uppercase;
}


/* ============================================================
   33 — INFORMATION CARDS
============================================================ */

.jn-books-information-grid {

    margin-top: 25px;

    display: grid;

    grid-template-columns:
        repeat(2,1fr);

    gap: 18px;
}

.jn-books-information-card {

    padding: 25px;

    display: flex;

    gap: 17px;

    border:
        1px solid rgba(255,255,255,0.075);

    border-radius:
        var(--jn-radius-md);

    background:

        linear-gradient(
            145deg,
            #092044,
            #06152f
        );

    box-shadow:
        0 12px 32px rgba(0,0,0,0.20);

    transition:
        transform var(--jn-transition),
        border-color var(--jn-transition),
        box-shadow var(--jn-transition);
}

.jn-books-information-card:hover {

    transform:
        translateY(-3px);

    border-color:
        rgba(201,162,39,0.22);

    box-shadow:
        0 18px 42px rgba(0,0,0,0.27);
}

.jn-books-information-icon {

    flex:
        0 0 auto;

    width: 45px;
    height: 45px;

    display: grid;
    place-items: center;

    border-radius: 13px;

    color:
        var(--jn-gold-light);

    background:
        rgba(201,162,39,0.075);

    border:
        1px solid rgba(201,162,39,0.15);

    font-weight: 800;
}

.jn-books-information-label {

    margin:
        0 0 4px;

    color:
        var(--jn-gold-light);

    font-size: 8px;
    font-weight: 900;

    letter-spacing: 1.4px;

    text-transform: uppercase;
}

.jn-books-information-card h3 {

    margin: 0;

    color: #fff;

    font-family:
        "Cinzel",
        serif;

    font-size: 17px;
}

.jn-books-information-card p:last-child {

    margin:
        7px 0 0;

    color:
        #98a7bc;

    font-size: 11px;

    line-height: 1.75;
}


/* ============================================================
   34 — CONTACT
============================================================ */

.jn-books-contact-section {

    padding-top: 80px;
}

.jn-books-contact-heading {

    margin-bottom: 25px;
}

.jn-books-contact-grid {

    display: grid;

    grid-template-columns:
        repeat(2,1fr);

    gap: 18px;
}

.jn-books-contact-card {

    padding: 22px;

    display: flex;
    align-items: center;

    gap: 15px;

    border:
        1px solid rgba(255,255,255,0.075);

    border-radius:
        var(--jn-radius-md);

    background:
        linear-gradient(
            145deg,
            #092044,
            #06152f
        );

    box-shadow:
        0 10px 30px rgba(0,0,0,0.18);

    transition:
        transform var(--jn-transition),
        border-color var(--jn-transition),
        box-shadow var(--jn-transition);
}

.jn-books-contact-card:hover {

    transform:
        translateY(-3px);

    border-color:
        rgba(201,162,39,0.25);

    box-shadow:
        0 18px 42px rgba(0,0,0,0.28);
}

.jn-books-contact-icon {

    width: 46px;
    height: 46px;

    flex:
        0 0 auto;

    display: grid;
    place-items: center;

    border-radius: 13px;

    color:
        var(--jn-gold-light);

    background:
        rgba(201,162,39,0.075);

    border:
        1px solid rgba(201,162,39,0.15);

    font-size: 18px;
}

.jn-books-contact-copy {

    display: flex;
    flex-direction: column;

    min-width: 0;
}

.jn-books-contact-copy small {

    color:
        #71819a;

    font-size: 8px;
    font-weight: 850;

    letter-spacing: 1.1px;

    text-transform: uppercase;
}

.jn-books-contact-copy strong {

    margin-top: 2px;

    color: #fff;

    font-size: 13px;

    overflow-wrap: anywhere;
}

.jn-books-contact-copy em {

    margin-top: 3px;

    color:
        #8493a9;

    font-size: 9px;

    font-style: normal;
}


/* ============================================================
   35 — EMPTY STATE
============================================================ */

.jn-books-empty-state {

    margin:
        30px 0;

    padding:
        75px 30px;

    text-align: center;

    border:
        1px dashed rgba(255,255,255,0.13);

    border-radius:
        var(--jn-radius-lg);

    background:

        radial-gradient(
            circle at center,
            rgba(18,48,91,0.50),
            #06152e
        );
}

.jn-books-empty-symbol {

    width: 66px;
    height: 66px;

    margin:
        0 auto 17px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    color:
        var(--jn-gold-light);

    background:
        rgba(201,162,39,0.08);

    border:
        1px solid rgba(201,162,39,0.15);

    font-size: 24px;
}

.jn-books-empty-label {

    margin:
        0 0 4px;

    color:
        var(--jn-gold-light);

    font-size: 9px;
    font-weight: 900;

    letter-spacing: 1.6px;

    text-transform: uppercase;
}

.jn-books-empty-state h2 {

    margin: 0;

    color: #fff;

    font-family:
        "Cinzel",
        serif;

    font-size: 25px;
}

.jn-books-empty-state p:last-child {

    max-width: 500px;

    margin:
        9px auto 0;

    color:
        #8797ae;

    font-size: 11px;
}


/* ============================================================
   36 — FLOATING CART
============================================================ */

.jn-books-cart-float {

    position: fixed;

    right: 25px;
    bottom: 25px;

    z-index: 900;

    min-width: 68px;
    height: 68px;

    padding:
        8px 13px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    border:
        1px solid rgba(240,211,106,0.48);

    border-radius: 20px;

    color:
        #171204;

    background:

        linear-gradient(
            145deg,
            var(--jn-gold-pale),
            var(--jn-gold-light) 45%,
            var(--jn-gold)
        );

    box-shadow:

        0 17px 40px rgba(0,0,0,0.38),

        0 0 0 6px rgba(201,162,39,0.035);

    transition:
        transform var(--jn-transition),
        box-shadow var(--jn-transition);
}

.jn-books-cart-float:hover {

    transform:
        translateY(-5px);

    box-shadow:

        0 22px 48px rgba(0,0,0,0.40),

        0 0 0 8px rgba(201,162,39,0.045);
}

.jn-books-cart-icon {

    font-size: 20px;
}

.jn-books-cart-label {

    font-size: 11px;
    font-weight: 900;
}

.jn-books-cart-count {

    min-width: 21px;
    height: 21px;

    padding:
        0 5px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    color:
        #171204;

    background:
        #fff;

    font-size: 9px;
    font-weight: 900;

    box-shadow:
        0 3px 10px rgba(0,0,0,0.15);
}


/* ============================================================
   37 — TOAST
============================================================ */

.jn-books-toast {

    position: fixed;

    left: 50%;
    bottom: 28px;

    z-index: 2000;

    max-width:
        min(420px,calc(100% - 40px));

    padding:
        13px 18px;

    transform:
        translate(-50%,25px);

    opacity: 0;

    pointer-events: none;

    border:
        1px solid rgba(201,162,39,0.22);

    border-radius: 12px;

    color: #fff;

    background:
        rgba(2,9,22,0.96);

    box-shadow:
        0 18px 45px rgba(0,0,0,0.35);

    backdrop-filter:
        blur(15px);

    font-size: 11px;
    font-weight: 650;

    transition:
        opacity 220ms ease,
        transform 220ms ease;
}

.jn-books-toast.show {

    opacity: 1;

    transform:
        translate(-50%,0);
}


/* ============================================================
   38 — HIDDEN PRODUCT
============================================================ */

.jn-books-product-card[hidden] {

    display: none !important;
}


/* ============================================================
   39 — ACCESSIBILITY
============================================================ */

:focus-visible {

    outline:
        3px solid rgba(240,211,106,0.55);

    outline-offset: 3px;
}


/* ============================================================
   40 — RESPONSIVE — 1100px
============================================================ */

@media (max-width: 1100px) {

    .jn-books-hero-inner {

        grid-template-columns:
            minmax(0,1fr)
            minmax(330px,0.82fr);

        gap: 50px;
    }

    .jn-books-product-grid {

        grid-template-columns:
            repeat(2,minmax(0,1fr));
    }
}


/* ============================================================
   41 — RESPONSIVE — 800px
============================================================ */

@media (max-width: 800px) {

    .jn-books-header-inner {

        min-height: 70px;
    }

    .jn-books-header-link {

        padding:
            0 10px;

        font-size: 12px;
    }

    .jn-books-brand-copy small {

        display: none;
    }

    .jn-books-hero-inner {

        min-height: auto;

        padding:
            67px 0;

        grid-template-columns:
            1fr;

        gap: 42px;
    }

    .jn-books-hero-title {

        font-size:
            clamp(38px,9vw,57px);
    }

    .jn-books-section-heading {

        grid-template-columns:
            1fr;

        gap: 14px;
    }

    .jn-books-story-panel {

        grid-template-columns:
            1fr;

        padding: 38px;

        gap: 37px;
    }

    .jn-books-information-grid,
    .jn-books-contact-grid {

        grid-template-columns:
            1fr;
    }
}


/* ============================================================
   42 — RESPONSIVE — 600px
============================================================ */

@media (max-width: 600px) {

    .jn-books-shell,
    .jn-books-header-inner {

        width:
            calc(100% - 28px);
    }

    .jn-books-announcement {

        font-size: 10px;
    }

    .jn-books-announcement-inner {

        min-height: 39px;

        padding:
            7px 0;
    }

    .jn-books-header-actions {

        gap: 2px;
    }

    .jn-books-header-link span {

        display: none;
    }

    .jn-books-brand-mark {

        width: 39px;
        height: 39px;

        border-radius: 11px;
    }

    .jn-books-brand-copy strong {

        font-size: 15px;
    }

    .jn-books-hero-inner {

        padding:
            52px 0;
    }

    .jn-books-hero-description {

        font-size: 13px;
    }

    .jn-books-hero-search-card {

        padding: 23px;
    }

    .jn-books-hero-points {

        flex-direction: column;

        align-items: flex-start;
    }

    .jn-books-store {

        padding:
            58px 0 85px;
    }

    .jn-books-category-wrapper {

        border-radius: 12px;
    }

    .jn-books-category-tab {

        min-height: 40px;

        padding:
            0 13px;

        font-size: 10px;
    }

    .jn-books-toolbar {

        align-items: flex-start;

        flex-direction: column;
    }

    .jn-books-toolbar-right,
    .jn-books-sort-wrap,
    .jn-books-sort {

        width: 100%;
    }

    .jn-books-sort {

        flex: 1;
    }

    .jn-books-product-grid {

        grid-template-columns:
            1fr;

        gap: 19px;
    }

    .jn-books-product-media,
    .jn-books-placeholder {

        min-height: 300px;
    }

    .jn-books-product-image {

        height: 300px;
    }

    .jn-books-product-info {

        padding:
            21px 18px;
    }

    .jn-books-product-title {

        font-size: 19px;
    }

    .jn-books-product-bottom {

        align-items: stretch;

        flex-direction: column;
    }

    .jn-books-add-cart {

        width: 100%;
    }

    .jn-books-story-panel {

        padding:
            30px 22px;

        border-radius:
            24px;
    }

    .jn-books-story-stat-grid {

        gap: 8px;
    }

    .jn-books-story-stat {

        min-height: 108px;

        padding:
            15px 7px;
    }

    .jn-books-story-stat strong {

        font-size: 22px;
    }

    .jn-books-information-card {

        padding: 20px;
    }

    .jn-books-contact-card {

        padding: 18px;
    }

    .jn-books-cart-float {

        right: 16px;
        bottom: 16px;

        height: 59px;
        min-width: 59px;

        border-radius: 17px;
    }

    .jn-books-cart-label {

        display: none;
    }
}


/* ============================================================
   43 — SELECTED BIBLE DETAILS — MOBILE
============================================================ */

@media (max-width: 600px) {

    .jn-books-cover-selected-info {

        margin-top: 18px;

        padding:
            14px 15px;

        border-radius: 12px;
    }

    .jn-books-cover-selected-row {

        grid-template-columns:
            85px
            minmax(0,1fr);

        column-gap: 10px;

        padding:
            9px 0;
    }

    .jn-books-cover-selected-row span {

        font-size: 11px;
    }

    .jn-books-cover-selected-row strong {

        font-size: 12px;

        line-height: 1.4;
    }
}


/* ============================================================
   44 — VERY SMALL SCREENS
============================================================ */

@media (max-width: 400px) {

    .jn-books-hero-title {

        font-size: 35px;
    }

    .jn-books-product-media,
    .jn-books-placeholder {

        min-height: 270px;
    }

    .jn-books-product-image {

        height: 270px;
    }

    .jn-books-story-stat span {

        font-size: 8px;
    }

    .jn-books-cover-selected-info {

        padding:
            13px 14px;
    }

    .jn-books-cover-selected-row {

        grid-template-columns:
            75px
            minmax(0,1fr);

        column-gap: 9px;
    }

    .jn-books-cover-selected-row span {

        font-size: 10px;
    }

    .jn-books-cover-selected-row strong {

        font-size: 11px;
    }
}


/* ============================================================
   45 — REDUCED MOTION
============================================================ */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {

        scroll-behavior: auto !important;

        transition-duration:
            0.01ms !important;

        animation-duration:
            0.01ms !important;
    }
}
