/*
 * DriveAuthority — eBook Store
 * assets/css/ebooks.css  |  Loaded exclusively on template-ebooks.php
 */

/* ─── 1. PAGE WRAPPER ──────────────────────────────────────── */
.eb-page {
    --eb-green:  #0d9668;
    --eb-green2: #34d399;
    --eb-blue:   #2563eb;
    --eb-purple: #7c3aed;
    --eb-amber:  #d97706;
    --eb-dark:   #060e1a;
    --eb-dark2:  #0d2b1e;
    font-family: var(--font-ui, 'Nunito Sans', sans-serif);
}

/* ─── 2. HERO ──────────────────────────────────────────────── */
.eb-hero {
    background: linear-gradient(135deg, #060e1a 0%, #071c2e 45%, #0c2d1e 100%) !important;
    color: #fff;
    padding: 90px 0 80px;
    position: relative;
    overflow: hidden;
}

/* decorative circles */
.eb-hero::before {
    content: '';
    position: absolute;
    width: 600px; height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(13,150,104,.18) 0%, transparent 65%);
    top: -200px; left: -150px;
    pointer-events: none;
}
.eb-hero::after {
    content: '';
    position: absolute;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37,99,235,.1) 0%, transparent 65%);
    bottom: -100px; right: -80px;
    pointer-events: none;
}

/* dot-grid overlay */
.eb-hero-dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
}

.eb-hero-inner {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 56px;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* — Badge — */
.eb-badge-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(52,211,153,.12);
    border: 1px solid rgba(52,211,153,.25);
    color: #6ee7b7;
    font-size: 11.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 24px;
}
.eb-badge-eyebrow svg { flex-shrink: 0; }

/* — Title — */
.eb-hero-title {
    font-size: clamp(32px, 4vw, 58px);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -1px;
    color: #f0faf5;
    margin: 0 0 20px;
}
.eb-hero-title em {
    font-style: normal;
    background: linear-gradient(135deg, #6ee7b7, #34d399 60%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* — Sub — */
.eb-hero-sub {
    font-size: 17px;
    color: rgba(240,250,245,.62);
    line-height: 1.7;
    max-width: 480px;
    margin: 0 0 38px;
}

/* — CTA row — */
.eb-hero-cta-row {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.eb-hero-total {
    font-size: 13px;
    color: rgba(255,255,255,.45);
    font-weight: 600;
}
.eb-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: var(--eb-green);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: background .18s, transform .18s, box-shadow .18s;
    text-decoration: none;
    box-shadow: 0 6px 24px rgba(13,150,104,.4);
}
.eb-btn-primary:hover {
    background: #0a7d56;
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(13,150,104,.5);
    color: #fff;
}

/* — Stat pills — */
.eb-hero-stats {
    display: flex;
    gap: 10px;
    margin-top: 48px;
    flex-wrap: wrap;
}
.eb-stat-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 12px;
    padding: 12px 20px;
    backdrop-filter: blur(6px);
    transition: background .2s;
}
.eb-stat-pill:hover { background: rgba(255,255,255,.1); }
.eb-stat-icon {
    width: 34px; height: 34px;
    background: rgba(13,150,104,.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}
.eb-stat-text strong {
    display: block;
    font-size: 15px;
    font-weight: 800;
    color: #f0faf5;
    line-height: 1.1;
}
.eb-stat-text span {
    font-size: 11px;
    color: rgba(255,255,255,.45);
    font-weight: 600;
    letter-spacing: .3px;
}

/* — Visual (right column) — */
.eb-hero-visual {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    position: relative;
}
.eb-hero-visual svg { width: 100%; height: auto; max-width: 380px; }

/* ─── 3. TRUST STRIP ───────────────────────────────────────── */
.eb-trust {
    background: #fff;
    border-bottom: 1px solid #e5eee9;
    box-shadow: 0 2px 12px rgba(0,0,0,.04);
}
.eb-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    divide-color: #e5eee9;
}
.eb-trust-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 22px 20px;
    border-right: 1px solid #e5eee9;
    transition: background .15s;
}
.eb-trust-item:last-child { border-right: none; }
.eb-trust-item:hover { background: #f8fdf9; }
.eb-ti-icon {
    width: 42px; height: 42px;
    border-radius: 10px;
    background: #e6f5ef;
    color: var(--eb-green);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 18px;
    font-weight: 700;
    transition: background .15s;
}
.eb-trust-item:hover .eb-ti-icon { background: #d1fae5; }
.eb-ti-text strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #1a2e25;
    line-height: 1.3;
}
.eb-ti-text span {
    display: block;
    font-size: 11.5px;
    color: #6b8f7a;
    margin-top: 2px;
    line-height: 1.4;
}

/* ─── 4. SPOTLIGHT ─────────────────────────────────────────── */
.eb-spot-wrap {
    padding: 72px 0;
    background: linear-gradient(180deg, #f4faf7 0%, #fff 100%);
    border-bottom: 1px solid #e5eee9;
}
.eb-spot-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #6b8f7a;
    margin-bottom: 28px;
}
.eb-spot-eyebrow::before,
.eb-spot-eyebrow::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #d5ebe0;
}

