/* ═══════════════════════════════════════════════════════════════════════════
   SAGLIK CATALOG — Main Styles  (v2)
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
    --accent:    #1d4ed8;
    --cover-bg:  #0f172a;
    --text:      #1e293b;
    --muted:     #64748b;
    --border:    #e2e8f0;
    --bg:        #e8eef4;
    --shadow:    0 30px 70px rgba(0,0,0,.25);
    --font:      'Inter', system-ui, sans-serif;
    --serif:     'Playfair Display', Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--bg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* ── Top bar ─────────────────────────────────────────────────────────────── */
.top-bar {
    position: sticky; top: 0; z-index: 200;
    height: 52px;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 1.25rem;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 6px rgba(0,0,0,.06);
    gap: 1rem;
    flex-shrink: 0;
}
.top-bar-left  { display: flex; align-items: center; gap: .6rem; overflow: hidden; }
.top-bar-right { display: flex; align-items: center; gap: .4rem; flex-shrink: 0; }
.top-logo      { height: 30px; object-fit: contain; background: var(--cover-bg); border-radius: 4px; padding: 3px 8px; }
.top-company   { font-weight: 800; font-size: .95rem; color: var(--accent); white-space: nowrap; }
.top-sep       { color: #cbd5e1; }
.top-title     { font-size: .78rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.btn-download {
    display: flex; align-items: center; gap: .35rem;
    padding: .4rem .9rem;
    background: var(--accent); color: #fff;
    border: none; border-radius: 6px;
    font-size: .78rem; font-weight: 600; cursor: pointer;
    transition: background .15s;
    white-space: nowrap; line-height: 1;
}
.btn-download svg { width: 15px; height: 15px; }
.btn-download:hover { background: #1e40af; }

.btn-admin {
    display: flex; align-items: center; justify-content: center;
    width: 32px; height: 32px;
    background: #f8fafc; color: var(--muted);
    border: 1px solid var(--border); border-radius: 6px;
    text-decoration: none; transition: all .15s;
}
.btn-admin svg { width: 15px; height: 15px; }
.btn-admin:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ── Catalog wrapper ─────────────────────────────────────────────────────── */
.catalog-wrapper {
    flex: 1;
    display: flex; flex-direction: column; align-items: center;
    padding: .75rem .5rem 0;
    gap: .5rem;
    min-height: 0;
}

/* ── Controls bar ────────────────────────────────────────────────────────── */
.catalog-controls {
    display: flex; align-items: center; gap: .25rem;
    background: #fff; border: 1px solid var(--border);
    border-radius: 8px; padding: .3rem .5rem;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
    flex-wrap: wrap; justify-content: center;
    flex-shrink: 0;
}
.ctrl-btn {
    display: flex; align-items: center; justify-content: center;
    width: 30px; height: 30px;
    background: transparent; border: none;
    border-radius: 5px; cursor: pointer; color: var(--muted);
    transition: all .12s;
}
.ctrl-btn svg { width: 15px; height: 15px; }
.ctrl-btn:hover { background: #f1f5f9; color: var(--accent); }
.ctrl-btn:disabled { opacity: .35; cursor: not-allowed; }

.page-indicator {
    display: flex; align-items: center; gap: .25rem;
    font-size: .75rem; color: var(--muted);
}
.page-indicator input {
    width: 40px; height: 26px;
    border: 1px solid var(--border); border-radius: 4px;
    text-align: center; font-size: .78rem; font-family: var(--font); color: var(--text);
}
.page-indicator input:focus { outline: 2px solid var(--accent); border-color: transparent; }
.ctrl-sep { width: 1px; height: 18px; background: var(--border); margin: 0 .1rem; }

/* ── Book stage ──────────────────────────────────────────────────────────── */
.book-stage {
    flex: 1;
    display: flex; align-items: center; justify-content: center;
    gap: .75rem;
    width: 100%;
    min-height: 0;
    position: relative;
    /* Subtle surface texture so the book "sits" on something */
    background:
        radial-gradient(ellipse 80% 60% at 50% 110%, rgba(29,78,216,.12), transparent),
        var(--bg);
    border-radius: 8px;
    padding: 12px 0;
}

.book-container {
    display: flex; align-items: center; justify-content: center;
    flex: 1;
    min-height: 0;
}

#book { /* StPageFlip controls this */ }

.book-nav {
    display: flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; flex-shrink: 0;
    background: rgba(255,255,255,.9); border: 1px solid var(--border);
    border-radius: 50%; cursor: pointer;
    font-size: 1.6rem; line-height: 1; padding-bottom: 2px;
    color: var(--muted); user-select: none;
    box-shadow: 0 2px 8px rgba(0,0,0,.1);
    transition: all .15s;
    z-index: 10;
}
.book-nav:hover { background: var(--accent); color: #fff; border-color: var(--accent);
                  box-shadow: 0 4px 16px rgba(29,78,216,.35); }



/* ═══════════════════════════════════════════════════════════════════════════
   PAGE INTERNALS
   Each .page is sized by StPageFlip. Contents must be 100% × 100%.
   ═══════════════════════════════════════════════════════════════════════════ */

.page {
    overflow: hidden;
    background: #fff;
    user-select: none;
    -webkit-user-drag: none;
}

/* ── COVER ──────────────────────────────────────────────────────────────── */
.pg-cover {
    width: 100%; height: 100%;
    display: flex; flex-direction: column;
    position: relative; overflow: hidden;
    background: #f8fafc; color: #0f172a;
}

/* Left accent stripe */
.cover-left-stripe {
    position: absolute; left: 0; top: 0; bottom: 0;
    width: 5px;
    pointer-events: none;
}

/* Top logo area */
.cover-top {
    display: flex; align-items: center; justify-content: space-between;
    padding: 1.3rem 1.4rem 0;
    position: relative; z-index: 1;
    flex-shrink: 0;
}
.cover-logo-wrap {
    background: #0f172a;
    border-radius: 8px;
    padding: 6px 12px;
    display: inline-flex;
    align-items: center;
}
.cover-logo {
    height: 36px; object-fit: contain;
    filter: brightness(0) invert(1);
}
.cover-logo-placeholder {
    width: 46px; height: 46px; border-radius: 50%;
    background: #0f172a;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem; font-weight: 800; color: #fff;
}
.cover-top-badge {
    font-size: .48rem; font-weight: 800; letter-spacing: .18em;
    text-transform: uppercase; color: #fff;
    padding: .22rem .7rem; border-radius: 20px;
}

/* Spacer pushes content to bottom */
.cover-spacer { flex: 1; }

/* Decorative large circle */
.cover-deco-circle {
    position: absolute;
    width: 260px; height: 260px;
    border-radius: 50%;
    border: 40px solid;
    opacity: .07;
    top: 50%; right: -90px;
    transform: translateY(-50%);
    pointer-events: none;
}

/* Bottom content block */
.cover-bottom {
    position: relative; z-index: 1;
    padding: 0 1.4rem 1.5rem 1.6rem;
    display: flex; flex-direction: column;
    gap: .35rem;
    flex-shrink: 0;
}
.cover-accent-bar { width: 40px; height: 4px; border-radius: 2px; margin-bottom: .2rem; }
.cover-company {
    font-family: var(--serif);
    font-size: 2rem; font-weight: 700; line-height: 1.05;
    letter-spacing: -.01em; color: #0f172a;
}
.cover-title {
    font-size: .68rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: .12em;
    color: #475569;
}
.cover-tagline { font-size: .62rem; color: #94a3b8; margin-top: .1rem; }

/* Year watermark */
.cover-watermark {
    position: absolute;
    bottom: -.12em; right: -.05em;
    font-size: 7.5rem; font-weight: 900; line-height: 1;
    color: #0f172a; opacity: .04;
    letter-spacing: -.03em;
    font-family: var(--serif);
    pointer-events: none; user-select: none;
}

/* Thin bottom accent line */
.cover-bottom-line {
    position: absolute; bottom: 0; left: 0; right: 0;
    height: 4px;
}

/* ── SUPPLIER PAGE ──────────────────────────────────────────────────────── */
.pg-supplier {
    width: 100%; height: 100%;
    display: flex; flex-direction: column;
    position: relative; overflow: hidden;
}
.sup-top-bar    { height: 6px; width: 100%; flex-shrink: 0; }
.sup-bottom-bar { height: 6px; width: 100%; flex-shrink: 0; margin-top: auto; }
.sup-body {
    flex: 1; display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    padding: 1.4rem 1.8rem; gap: .6rem; text-align: center;
}
.sup-label {
    font-size: .5rem; font-weight: 800; letter-spacing: .22em;
    text-transform: uppercase;
}
.sup-logo-wrap  { margin: .2rem 0; }
.sup-logo-img   { height: 52px; object-fit: contain; }
.sup-logo-text  { font-size: 1.8rem; font-weight: 900; font-family: var(--serif); }
.sup-name       { font-size: 1.1rem; font-weight: 700; color: var(--text); }
.sup-divider    { width: 36px; height: 3px; border-radius: 2px; }
.sup-desc       { font-size: .68rem; color: var(--muted); line-height: 1.6; max-width: 280px; }
.sup-cats {
    display: flex; flex-wrap: wrap; gap: .35rem;
    justify-content: center; margin-top: .2rem;
}
.sup-cat {
    font-size: .52rem; font-weight: 700; letter-spacing: .08em;
    text-transform: uppercase; padding: .18rem .55rem;
    border-radius: 20px; border: 1px solid;
}
.sup-meta {
    display: flex; gap: 1rem; margin-top: .3rem;
    flex-wrap: wrap; justify-content: center;
}
.sup-meta-item  { font-size: .62rem; color: var(--muted); }

/* ── ABOUT / PRESENTATION ───────────────────────────────────────────────── */
.pg-about {
    width: 100%; height: 100%;
    display: flex; flex-direction: column;
    background: #fff; position: relative; overflow: hidden;
}
.about-accent-bar {
    height: 5px; width: 100%; flex-shrink: 0;
}
.about-content {
    flex: 1; display: flex; flex-direction: column;
    padding: 1.4rem 1.4rem 1rem;
    gap: .55rem; overflow: hidden;
}
.about-tag {
    font-size: .58rem; font-weight: 800; letter-spacing: .15em;
    text-transform: uppercase;
}
.about-headline {
    font-family: var(--serif); font-size: 1.15rem; font-weight: 700;
    line-height: 1.25; color: var(--text);
}
.about-body {
    font-size: .72rem; color: var(--muted); line-height: 1.6;
    border-left: 3px solid var(--border); padding-left: .75rem;
}
.about-grid {
    display: flex; flex-direction: column; gap: .5rem;
    margin-top: .3rem; flex: 1; overflow: hidden;
}
.about-card {
    display: flex; align-items: flex-start; gap: .65rem;
    background: #f8fafc; border-radius: 8px;
    border: 1px solid var(--border);
    padding: .6rem .8rem; overflow: hidden;
}
.about-card-icon {
    flex-shrink: 0; width: 28px; height: 28px;
    display: flex; align-items: center; justify-content: center;
}
.about-card-icon svg { width: 22px; height: 22px; }
.about-card-body {
    display: flex; flex-direction: column; gap: 2px; min-width: 0;
}
.about-card-body strong {
    font-size: .72rem; font-weight: 700; color: var(--text);
}
.about-card-body span {
    font-size: .63rem; color: var(--muted); line-height: 1.4;
}

/* Print view about */
.print-view .pg-about { width: 794px !important; height: 1123px !important; }
.print-view .about-headline { font-size: 1.6rem; }
.print-view .about-body { font-size: .9rem; }
.print-view .about-card-body strong { font-size: .95rem; }
.print-view .about-card-body span { font-size: .8rem; }

/* ── TABLE OF CONTENTS ──────────────────────────────────────────────────── */
.pg-toc {
    width: 100%; height: 100%;
    display: flex; flex-direction: column;
    padding: 1.5rem 1.4rem;
    background: #fafbfc;
}
.toc-header {
    border-left: 4px solid var(--accent, #1d4ed8);
    padding-left: .9rem; margin-bottom: 1.4rem;
}
.toc-tag {
    display: inline-block;
    font-size: .55rem; font-weight: 700; letter-spacing: .14em;
    padding: .15rem .55rem; border-radius: 20px; color: #fff; margin-bottom: .4rem;
}
.toc-header h2 { font-family: var(--serif); font-size: 1.35rem; }
.toc-list { display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.toc-item {
    display: flex; align-items: center; gap: .6rem;
    padding: .6rem .8rem;
    background: #fff; border-radius: 7px;
    border: 1px solid var(--border);
}
.toc-dot  { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.toc-name { font-weight: 600; font-size: .8rem; flex: 1; }
.toc-line { flex: 1; height: 1px; background: var(--border); }
.toc-page { font-weight: 700; font-size: .78rem; color: var(--accent); }
.toc-footer {
    margin-top: .9rem; padding-top: .9rem;
    border-top: 1px solid var(--border);
    font-size: .65rem; color: var(--muted);
}

/* ── LINE DIVIDER ───────────────────────────────────────────────────────── */
.pg-divider {
    width: 100%; height: 100%;
    display: flex; position: relative; overflow: hidden;
}
.divider-accent {
    width: 7px; flex-shrink: 0;
    position: absolute; left: 0; top: 0; bottom: 0;
}
.divider-content {
    flex: 1; display: flex; flex-direction: column;
    align-items: flex-start; justify-content: center;
    padding: 2rem 2rem 2rem 2.2rem;
    position: relative; z-index: 1;
}
.divider-icon { width: 52px; height: 52px; margin-bottom: 1rem; }
.divider-icon svg { width: 100%; height: 100%; }
.divider-title {
    font-family: var(--serif);
    font-size: 1.35rem; font-weight: 700; line-height: 1.2; margin-bottom: .6rem;
}
.divider-bar { width: 44px; height: 4px; border-radius: 2px; margin-bottom: .9rem; }
.divider-desc { font-size: .78rem; color: var(--muted); line-height: 1.6; max-width: 300px; }
.divider-corner {
    position: absolute; right: -70px; bottom: -70px;
    width: 240px; height: 240px; border-radius: 50%; pointer-events: none;
}

/* ── PRODUCTS PAGE ──────────────────────────────────────────────────────── */
.pg-products {
    width: 100%; height: 100%;
    display: flex; flex-direction: column;
    padding: 10px 10px 6px;
    overflow: hidden;
    background: #f8fafc;
}

/* Grid of product cards */
.prod-grid {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-height: 0;
    overflow: hidden;
}

/* ─ Individual card ─────────────────────────────────────────────────────── */
.prod-card {
    flex: 1;
    display: flex;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #dde4ee;
    overflow: hidden;
    position: relative;
    min-height: 0;
    box-shadow: 0 1px 3px rgba(0,0,0,.06);
}

/* Badge */
.prod-badge {
    position: absolute; top: 7px; right: 7px; z-index: 2;
    font-size: .48rem; font-weight: 700; letter-spacing: .1em;
    padding: .13rem .45rem; border-radius: 20px; color: #fff;
    text-transform: uppercase;
}

/* Image column */
.prod-img {
    width: 140px; flex-shrink: 0;
    overflow: hidden; background: #fff;
    display: flex; align-items: center; justify-content: center;
}
.prod-img img {
    width: 100%; height: 100%;
    object-fit: contain; display: block;
}

/* Single layout: vertical */
.prod-card.layout-single {
    flex-direction: column;
}
.prod-card.layout-single .prod-img {
    width: 100%; height: 180px; background: #fff;
}

/* Content column */
.prod-body {
    flex: 1;
    min-width: 0;
    display: flex; flex-direction: column;
    padding: 8px 9px 7px;
    gap: 4px;
    overflow: hidden;
}

.prod-meta {
    display: flex; align-items: center; gap: 4px;
    flex-wrap: nowrap; overflow: hidden;
}
.prod-ref {
    font-size: .58rem; font-weight: 700; letter-spacing: .04em;
    white-space: nowrap;
}
.prod-brand {
    font-size: .56rem; color: var(--muted);
    background: #f1f5f9; padding: .1rem .35rem; border-radius: 20px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 130px;
}

.prod-name {
    font-size: .78rem; font-weight: 700; line-height: 1.25; color: var(--text);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden;
}

.prod-desc {
    font-size: .65rem; color: var(--muted); line-height: 1.45;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
    overflow: hidden; flex-shrink: 0;
}

.prod-features {
    list-style: none;
    display: flex; flex-direction: column; gap: 2px;
    margin-top: auto;
    overflow: hidden;
}
.prod-features li {
    font-size: .6rem; color: var(--muted);
    padding-left: .8rem; position: relative;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.prod-features li::before {
    content: '✓'; position: absolute; left: 0;
    color: var(--accent); font-weight: 700; font-size: .52rem; top: 1px;
}

/* Hide extra features when double layout */
.prod-grid .prod-features li:nth-child(n+5) { display: none; }

/* Footer */
.prod-footer {
    text-align: right;
    font-size: .55rem; font-weight: 600;
    padding-top: 4px; margin-top: 4px;
    border-top: 1px solid var(--border);
    flex-shrink: 0;
    color: var(--muted);
}

/* ── CONTACT ─────────────────────────────────────────────────────────────── */
.pg-contact {
    width: 100%; height: 100%;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    color: #fff; position: relative; overflow: hidden;
}
.contact-content {
    display: flex; flex-direction: column; align-items: center;
    gap: 1rem; padding: 1.5rem; text-align: center; width: 100%;
}
.contact-title { font-family: var(--serif); font-size: 1.7rem; font-weight: 700; }
.contact-sub   { font-size: .78rem; color: rgba(255,255,255,.6); }
.contact-items { display: flex; flex-direction: column; gap: .55rem; width: 100%; max-width: 280px; }
.contact-item {
    display: flex; align-items: center; gap: .65rem;
    background: rgba(255,255,255,.07); border-radius: 8px;
    padding: .55rem .85rem; font-size: .76rem;
    border: 1px solid rgba(255,255,255,.1);
    text-align: left;
}
.contact-item svg { width: 16px; height: 16px; flex-shrink: 0; opacity: .7; }
.contact-thanks { font-size: .65rem; color: rgba(255,255,255,.35); position: absolute; bottom: 1rem; }

/* ── BACK COVER ──────────────────────────────────────────────────────────── */
.pg-back-cover {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden;
}
.back-wave {
    position: absolute; top: 0; left: 0; right: 0; height: 38%;
    background: rgba(255,255,255,.06);
    clip-path: ellipse(120% 100% at 50% 0%);
}
.back-content {
    position: relative; z-index: 1;
    display: flex; flex-direction: column;
    align-items: center; gap: .6rem; text-align: center;
}
.back-logo     { height: 60px; object-fit: contain; filter: brightness(0) invert(1); }
.back-logo-text{ font-family: var(--serif); font-size: 1.5rem; font-weight: 700; color: #fff; }
.back-tagline  { font-size: .75rem; }
.back-divider  { width: 36px; height: 3px; border-radius: 2px; }
.back-web      { font-size: .82rem; font-weight: 600; }

.pg-blank { width: 100%; height: 100%; background: #fafafa; }

/* ── PDF overlay ─────────────────────────────────────────────────────────── */
.pdf-overlay {
    position: fixed; inset: 0; z-index: 9999;
    background: rgba(0,0,0,.55); backdrop-filter: blur(4px);
    display: flex; align-items: center; justify-content: center;
}
.pdf-overlay.hidden { display: none; }
.pdf-modal {
    background: #fff; border-radius: 14px;
    padding: 2rem 2.5rem; text-align: center; min-width: 260px;
    display: flex; flex-direction: column; align-items: center; gap: .9rem;
    box-shadow: 0 32px 64px rgba(0,0,0,.2);
}
.pdf-spinner {
    width: 44px; height: 44px; border-radius: 50%;
    border: 4px solid #e2e8f0; border-top-color: var(--accent);
    animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.pdf-modal p { font-size: .85rem; color: var(--muted); }
.pdf-progress-bar { width: 200px; height: 5px; background: #e2e8f0; border-radius: 5px; overflow: hidden; }
#pdfProgressFill { height: 100%; width: 0%; background: var(--accent); border-radius: 5px; transition: width .3s; }

/* ── Print view (hidden; exposed off-screen during PDF export) ───────────── */
.print-view { display: none !important; }
.print-view .print-page {
    width: 794px; height: 1123px;
    overflow: hidden;
    page-break-after: always;
    position: relative;
    background: #fff;
}
/* Inside print pages, page internals must fill the fixed A4 px size */
.print-view .print-page .page,
.print-view .print-page .pg-cover,
.print-view .print-page .pg-toc,
.print-view .print-page .pg-divider,
.print-view .print-page .pg-products,
.print-view .print-page .pg-contact,
.print-view .print-page .pg-back-cover {
    width: 794px !important;
    height: 1123px !important;
}

/* ── Print-view product overrides: prevent image distortion ─────────────── */
.print-view .pg-products { padding: 24px 28px 18px; gap: 0; }
.print-view .prod-line-tag { font-size: .7rem; margin-bottom: 14px; }
.print-view .prod-grid { gap: 14px; }

/* Cap image height so it never stretches with the card */
.print-view .prod-img {
    width: 160px;
    max-height: 260px;
    align-self: flex-start;
    height: 100%;
}
.print-view .prod-img img { object-fit: contain; background: #eef2f7; }

/* Single-product layout */
.print-view .prod-card.layout-single .prod-img {
    width: 100%;
    height: 340px;
    max-height: 340px;
    align-self: auto;
}
.print-view .prod-card.layout-single .prod-img img { object-fit: contain; }

/* Bigger text for print readability */
.print-view .prod-name { font-size: 1rem; -webkit-line-clamp: 3; }
.print-view .prod-desc { font-size: .78rem; -webkit-line-clamp: 5; }
.print-view .prod-features li { font-size: .72rem; }
.print-view .prod-ref { font-size: .7rem; }
.print-view .prod-brand { font-size: .65rem; }
.print-view .prod-body { padding: 14px 16px 12px; gap: 8px; }

@media print {
    body > *:not(.print-view) { display: none !important; }
    .print-view { display: block !important; }
}

/* ── StPageFlip book shadow & fit ───────────────────────────────────────── */
.stf__parent {
    box-shadow: var(--shadow);
    /* Ensure the book doesn't overflow its container */
    max-width: 100%;
}

/* Pages fill their slot exactly */
.stf__item {
    overflow: hidden !important;
}

/* Backgrounds on hard-cover pages */
.stf__item.--hard.page-cover { background: var(--cover-bg, #0f172a); }
.stf__item.--hard.page-cover-bottom { background: var(--cover-bg, #0f172a); }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
    .catalog-wrapper { padding: .5rem .25rem 0; }
    .book-stage      { padding: 8px 0; gap: .4rem; }
}

@media (max-width: 700px) {
    .top-title, .top-sep { display: none; }
    .btn-download span   { display: none; }
    .btn-download        { padding: .4rem .55rem; }
    .book-nav            { width: 32px; height: 32px; font-size: 1.3rem; }
    .ctrl-sep            { display: none; }
    /* Reduce feature list on mobile */
    .prod-grid .prod-features li:nth-child(n+3) { display: none; }
    /* Shrink product image on mobile */
    .prod-img { width: 100px; }
    .prod-name { font-size: .72rem; }
    .prod-desc { font-size: .6rem; }
}

@media (max-width: 440px) {
    .book-nav  { display: none; }
    .top-company { font-size: .82rem; }
    .catalog-controls { gap: .15rem; padding: .25rem .35rem; }
    .ctrl-btn  { width: 26px; height: 26px; }
    .ctrl-btn svg { width: 13px; height: 13px; }
    /* Slimmer controls bar height on very small screens */
    .page-indicator input { width: 34px; height: 22px; font-size: .7rem; }
}