.eb-spot-card {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 56px;
    align-items: center;
    background: #fff;
    border: 1px solid #e0ede7;
    border-radius: 22px;
    padding: 52px 56px;
    box-shadow: 0 8px 48px rgba(13,150,104,.09), 0 2px 12px rgba(0,0,0,.05);
    position: relative;
    overflow: hidden;
}
.eb-spot-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, var(--eb-green) 0%, #34d399 60%, var(--eb-blue) 100%);
    border-radius: 22px 22px 0 0;
}
.eb-spot-card::after {
    content: '';
    position: absolute;
    width: 300px; height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(13,150,104,.05) 0%, transparent 70%);
    right: -60px; top: -60px;
    pointer-events: none;
}

/* 3-D Book cover */
.eb-spot-book {
    position: relative;
    display: flex;
    justify-content: center;
}
.eb-spot-book-inner {
    width: 185px;
    border-radius: 3px 10px 10px 3px;
    overflow: hidden;
    transform: perspective(1000px) rotateY(-8deg) rotateX(2deg);
    box-shadow:
        -7px 8px 0 0 rgba(13,150,104,.55),
        -16px 20px 50px rgba(0,0,0,.28);
    transition: transform .4s cubic-bezier(.25,.8,.25,1), box-shadow .4s;
    display: block;
}
.eb-spot-book-inner:hover {
    transform: perspective(1000px) rotateY(-18deg) rotateX(3deg) translateX(10px);
    box-shadow: -10px 12px 0 0 rgba(13,150,104,.7), -24px 28px 60px rgba(0,0,0,.35);
}
.eb-spot-book-inner img { width: 100%; height: auto; display: block; }

/* Placeholder book cover (no image) */
.eb-book-nocover {
    width: 185px;
    height: 265px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    gap: 12px;
    background: linear-gradient(145deg, #0a3d26 0%, #0d9668 60%, #34d399 100%);
    color: #fff;
    text-align: center;
    font-weight: 700;
    font-size: 13px;
    line-height: 1.4;
}

.eb-spot-bestseller {
    position: absolute;
    top: -8px; right: -8px;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    color: #fff;
    font-size: 10.5px;
    font-weight: 800;
    padding: 5px 14px;
    border-radius: 50px;
    letter-spacing: .5px;
    box-shadow: 0 4px 14px rgba(245,158,11,.4);
    z-index: 2;
    white-space: nowrap;
}

/* Spot body */
.eb-spot-body { display: flex; flex-direction: column; gap: 14px; }
.eb-cat-chip {
    display: inline-flex;
    align-items: center;
    background: #e6f5ef;
    color: var(--eb-green);
    font-size: 10.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .8px;
    padding: 4px 12px;
    border-radius: 50px;
    align-self: flex-start;
}
.eb-spot-title {
    font-size: clamp(22px, 2.4vw, 34px);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -.4px;
    color: #0d1f16;
    margin: 0;
}
.eb-spot-title a { color: inherit; }
.eb-spot-title a:hover { color: var(--eb-green); }

.eb-stars { display: inline-flex; align-items: center; gap: 2px; }
.eb-star { color: #fbbf24; font-size: 14px; line-height: 1; }
.eb-star--empty { color: #d1d5db; }
.eb-star-count { font-size: 12px; color: #6b7280; margin-left: 6px; font-weight: 500; }

.eb-spot-desc {
    font-size: 15.5px;
    color: #4b6b5a;
    line-height: 1.68;
}
.eb-formats {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.eb-fmt-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #f0faf5;
    border: 1px solid #c6e6d5;
    color: #0d9668;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
}
.eb-spot-footer {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    padding-top: 14px;
    border-top: 1px solid #e8f3ed;
    margin-top: 4px;
}
.eb-spot-price .price {
    font-size: 32px;
    font-weight: 900;
    color: var(--eb-green);
    line-height: 1;
}
.eb-spot-price .price del {
    font-size: 17px;
    color: #9ca3af;
    font-weight: 400;
    display: block;
    margin-bottom: 2px;
}
.eb-spot-price .price ins { text-decoration: none; }
.eb-spot-cta {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: var(--eb-green);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    padding: 14px 26px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 5px 20px rgba(13,150,104,.35);
    transition: background .18s, transform .18s, box-shadow .18s;
}
.eb-spot-cta:hover {
    background: #0a7d56;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(13,150,104,.48);
    color: #fff;
}
.eb-spot-link {
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color .15s;
}
.eb-spot-link:hover { color: var(--eb-green); }

/* ─── 5. FILTER BAR ─────────────────────────────────────────── */
.eb-filter {
    position: sticky;
    top: 64px; /* height of site header */
    z-index: 100;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid #e5eee9;
    padding: 13px 0;
    transition: box-shadow .2s;
}
.eb-filter.is-stuck { box-shadow: 0 4px 20px rgba(0,0,0,.08); }
.eb-filter-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.eb-pills {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
    align-items: center;
}
.eb-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 15px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: #4b6b5a;
    background: #f4faf7;
    border: 1.5px solid transparent;
    transition: all .15s;
    white-space: nowrap;
    cursor: pointer;
    text-decoration: none;
}
.eb-pill:hover { background: #e6f5ef; color: var(--eb-green); border-color: #c0e4d0; }
.eb-pill.active { background: var(--eb-green); color: #fff; border-color: var(--eb-green); }
.eb-pill.active:hover { background: #0a7d56; }
.eb-pill-n {
    background: rgba(0,0,0,.1);
    padding: 1px 7px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
}
.eb-pill.active .eb-pill-n { background: rgba(255,255,255,.22); }

.eb-sort {
    padding: 8px 36px 8px 14px;
    border: 1.5px solid #d4e8dc;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 600;
    color: #1a2e25;
    font-family: inherit;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none' stroke='%236b8f7a' stroke-width='2' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4'/%3E%3C/svg%3E") no-repeat right 11px center;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    transition: border-color .15s;
    flex-shrink: 0;
}
.eb-sort:hover { border-color: var(--eb-green); }
.eb-sort:focus { outline: none; border-color: var(--eb-green); box-shadow: 0 0 0 3px rgba(13,150,104,.15); }

/* ─── 6. SECTION ────────────────────────────────────────────── */
.eb-section { padding: 48px 0 88px; background: #fafdf9; }
.eb-results {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
}
.eb-results-txt {
    font-size: 14px;
    color: #6b8f7a;
    font-weight: 500;
}
.eb-results-txt strong { color: #0d1f16; font-weight: 700; }

/* ─── 7. PRODUCT GRID ───────────────────────────────────────── */
.eb-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* ─── 8. BOOK CARD ──────────────────────────────────────────── */
.eb-card {
    background: #fff;
    border: 1px solid #e0ede7;
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .3s cubic-bezier(.25,.8,.25,1), box-shadow .3s, border-color .3s;
}
.eb-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 60px rgba(13,60,30,.12);
    border-color: #c0e4d0;
}

/* Cover */
.eb-cover-wrap {
    position: relative;
    height: 230px;
    overflow: hidden;
    background: #e8f5ef;
    flex-shrink: 0;
}
.eb-cover-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .45s cubic-bezier(.25,.8,.25,1);
}
.eb-card:hover .eb-cover-wrap img { transform: scale(1.07); }

/* Gradient cover (no image) */
.eb-cover-grad {
    width: 100%; height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px;
    position: relative;
    overflow: hidden;
}
.eb-cover-grad::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,.06) 0%, rgba(0,0,0,.15) 100%);
}
.eb-cover-grad-icon { position: relative; z-index: 1; opacity: .8; }
.eb-cover-grad-title {
    position: relative;
    z-index: 1;
    font-size: 12.5px;
    font-weight: 800;
    color: rgba(255,255,255,.92);
    text-align: center;
    letter-spacing: .3px;
    line-height: 1.35;
}
.eb-cover-grad-brand {
    position: relative;
    z-index: 1;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,.5);
}

/* Color variants */
.eb-cv-green  { background: linear-gradient(145deg, #064e34 0%, #0d9668 70%, #34d399 100%); }
.eb-cv-blue   { background: linear-gradient(145deg, #1e3a8a 0%, #2563eb 70%, #60a5fa 100%); }
.eb-cv-purple { background: linear-gradient(145deg, #3b0764 0%, #7c3aed 70%, #a78bfa 100%); }
.eb-cv-amber  { background: linear-gradient(145deg, #78350f 0%, #d97706 70%, #fbbf24 100%); }
.eb-cv-teal   { background: linear-gradient(145deg, #164e63 0%, #0891b2 70%, #38bdf8 100%); }
.eb-cv-rose   { background: linear-gradient(145deg, #881337 0%, #e11d48 70%, #fb7185 100%); }

/* Hover overlay */
.eb-cover-overlay {
    position: absolute;
    inset: 0;
    background: rgba(6,14,26,.55);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    opacity: 0;
    transition: opacity .25s;
}
.eb-card:hover .eb-cover-overlay { opacity: 1; }
.eb-overlay-fmt {
    display: flex;
    gap: 6px;
}
.eb-fmt-pill {
    background: rgba(255,255,255,.2);
    border: 1px solid rgba(255,255,255,.3);
    backdrop-filter: blur(4px);
    color: #fff;
    font-size: 10.5px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 50px;
}
.eb-overlay-btn {
    background: var(--eb-green);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 8px 20px;
    border-radius: 8px;
    margin-top: 6px;
    transition: background .15s;
    text-decoration: none;
}
.eb-overlay-btn:hover { background: #0a7d56; color: #fff; }

/* Badges */
.eb-card-badges {
    position: absolute;
    top: 10px; left: 10px;
    display: flex; gap: 5px; z-index: 2;
}
.eb-badge {
    font-size: 10px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.eb-badge--sale   { background: #ef4444; color: #fff; box-shadow: 0 2px 8px rgba(239,68,68,.35); }
.eb-badge--new    { background: var(--eb-green); color: #fff; box-shadow: 0 2px 8px rgba(13,150,104,.35); }
.eb-badge--sample {
    background: rgba(0,0,0,.55);
    color: rgba(255,255,255,.85);
    backdrop-filter: blur(4px);
}

/* Card body */
.eb-card-body {
    padding: 20px 20px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 8px;
}
.eb-card-title {
    font-size: 15.5px;
    font-weight: 700;
    line-height: 1.35;
    color: #0d1f16;
    margin: 0;
}
.eb-card-title a { color: inherit; transition: color .15s; }
.eb-card-title a:hover { color: var(--eb-green); }
.eb-card-desc {
    font-size: 13px;
    color: #4b6b5a;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.eb-card-stars { display: flex; align-items: center; gap: 3px; }
.eb-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid #e8f3ed;
}
.eb-card-price .price {
    font-size: 20px;
    font-weight: 800;
    color: var(--eb-green);
    line-height: 1;
}
.eb-card-price .price del {
    font-size: 12.5px;
    color: #9ca3af;
    font-weight: 400;
    display: block;
    line-height: 1.3;
}
.eb-card-price .price ins { text-decoration: none; }
.eb-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--eb-green);
    color: #fff;
    font-size: 12.5px;
    font-weight: 700;
    padding: 9px 16px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-family: inherit;
    text-decoration: none;
    transition: background .15s, transform .15s;
    white-space: nowrap;
}
.eb-card-btn:hover { background: #0a7d56; transform: translateY(-1px); color: #fff; }
.eb-card-btn--coming {
    background: transparent;
    color: var(--eb-green);
    border: 1.5px solid #c0e4d0;
}
.eb-card-btn--coming:hover { background: #e6f5ef; transform: none; }

/* WooCommerce ajax loading */
.eb-card-btn.loading { opacity: .7; pointer-events: none; }

/* ─── 9. EMPTY STATE ────────────────────────────────────────── */
.eb-empty-wrap { padding: 40px 0 80px; }
.eb-empty-top {
    text-align: center;
    padding: 48px 24px 60px;
    max-width: 580px;
    margin: 0 auto;
}
.eb-empty-icon { font-size: 56px; display: block; margin-bottom: 18px; line-height: 1; }
.eb-empty-title {
    font-size: clamp(22px, 2.6vw, 30px);
    font-weight: 800;
    color: #0d1f16;
    margin: 0 0 12px;
}
.eb-empty-desc {
    font-size: 16px;
    color: #4b6b5a;
    line-height: 1.7;
    margin: 0 0 28px;
}
.eb-empty-label {
    display: inline-block;
    font-size: 11.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #6b8f7a;
    margin-bottom: 36px;
    padding: 6px 20px;
    border: 1px dashed #c0e4d0;
    border-radius: 50px;
}

/* Demo preview grid */
.eb-demo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    opacity: .82;
    position: relative;
}
.eb-demo-grid::before {
    content: '';
    position: absolute;
    inset: -10px;
    background: radial-gradient(ellipse 80% 100% at 50% 50%, rgba(249,253,250,0) 0%, rgba(250,253,249,.9) 75%);
    z-index: 3;
    pointer-events: none;
}
/* Price in demo cards (plain text, not WC markup) */
.eb-demo-price { font-size: 20px; font-weight: 800; color: var(--eb-green); line-height: 1; }

/* Newsletter capture below demo grid */
.eb-nl-capture {
    margin: 64px auto 0;
    max-width: 520px;
    text-align: center;
    background: #fff;
    border: 1px solid #e0ede7;
    border-radius: 18px;
    padding: 44px 40px;
    box-shadow: 0 8px 40px rgba(13,60,30,.07);
    position: relative;
    z-index: 4;
}
.eb-nl-icon { font-size: 36px; margin-bottom: 14px; }
.eb-nl-title { font-size: 22px; font-weight: 800; color: #0d1f16; margin: 0 0 8px; }
.eb-nl-sub { font-size: 14.5px; color: #4b6b5a; line-height: 1.6; margin: 0 0 22px; }

/* WooCommerce price global overrides */
.eb-card-price .woocommerce-Price-amount { display: inline; }
.eb-spot-price  .woocommerce-Price-amount { display: inline; }

/* ─── 10. PAGINATION ────────────────────────────────────────── */
.eb-pagination {
    margin-top: 60px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}
.eb-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px; height: 42px;
    padding: 0 12px;
    border: 1.5px solid #d4e8dc;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #4b6b5a;
    background: #fff;
    transition: all .15s;
    text-decoration: none;
}
.eb-pagination .page-numbers:hover { border-color: var(--eb-green); color: var(--eb-green); background: #f0faf5; }
.eb-pagination .page-numbers.current { background: var(--eb-green); color: #fff; border-color: var(--eb-green); }
.eb-pagination .page-numbers.dots { border: none; background: none; }

/* ─── 11. RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 1100px) {
    .eb-hero-inner { grid-template-columns: 1fr 320px; gap: 40px; }
    .eb-spot-card { grid-template-columns: 200px 1fr; gap: 40px; padding: 40px 44px; }
    .eb-spot-book-inner { width: 160px; }
}
@media (max-width: 960px) {
    .eb-hero-inner { grid-template-columns: 1fr; }
    .eb-hero-visual { display: none; }
    .eb-trust-grid { grid-template-columns: repeat(2, 1fr); }
    .eb-trust-item { border-right: none; border-bottom: 1px solid #e5eee9; }
    .eb-trust-item:nth-child(odd) { border-right: 1px solid #e5eee9; }
    .eb-trust-item:nth-last-child(-n+2) { border-bottom: none; }
    .eb-spot-card { grid-template-columns: 1fr; text-align: center; padding: 36px 32px; }
    .eb-spot-book { justify-content: center; }
    .eb-spot-book-inner { transform: none; }
    .eb-spot-book-inner:hover { transform: translateY(-8px); }
    .eb-formats, .eb-spot-footer { justify-content: center; }
    .eb-cat-chip { align-self: center; }
    .eb-grid { grid-template-columns: repeat(2, 1fr); }
    .eb-demo-grid { grid-template-columns: repeat(2, 1fr); }
    .eb-demo-grid > :last-child { display: none; }
}
@media (max-width: 680px) {
    .eb-hero { padding: 64px 0 56px; }
    .eb-hero-title { font-size: 30px; }
    .eb-hero-stats { gap: 8px; }
    .eb-stat-pill { padding: 10px 14px; }
    .eb-trust-grid { grid-template-columns: 1fr; }
    .eb-trust-item { border-right: none !important; border-bottom: 1px solid #e5eee9; }
    .eb-trust-item:last-child { border-bottom: none; }
    .eb-filter { position: static; }
    .eb-filter-inner { flex-direction: column; align-items: flex-start; }
    .eb-grid { grid-template-columns: 1fr; }
    .eb-demo-grid { grid-template-columns: 1fr; }
    .eb-demo-grid > :nth-child(n+2) { display: none; }
    .eb-spot-card { padding: 26px 22px; }
    .eb-nl-capture { padding: 30px 24px; }
}

/* ─── 12. TAXONOMY ARCHIVE EXTRAS ─────────────────────────── */
/* Pagination list wrapper from WP paginate_links() */
.eb-pagination ul.page-numbers {
    list-style: none;
    margin: 0; padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}
.eb-pagination ul.page-numbers li { margin: 0; padding: 0; }
/* Hero image when category has a thumbnail */
.eb-hero-visual img {
    width: 100%;
    max-width: 380px;
    border-radius: 14px;
    object-fit: cover;
    display: block;
}
