:root {
    --brand-red: #c51d27;
    --brand-red-dark: #8f1720;
    --brand-burgundy: #641c24;
    --brand-orange: #f06a24;
    --brand-orange-soft: #f59a55;
    --ink: #241c1a;
    --text-main: #352b28;
    --text-muted: #746660;
    --cream: #fff9f3;
    --parchment: #f8f0e6;
    --peach-light: #fff0e5;
    --rose-light: #fcebed;
    --sand: #eadbcb;
    --white: #ffffff;
    --border-soft: #e8ddd4;
    --source-brand-red: var(--brand-red);
    --source-brand-red-dark: var(--brand-red-dark);
    --source-saffron: var(--brand-orange);
    --source-ivory: var(--cream);
    --source-rose: var(--rose-light);
    --source-ink: var(--ink);
    --source-teal: #456f6b;
    --source-stone: var(--border-soft);
    --color-brand-primary: var(--source-brand-red);
    --color-brand-secondary: var(--source-saffron);
    --color-action-primary: var(--source-brand-red);
    --color-action-hover: var(--source-brand-red-dark);
    --color-action-active: #75121a;
    --color-focus: var(--source-saffron);
    --color-canvas: var(--source-ivory);
    --color-surface: var(--white);
    --color-surface-tinted: var(--source-rose);
    --color-surface-dark: var(--source-ink);
    --color-heading: var(--source-ink);
    --color-text: var(--text-main);
    --color-text-muted: var(--text-muted);
    --color-text-inverse: #fffaf6;
    --color-border-subtle: var(--source-stone);
    --color-success: #19734b;
    --color-warning: #946000;
    --color-error: #b42318;
    --color-information: var(--source-teal);
    --radius-control: .75rem;
    --radius-card: 1rem;
    --radius-panel: 1.5rem;
    --shadow-card: 0 8px 28px rgba(54, 29, 23, .07);
    --shadow-card-hover: 0 18px 38px rgba(54, 29, 23, .13);
    --shadow-feature: 0 24px 60px rgba(53, 27, 22, .17);
    --gradient-brand: linear-gradient(135deg, #a81722 0%, #c91f29 55%, #ee6b26 100%);
    --gradient-light: linear-gradient(135deg, #fff9f3 0%, #fff0e5 55%, #fcebed 100%);
    --gradient-dark: linear-gradient(135deg, #281719 0%, #511a20 100%);
    --gradient-page-hero: linear-gradient(90deg, rgba(255, 248, 243, .98) 0%, rgba(255, 248, 243, .92) 37%, rgba(255, 248, 243, .08) 66%);
    --font-body: "Noto Sans Devanagari", "Nirmala UI", system-ui, sans-serif;
    --font-display: Georgia, "Noto Serif Devanagari", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--color-canvas); color: var(--color-text); font-family: var(--font-body); line-height: 1.65; }
body { overflow-x: hidden; }
a { color: var(--color-brand-primary); text-underline-offset: .18em; }
a:hover { color: var(--color-action-hover); }
h1, h2, h3 { color: var(--color-heading); font-family: var(--font-display); font-weight: 700; line-height: 1.15; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5vw, 5rem); }
h2 { font-size: clamp(1.8rem, 3vw, 3rem); }
h3 { font-size: 1.2rem; }
p { max-width: 72ch; }
:focus-visible { outline: 3px solid var(--color-focus) !important; outline-offset: 3px; }
.skip-link { position: fixed; z-index: 1100; left: 1rem; top: -5rem; padding: .75rem 1rem; background: var(--color-surface-dark); color: var(--color-text-inverse); border-radius: var(--radius-control); }
.skip-link:focus { top: 1rem; color: var(--color-text-inverse); }
.container { max-width: 1240px; }
.narrow-container { max-width: 820px; }
.section-space { padding: clamp(4rem, 8vw, 7rem) 0; }
.surface-canvas { background: var(--color-canvas); }
.surface-tinted { background: var(--color-surface-tinted); }
.eyebrow { color: var(--color-brand-primary); font-family: var(--font-body); font-size: .78rem; font-weight: 800; letter-spacing: .12em; margin-bottom: .75rem; text-transform: uppercase; }
.eyebrow-light { color: #ffcda7; }

.site-header { background: rgba(255, 248, 243, .96); border-bottom: 1px solid var(--color-border-subtle); backdrop-filter: blur(14px); }
.navbar { min-height: 76px; padding: .2rem 0; }
.navbar-brand img { height: 62px; object-fit: contain; width: 62px; }
.navbar-nav { gap: .25rem; margin-left: 1.25rem; }
.navbar .nav-link { border-radius: var(--radius-control); color: var(--color-text); font-size: .94rem; font-weight: 650; padding: .6rem .75rem !important; }
.navbar .nav-link:hover, .navbar .nav-link.active { background: var(--color-surface-tinted); color: var(--color-brand-primary); }
.language-switch { align-items: center; background: var(--color-surface); border: 1px solid var(--color-border-subtle); border-radius: 99px; display: flex; font-size: .77rem; gap: .35rem; padding: .45rem .7rem; }
.language-switch a { color: var(--color-text-muted); font-weight: 700; text-decoration: none; }
.language-switch a[aria-current="true"] { color: var(--color-brand-primary); }
.admin-logout-form { margin: 0; }
.cart-link { align-items: center; color: var(--color-heading); display: flex; font-weight: 700; gap: .4rem; text-decoration: none; }
.cart-count { align-items: center; background: var(--color-action-primary); border-radius: 99px; color: var(--color-text-inverse); display: inline-flex; font-size: .7rem; height: 1.5rem; justify-content: center; min-width: 1.5rem; padding: 0 .3rem; }
.search-band { background: var(--color-surface-dark); padding: .65rem 0; }
.search-form { display: flex; gap: .5rem; }
.search-form .form-control { background: rgba(255,255,255,.98); border: 0; flex: 1 1 auto; min-height: 44px; min-width: 0; }
.search-form .btn { flex: 0 0 auto; }
.btn { border-radius: var(--radius-control); font-weight: 750; padding: .65rem 1rem; }
.btn-brand { background: var(--color-action-primary); border: 1px solid var(--color-action-primary); color: var(--color-text-inverse); }
.btn-brand:hover, .btn-brand:focus { background: var(--color-action-hover); border-color: var(--color-action-hover); color: var(--color-text-inverse); }
.btn-brand:active { background: var(--color-action-active) !important; }
.btn-outline-brand { background: transparent; border: 1px solid var(--color-brand-primary); color: var(--color-brand-primary); }
.btn-outline-brand:hover { background: var(--color-brand-primary); color: var(--color-text-inverse); }

.hero-section { min-height: min(72vh, 720px); overflow: hidden; position: relative; }
.hero-image { height: 100%; inset: 0; object-fit: cover; object-position: center; position: absolute; width: 100%; }
.hero-overlay { background: var(--gradient-page-hero); inset: 0; position: absolute; }
.hero-content { align-items: center; display: flex; min-height: min(72vh, 720px); position: relative; z-index: 1; }
.hero-copy { max-width: 590px; padding: 4rem 0; }
.hero-copy h1 { letter-spacing: -.045em; margin-bottom: 1.25rem; }
.hero-lead { color: var(--color-text); font-size: clamp(1.05rem, 2vw, 1.3rem); margin-bottom: 2rem; max-width: 52ch; }
.section-heading { align-items: end; display: flex; justify-content: space-between; margin-bottom: 2rem; gap: 2rem; }
.section-heading h2 { margin: 0 0 .5rem; }
.section-heading p { color: var(--color-text-muted); margin: 0; }
.section-heading > a { flex: 0 0 auto; font-weight: 750; }
.horizontal-books { display: grid; gap: 1rem; grid-auto-columns: minmax(190px, 1fr); grid-auto-flow: column; overflow-x: auto; padding: .5rem .25rem 1.5rem; scroll-snap-type: x mandatory; scrollbar-color: var(--color-brand-primary) var(--color-border-subtle); }
.horizontal-book { min-width: 0; scroll-snap-align: start; }
.book-grid { display: grid; gap: 1.15rem; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.book-card { background: transparent; border-top: 3px solid transparent; display: flex; flex-direction: column; min-width: 0; position: relative; transition: transform .2s ease, border-color .2s ease; }
.book-card:hover { border-top-color: var(--color-brand-secondary); transform: translateY(-4px); }
.book-cover-wrap { align-items: center; aspect-ratio: 2 / 3; background: var(--color-surface); border: 1px solid var(--color-border-subtle); border-radius: var(--radius-card) var(--radius-card) .25rem .25rem; display: flex; justify-content: center; overflow: hidden; padding: .65rem; }
.book-cover { filter: drop-shadow(0 7px 8px rgba(24,24,24,.16)); height: 100%; object-fit: contain; width: 100%; }
.cover-placeholder { color: var(--color-text-muted); font-size: .8rem; padding: 1rem; text-align: center; }
.book-card-body { display: flex; flex: 1; flex-direction: column; padding: .85rem .25rem 0; }
.book-author { color: var(--color-text-muted); font-size: .73rem; font-weight: 750; letter-spacing: .025em; margin: 0 0 .35rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.book-card h3 { font-family: var(--font-body); font-size: .98rem; line-height: 1.4; margin-bottom: .55rem; }
.book-card h3 a { color: var(--color-heading); text-decoration: none; }
.book-price { align-items: baseline; display: flex; gap: .5rem; margin-top: auto; }
.book-price strong { color: var(--color-brand-primary); font-size: 1rem; }
.book-price del { color: var(--color-text-muted); font-size: .76rem; }
.stretched-link-label { font-size: .78rem; font-weight: 750; margin-top: .55rem; text-decoration: none; }

.literary-band { background: var(--color-surface-dark); color: var(--color-text-inverse); padding: clamp(4rem, 8vw, 6rem) 0; position: relative; }
.literary-band::after { color: rgba(255,255,255,.04); content: "अ"; font-family: var(--font-display); font-size: 18rem; line-height: 1; position: absolute; right: 5%; top: -2rem; }
.literary-grid { align-items: center; display: grid; gap: 4rem; grid-template-columns: 1.4fr 1fr; position: relative; z-index: 1; }
.literary-grid h2 { color: var(--color-text-inverse); font-size: clamp(2rem, 4vw, 4rem); font-style: italic; }
.literary-grid > p { color: #ded3cb; font-size: 1.08rem; }
.authors-section { background: var(--color-surface); }
.author-tile { align-items: center; background: var(--color-canvas); border-bottom: 3px solid var(--color-brand-primary); border-radius: var(--radius-card); color: var(--color-heading); display: flex; flex-direction: column; height: 100%; padding: 1.5rem 1rem; text-align: center; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.author-tile:hover { box-shadow: var(--shadow-card); transform: translateY(-4px); }
.author-initial { align-items: center; background: var(--color-surface-tinted); border-radius: 50%; color: var(--color-brand-primary); display: flex; font-family: var(--font-display); font-size: 2rem; height: 4rem; justify-content: center; margin-bottom: 1rem; width: 4rem; }
.author-tile small { color: var(--color-text-muted); }
.feedback-section { background: var(--source-teal); color: var(--color-text-inverse); }
.feedback-section h2, .feedback-section .eyebrow { color: var(--color-text-inverse); }
.feedback-section blockquote { font-family: var(--font-display); font-size: clamp(1.5rem, 3.5vw, 2.6rem); line-height: 1.4; margin: 2rem auto; max-width: 720px; min-height: 6rem; text-align: center; }
.carousel-controls { display: flex; gap: .6rem; justify-content: center; }
.carousel-controls button { background: transparent; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; color: var(--color-text-inverse); height: 2.75rem; width: 2.75rem; }

.page-banner { background: linear-gradient(120deg, var(--color-surface-tinted), var(--color-canvas)); border-bottom: 1px solid var(--color-border-subtle); padding: clamp(2rem, 4vw, 3rem) 0; }
.page-banner.compact { padding: 1.75rem 0; }
.page-banner h1 { font-size: clamp(2rem, 3.5vw, 3.25rem); margin-bottom: .65rem; max-width: 900px; }
.page-banner p { color: var(--color-text-muted); font-size: 1rem; line-height: 1.5; margin-bottom: 0; }
.page-banner .eyebrow { font-size: .72rem; margin-bottom: .5rem; }
.shelf-section { border-top: 1px solid var(--color-border-subtle); margin-top: 2rem; padding: 2rem 0 3rem; }
.shelf-heading { align-items: center; display: flex; justify-content: space-between; margin-bottom: 1.5rem; }
.shelf-heading h3 { font-size: 1.65rem; margin: 0; }
.shelf-heading span { color: var(--color-text-muted); font-size: .85rem; }
.publication-section { background: var(--color-surface-dark); }
.publication-section h2 { color: var(--color-text-inverse); }
.publication-list { display: grid; gap: .75rem; grid-template-columns: repeat(3, 1fr); }
.publication-list a { align-items: center; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius-card); color: var(--color-text-inverse); display: grid; gap: .25rem 1rem; grid-template-columns: 1fr auto; padding: 1.1rem; text-decoration: none; }
.publication-list a small { color: #cfc3bb; grid-column: 1; }
.publication-list a b { grid-column: 2; grid-row: 1 / 3; }
.directory-grid { display: grid; gap: .75rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.directory-grid a { align-items: center; background: var(--color-surface); border: 1px solid var(--color-border-subtle); border-radius: var(--radius-card); color: var(--color-heading); display: grid; gap: .15rem 1rem; grid-template-columns: 1fr auto; padding: 1rem 1.15rem; text-decoration: none; }
.directory-grid a:hover { border-color: var(--color-brand-primary); box-shadow: var(--shadow-card); }
.directory-grid span { color: var(--color-text-muted); font-size: .78rem; }
.directory-grid b { color: var(--color-brand-primary); grid-column: 2; grid-row: 1 / 3; }
.empty-state { background: var(--color-surface); border: 1px dashed var(--color-border-subtle); border-radius: var(--radius-panel); padding: 4rem 2rem; text-align: center; }
.back-link { display: inline-block; font-weight: 750; margin-bottom: 1rem; text-decoration: none; }

.cover-carousel { background: var(--color-surface-tinted); border-radius: var(--radius-panel); min-height: 560px; padding: 2rem; }
.cover-carousel .carousel-item { height: 500px; text-align: center; }
.cover-carousel img { filter: drop-shadow(0 16px 18px rgba(24,24,24,.22)); height: 100%; max-width: 100%; object-fit: contain; }
.cover-carousel .carousel-control-prev, .cover-carousel .carousel-control-next { background: var(--color-surface-dark); border: 0; border-radius: 50%; color: var(--color-text-inverse); font-size: 2rem; height: 3rem; opacity: .8; top: 50%; width: 3rem; }
.book-detail-copy h1 { font-size: clamp(2.3rem, 4vw, 4rem); }
.book-meta { border-bottom: 1px solid var(--color-border-subtle); border-top: 1px solid var(--color-border-subtle); margin: 2rem 0; padding: .75rem 0; }
.book-meta div { display: grid; gap: 1rem; grid-template-columns: 9rem 1fr; padding: .45rem 0; }
.book-meta dt { color: var(--color-text-muted); font-size: .82rem; }
.book-meta dd { margin: 0; }
.detail-price { display: flex; flex-direction: column; margin: 1.5rem 0; }
.detail-price span, .detail-price del { color: var(--color-text-muted); font-size: .86rem; }
.detail-price strong { color: var(--color-brand-primary); font-size: 2rem; }
.book-description h2 { font-family: var(--font-body); font-size: 1.2rem; }
.add-cart-panel { align-items: end; background: var(--color-surface); border: 1px solid var(--color-border-subtle); border-radius: var(--radius-panel); box-shadow: var(--shadow-card); display: grid; gap: .75rem 1rem; grid-template-columns: 90px 1fr; margin-top: 2rem; padding: 1.25rem; }
.add-cart-panel label { grid-column: 1; }
.add-cart-panel .btn { grid-column: 2; grid-row: 1 / 3; }

.cart-items { border-top: 1px solid var(--color-border-subtle); }
.cart-item { align-items: center; border-bottom: 1px solid var(--color-border-subtle); display: grid; gap: 1rem; grid-template-columns: 88px 1fr auto; padding: 1.25rem 0; }
.cart-item img { background: var(--color-surface); height: 128px; object-fit: contain; padding: .25rem; }
.cart-item h2 { font-family: var(--font-body); font-size: 1.1rem; margin: 0 0 .6rem; }
.cart-item h2 a { color: var(--color-heading); text-decoration: none; }
.cart-quantity { align-items: end; display: flex; flex-direction: column; gap: .35rem; min-width: 110px; }
.cart-quantity label { color: var(--color-text-muted); font-size: .75rem; }
.cart-quantity .form-control { max-width: 74px; }
.order-summary { background: var(--color-surface); border-top: 4px solid var(--color-brand-primary); border-radius: var(--radius-card); box-shadow: var(--shadow-card); padding: 1.5rem; position: sticky; top: 150px; }
.order-summary h2 { font-family: var(--font-body); font-size: 1.35rem; }
.order-summary > div { border-bottom: 1px solid var(--color-border-subtle); display: flex; font-size: .9rem; gap: 1rem; justify-content: space-between; padding: .8rem 0; }
.order-summary .grand-total { border-bottom: 0; font-size: 1.05rem; padding: 1.2rem 0; }
.grand-total strong { color: var(--color-brand-primary); font-size: 1.3rem; }
.coupon-form { margin: 1rem 0; }
.coupon-form label { font-size: .8rem; font-weight: 750; margin-bottom: .35rem; }
.payment-note { background: #fff3d4; border-left: 4px solid var(--color-warning); color: #583d00; font-size: .82rem; padding: .75rem; }

.form-control, .form-select { border-color: var(--color-border-subtle); border-radius: var(--radius-control); min-height: 46px; }
.form-control:focus, .form-select:focus { border-color: var(--color-focus); box-shadow: 0 0 0 .2rem rgba(239, 99, 16, .16); }
label { color: var(--color-heading); display: inline-block; font-size: .88rem; font-weight: 750; margin-bottom: .35rem; }
.checkout-form, .panel-form { background: var(--color-surface); border: 1px solid var(--color-border-subtle); border-radius: var(--radius-panel); box-shadow: var(--shadow-card); padding: clamp(1.25rem, 4vw, 2.5rem); }
.mobile-first { align-items: end; background: var(--color-surface-tinted); border-radius: var(--radius-card); display: flex; gap: 1rem; margin-bottom: 2rem; padding: 1.25rem; }
.form-group-grow { flex: 1; }
.contact-panel { background: var(--color-surface-dark); border-radius: var(--radius-panel); color: #d8cec7; min-height: 350px; padding: 2.5rem; position: relative; }
.contact-panel::after { bottom: -2rem; color: rgba(255,255,255,.06); content: "पुस्तक"; font-family: var(--font-display); font-size: 5rem; position: absolute; right: 1rem; }
.contact-panel h2 { color: var(--color-text-inverse); }
.about-section { background: var(--color-surface-tinted); }
.about-card { background: var(--color-surface); border: 1px solid var(--color-border-subtle); border-radius: var(--radius-panel); box-shadow: var(--shadow-feature); margin: 0 auto; max-width: 980px; padding: clamp(1.5rem, 5vw, 3.5rem); }
.owner-profile { align-items: center; border-bottom: 1px solid var(--color-border-subtle); display: flex; flex-direction: column; margin-bottom: 2rem; padding-bottom: 1.75rem; text-align: center; }
.owner-portrait { background: var(--color-surface-tinted); border: 6px solid var(--color-brand-primary); border-radius: 50%; box-shadow: 0 10px 28px rgba(44, 28, 20, .18); display: block; height: 220px; margin: 0 auto 1.25rem; object-fit: cover; object-position: center top; width: 220px; }
.owner-profile h2 { font-size: clamp(1.65rem, 4vw, 2.25rem); margin-bottom: .25rem; }
.owner-profile p { color: var(--color-brand-primary); display: block; font-size: .82rem; font-weight: 800; letter-spacing: .08em; margin: 0 auto; text-align: center; text-transform: uppercase; width: 100%; }
.about-copy { margin: 0 auto; max-width: 780px; }
.about-copy p:last-child { margin-bottom: 0; }
.prose { font-size: 1.08rem; }
.prose h2 { font-size: 1.75rem; margin-top: 2.5rem; }
.quote-section { background: var(--color-brand-primary); padding: 5rem 0; }
.quote-section blockquote { color: var(--color-text-inverse); font-family: var(--font-display); font-size: clamp(2rem, 5vw, 4rem); font-style: italic; margin: 0 auto; max-width: 900px; text-align: center; }
.success-page { text-align: center; }
.success-mark { align-items: center; background: var(--color-success); border-radius: 50%; color: var(--color-text-inverse); display: flex; font-size: 2rem; height: 4.5rem; justify-content: center; margin: 0 auto 1.5rem; width: 4.5rem; }
.success-total { align-items: center; border-bottom: 1px solid var(--color-border-subtle); border-top: 1px solid var(--color-border-subtle); display: flex; justify-content: space-between; margin: 2rem 0; padding: 1rem; }
.success-total strong { color: var(--color-brand-primary); font-size: 1.4rem; }

.auth-page { background: var(--color-surface-tinted); min-height: 65vh; }
.auth-card { background: var(--color-surface); border-top: 4px solid var(--color-brand-primary); border-radius: var(--radius-panel); box-shadow: var(--shadow-feature); margin: 0 auto; max-width: 440px; padding: 2rem; }
.auth-card > img { display: block; margin: -1rem auto .5rem; object-fit: contain; }
.auth-card h1 { font-size: 2rem; text-align: center; }
.auth-card label { margin-top: 1rem; }
.auth-card .btn { margin-top: 1.5rem; }
.auth-instruction { color: var(--color-text-muted); margin: 0 auto 1.25rem; text-align: center; }
.pin-inputs { display: flex; gap: clamp(.4rem, 2.5vw, .75rem); justify-content: center; }
.pin-digit { font-size: 1.65rem; font-weight: 800; height: clamp(3.1rem, 15vw, 3.75rem); padding: .35rem; text-align: center; width: clamp(3.1rem, 15vw, 3.75rem); }
.admin-banner { background: var(--color-surface-dark); padding: 3rem 0; }
.admin-banner h1 { color: var(--color-text-inverse); font-size: 3rem; }
.admin-surface { background: #f3f1ef; }
.stat-grid { display: grid; gap: 1rem; grid-template-columns: repeat(4, 1fr); }
.stat-card { background: var(--color-surface); border-left: 4px solid var(--color-information); border-radius: var(--radius-card); box-shadow: var(--shadow-card); display: flex; flex-direction: column; padding: 1.25rem; }
.stat-card strong { color: var(--color-heading); font-size: 2rem; }
.stat-card span { color: var(--color-text-muted); font-size: .82rem; }
.stat-card-link { text-decoration: none; transition: box-shadow .2s ease, transform .2s ease; }
.stat-card-link:hover, .stat-card-link:focus-visible { box-shadow: var(--shadow-feature); transform: translateY(-2px); }
.admin-table-panel { background: var(--color-surface); border-radius: var(--radius-card); box-shadow: var(--shadow-card); margin-top: 2rem; padding: 1.5rem; }
.admin-table-panel h2 { font-family: var(--font-body); font-size: 1.35rem; }
.status-badge { background: #e4f4eb; border-radius: 99px; color: var(--color-success); font-size: .72rem; font-weight: 800; padding: .3rem .55rem; }
.status-draft { background: #fff3d4; color: #715000; }
.status-published { background: #e4f4eb; color: var(--color-success); }
.compact-admin-banner { padding: 2.25rem 0; }
.compact-admin-banner h1 { font-size: clamp(2rem, 4vw, 3rem); margin: .35rem 0; }
.compact-admin-banner p { color: #d7cdc6; margin: 0; }
.compact-admin-banner .status-badge { display: inline-block; margin-bottom: .65rem; }
.admin-section { min-height: 55vh; padding: 2.5rem 0 4.5rem; }
.admin-back-link { color: #ffcda7; display: inline-block; font-weight: 750; margin-bottom: .75rem; text-decoration: none; }
.admin-back-link:hover { color: var(--color-text-inverse); }
.admin-filter-panel { align-items: end; background: var(--color-surface); border: 1px solid var(--color-border-subtle); border-radius: var(--radius-card); box-shadow: var(--shadow-card); display: grid; gap: 1rem; grid-template-columns: 2fr repeat(2, minmax(150px, 1fr)); margin-bottom: 1.5rem; padding: 1.25rem; }
.admin-filter-panel label { display: block; }
.admin-filter-search { grid-column: span 2; }
.admin-filter-actions { display: flex; gap: .5rem; }
.admin-books-panel { margin-top: 0; padding: .75rem 1.25rem; }
.admin-books-table { margin: 0; }
.admin-books-table th { color: var(--color-text-muted); font-size: .72rem; letter-spacing: .04em; padding-block: .9rem; text-transform: uppercase; white-space: nowrap; }
.admin-books-table td { padding-block: .85rem; }
.admin-book-thumb, .admin-thumb-placeholder { background: var(--color-surface-tinted); border: 1px solid var(--color-border-subtle); border-radius: .35rem; display: inline-flex; height: 76px; object-fit: contain; padding: .2rem; width: 52px; }
.admin-thumb-placeholder { align-items: center; color: var(--color-text-muted); justify-content: center; }
.admin-book-cover-link { border-radius: .35rem; display: inline-flex; text-decoration: none; }
.admin-book-title, .admin-book-meta, .admin-book-price { display: block; }
.admin-book-title { color: var(--color-heading); max-width: 34ch; }
.admin-book-title a { color: inherit; text-decoration: none; }
.admin-book-title a:hover { color: var(--color-brand-primary); text-decoration: underline; }
.admin-book-meta { color: var(--color-text-muted); font-size: .78rem; max-width: 38ch; }
.admin-book-price { color: var(--color-brand-primary); font-size: .82rem; font-weight: 800; }
.admin-category-copy { display: block; font-size: .8rem; max-width: 28ch; }
.admin-row-actions { display: flex; flex-wrap: wrap; gap: .65rem; justify-content: flex-end; white-space: nowrap; }
.admin-row-actions a { font-size: .78rem; font-weight: 750; text-decoration: none; }
.admin-row-actions .btn, .admin-confirm-panel .btn, .compact-admin-banner .btn { align-items: center; display: inline-flex; gap: .35rem; }
.admin-action-icon { fill: none; flex: 0 0 auto; height: 1rem; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; width: 1rem; }
.admin-empty-state { border: 0; border-radius: 0; box-shadow: none; }
.admin-empty-state h2 { font-family: var(--font-body); font-size: 1.25rem; }
.admin-pagination { align-items: center; display: flex; justify-content: space-between; margin-top: 1.25rem; }
.admin-pagination > span { color: var(--color-text-muted); font-size: .85rem; }
.admin-pagination > div { display: flex; gap: .5rem; }
.admin-option-tabs { display: flex; flex-wrap: wrap; gap: .65rem; margin-bottom: 1.25rem; }
.admin-option-search { background: var(--color-surface); border: 1px solid var(--color-border-subtle); border-radius: var(--radius-card); box-shadow: var(--shadow-card); margin-bottom: 1.5rem; padding: 1.25rem; }
.admin-option-search > div { display: flex; gap: .65rem; margin-top: .35rem; }
.admin-option-search .form-control { max-width: 520px; }
.admin-options-panel { margin-top: 0; padding: .75rem 1.25rem; }
.admin-options-table { margin: 0; }
.admin-options-table th { color: var(--color-text-muted); font-size: .72rem; letter-spacing: .04em; padding-block: .9rem; text-transform: uppercase; }
.admin-option-form { margin: 0 auto; max-width: 680px; }
.admin-option-form .admin-form-actions { margin-top: 1.5rem; }

.admin-book-form { display: grid; gap: 1.25rem; margin: 0 auto; max-width: 1040px; }
.admin-form-section { background: var(--color-surface); border: 1px solid var(--color-border-subtle); border-radius: var(--radius-card); box-shadow: var(--shadow-card); min-width: 0; padding: clamp(1.25rem, 3vw, 2rem); }
.admin-form-section legend { border-bottom: 1px solid var(--color-border-subtle); box-sizing: border-box; color: var(--color-heading); float: left; font-family: var(--font-display); font-size: 1.45rem; font-weight: 700; margin-bottom: 1.25rem; max-width: 100%; overflow-wrap: anywhere; padding-bottom: .65rem; width: 100%; }
.admin-form-section legend + * { clear: both; }
.admin-field-label { color: var(--color-heading); display: block; font-size: .88rem; font-weight: 750; }
.form-text { color: var(--color-text-muted); font-size: .78rem; }
.admin-lookup-trigger { align-items: center; background: var(--color-surface); border: 1px solid #b9aaa1; border-radius: var(--radius-control); color: var(--color-heading); display: flex; gap: 1rem; justify-content: space-between; min-height: 44px; padding: .65rem .85rem; text-align: left; width: 100%; }
.admin-lookup-trigger:hover, .admin-lookup-trigger:focus { border-color: var(--color-brand-primary); }
.admin-lookup-trigger:focus { box-shadow: 0 0 0 .25rem rgba(143, 63, 31, .15); outline: 0; }
.admin-lookup-trigger.is-invalid { border-color: var(--color-error); }
.admin-lookup-trigger [data-lookup-selection] { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-lookup-trigger > span:last-child { color: var(--color-brand-primary); flex: 0 0 auto; font-size: 1.5rem; line-height: 1; }
.admin-lookup-modal .modal-content { border: 0; border-radius: var(--radius-card); box-shadow: var(--shadow-feature); overflow: hidden; }
.admin-lookup-modal .modal-body { padding-top: .5rem; }
.admin-lookup-search { margin-bottom: .75rem; }
.admin-lookup-options { border: 1px solid var(--color-border-subtle); border-radius: var(--radius-control); max-height: min(50vh, 420px); overflow-y: auto; }
.admin-lookup-option { border-bottom: 1px solid var(--color-border-subtle); margin: 0; min-width: 0; padding: .7rem 1rem .7rem 2.4rem; }
.admin-lookup-option:last-child { border-bottom: 0; }
.admin-lookup-option:hover { background: var(--color-surface-tinted); }
.admin-lookup-option .form-check-label { cursor: pointer; display: block; font-size: .88rem; overflow-wrap: anywhere; }
.admin-lookup-empty { color: var(--color-text-muted); margin: 1rem 0 0; text-align: center; }
.admin-upload-field { align-items: center; background: #faf8f6; border: 1px dashed var(--color-border-subtle); border-radius: var(--radius-control); display: grid; gap: 1rem; grid-template-columns: auto 1fr; min-height: 145px; padding: 1rem; }
.admin-upload-field > img { background: var(--color-surface); height: 116px; object-fit: contain; width: 80px; }
.admin-upload-copy { min-width: 0; }
.admin-upload-actions { align-items: stretch; display: flex; gap: .65rem; }
.admin-upload-actions .form-control { min-width: 0; }
.admin-camera-button { display: none; flex: 0 0 auto; white-space: nowrap; }
.admin-form-actions { background: rgba(243,241,239,.96); bottom: 0; display: flex; gap: .75rem; justify-content: flex-end; padding: 1rem 0; position: sticky; z-index: 4; }

.admin-book-detail-grid { display: grid; gap: 1.5rem; grid-template-columns: minmax(300px, .8fr) minmax(0, 1.2fr); }
.admin-cover-pair { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
.admin-cover-pair figure { margin: 0; min-width: 0; text-align: center; }
.admin-cover-pair figcaption { color: var(--color-text-muted); font-size: .78rem; margin-top: .5rem; }
.admin-detail-cover { align-items: center; aspect-ratio: 2 / 3; background: var(--color-surface); border: 1px solid var(--color-border-subtle); border-radius: var(--radius-card); display: flex; justify-content: center; padding: 1rem; }
.admin-detail-cover img { height: 100%; max-width: 100%; object-fit: contain; }
.admin-detail-cover span { color: var(--color-text-muted); font-size: .8rem; }
.admin-detail-panel { background: var(--color-surface); border-radius: var(--radius-card); box-shadow: var(--shadow-card); padding: clamp(1.25rem, 3vw, 2rem); }
.admin-detail-list { margin: 0; }
.admin-detail-list > div { border-bottom: 1px solid var(--color-border-subtle); display: grid; gap: 1rem; grid-template-columns: 10rem 1fr; padding: .8rem 0; }
.admin-detail-list dt { color: var(--color-text-muted); font-size: .8rem; }
.admin-detail-list dd { color: var(--color-heading); margin: 0; overflow-wrap: anywhere; }
.admin-description { padding-top: 1.5rem; }
.admin-description h2 { font-family: var(--font-body); font-size: 1.1rem; }
.admin-description p { white-space: normal; }
.admin-confirm-panel { background: var(--color-surface); border-top: 4px solid var(--color-warning); border-radius: var(--radius-panel); box-shadow: var(--shadow-feature); margin: 2rem auto; max-width: 700px; padding: clamp(1.5rem, 5vw, 3rem); }
.admin-confirm-panel h1 { font-size: clamp(2rem, 5vw, 3rem); }
.admin-warning-mark { align-items: center; background: #fff3d4; border-radius: 50%; color: var(--color-warning); display: flex; font-size: 1.8rem; font-weight: 900; height: 3.5rem; justify-content: center; margin-bottom: 1rem; width: 3.5rem; }
.admin-confirm-book { color: var(--color-heading); font-size: 1.15rem; font-weight: 800; }

.site-footer { background: var(--color-surface-dark); color: #d7cdc6; padding: 4rem 0 1.5rem; }
.footer-logo { filter: drop-shadow(0 3px 8px rgba(0,0,0,.25)); object-fit: contain; }
.footer-title { color: var(--color-text-inverse); font-family: var(--font-display); font-size: 1.45rem; font-weight: 700; margin: 0; }
.site-footer h2 { color: var(--color-text-inverse); font-family: var(--font-body); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; }
.site-footer li { margin-bottom: .45rem; }
.site-footer a { color: #d7cdc6; text-decoration: none; }
.site-footer a:hover { color: #ffcda7; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); display: flex; font-size: .75rem; gap: 2rem; justify-content: space-between; margin-top: 3rem; padding-top: 1.25rem; }

@media (max-width: 1199.98px) {
    .book-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .stat-grid { grid-template-columns: repeat(3, 1fr); }
    .admin-filter-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 991.98px) {
    .navbar-collapse { border-top: 1px solid var(--color-border-subtle); padding: 1rem 0; }
    .navbar-nav { margin-left: 0; }
    .header-actions { justify-content: space-between; }
    .hero-section, .hero-content { min-height: 650px; }
    .hero-image { object-position: 64% center; }
    .hero-overlay { background: linear-gradient(90deg, rgba(255,248,243,.98) 0%, rgba(255,248,243,.9) 54%, rgba(255,248,243,.3) 100%); }
    .hero-copy { max-width: 520px; }
    .literary-grid { gap: 2rem; grid-template-columns: 1fr; }
    .book-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .publication-list { grid-template-columns: 1fr 1fr; }
    .directory-grid { grid-template-columns: 1fr 1fr; }
    .order-summary { position: static; }
    .admin-book-detail-grid { grid-template-columns: 1fr; }
}

@media (max-width: 767.98px) {
    .section-space { padding: 3.5rem 0; }
    .page-banner { padding: 1.75rem 0; }
    .page-banner.compact { padding: 1.4rem 0; }
    .page-banner h1 { font-size: clamp(1.8rem, 8vw, 2.4rem); line-height: 1.12; margin-bottom: .5rem; }
    .page-banner p { font-size: .92rem; line-height: 1.45; }
    .page-banner .eyebrow { font-size: .68rem; margin-bottom: .4rem; }
    .search-form .btn { padding-inline: .8rem; }
    .hero-section, .hero-content { min-height: 620px; }
    .hero-image { object-position: 68% center; }
    .hero-overlay { background: linear-gradient(180deg, rgba(255,248,243,.98) 0%, rgba(255,248,243,.92) 48%, rgba(255,248,243,.4) 100%); }
    .hero-content { align-items: flex-start; }
    .hero-copy { padding-top: 4rem; }
    .hero-copy h1 { font-size: 3rem; max-width: 10ch; }
    .section-heading { align-items: start; flex-direction: column; gap: .75rem; }
    .horizontal-books { grid-auto-columns: 44%; }
    .book-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .shelf-heading { align-items: start; flex-direction: column; gap: .85rem; }
    .publication-list { grid-template-columns: 1fr; }
    .directory-grid { grid-template-columns: 1fr; }
    .cover-carousel { min-height: 430px; padding: 1rem; }
    .cover-carousel .carousel-item { height: 400px; }
    .cart-item { align-items: start; grid-template-columns: 72px 1fr; }
    .cart-item img { height: 105px; width: 72px; }
    .cart-quantity { align-items: center; flex-direction: row; grid-column: 2; min-width: 0; }
    .mobile-first { align-items: stretch; flex-direction: column; }
    .stat-grid { grid-template-columns: 1fr 1fr; }
    .admin-section { padding-top: 1.25rem; }
    .compact-admin-banner .container { align-items: flex-start !important; flex-direction: column; }
    .compact-admin-banner .container > .d-flex { align-items: flex-start !important; flex-direction: column; width: 100%; }
    .admin-filter-panel { grid-template-columns: 1fr; }
    .admin-filter-search { grid-column: auto; }
    .admin-filter-actions .btn { flex: 1; }
    .admin-books-panel { background: transparent; box-shadow: none; padding: 0; }
    .admin-books-panel .table-responsive { overflow: visible; }
    .admin-books-table, .admin-books-table tbody, .admin-books-table tr, .admin-books-table td { display: block; width: 100%; }
    .admin-books-table thead { display: none; }
    .admin-books-table tr { background: var(--color-surface); border: 1px solid var(--color-border-subtle); border-radius: var(--radius-card); box-shadow: var(--shadow-card); display: grid; gap: .25rem 1rem; grid-template-columns: 64px 1fr; margin-bottom: 1rem; overflow: hidden; padding: 1rem; }
    .admin-books-table td { border: 0; padding: .25rem 0; text-align: left !important; }
    .admin-books-table td::before { color: var(--color-text-muted); content: attr(data-label); display: block; font-size: .68rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
    .admin-books-table td:first-child { grid-row: 1 / 6; }
    .admin-books-table td:first-child::before, .admin-books-table td:nth-child(2)::before { display: none; }
    .admin-books-table td:not(:first-child) { grid-column: 2; }
    .admin-row-actions { border-top: 1px solid var(--color-border-subtle); justify-content: flex-start; margin-top: .25rem; padding-top: .65rem; }
    .admin-option-search > div { align-items: stretch; flex-direction: column; }
    .admin-options-panel { padding-inline: .75rem; }
    .admin-category-options { grid-template-columns: 1fr 1fr; }
    .admin-form-actions { justify-content: stretch; }
    .admin-form-actions .btn { flex: 1; }
    .admin-camera-button { display: inline-flex; }
    .admin-pagination { align-items: stretch; flex-direction: column; gap: .75rem; }
    .footer-bottom { flex-direction: column; gap: .5rem; }
}

@media (max-width: 399.98px) {
    .horizontal-books { grid-auto-columns: 62%; }
    .book-grid { gap: .8rem; }
    .book-card h3 { font-size: .9rem; }
    .book-meta div { grid-template-columns: 1fr; gap: .1rem; }
    .add-cart-panel { grid-template-columns: 78px 1fr; }
    .stat-grid { grid-template-columns: 1fr; }
    .admin-category-options { grid-template-columns: 1fr; }
    .admin-cover-pair { grid-template-columns: 1fr; }
    .admin-detail-list > div { gap: .15rem; grid-template-columns: 1fr; }
    .admin-upload-field { grid-template-columns: 1fr; }
    .admin-upload-actions { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Warm editorial storefront redesign — 27 August 2026 */
.storefront-shell { background: var(--cream); }
.storefront-shell main { min-width: 0; overflow: hidden; }
.storefront-shell .container { max-width: 1280px; }
.storefront-shell .eyebrow { align-items: center; display: flex; gap: .5rem; }
.storefront-shell .eyebrow.text-center { justify-content: center; }
.storefront-shell .eyebrow i { color: var(--brand-orange); font-size: 1rem; }
.storefront-shell .site-header { background: rgba(255, 249, 243, .97); border-bottom: 1px solid rgba(197, 29, 39, .1); box-shadow: 0 8px 30px rgba(70, 36, 28, .07); }
.storefront-shell .navbar { min-height: 78px; padding: .3rem 0; }
.storefront-shell .navbar-brand { align-items: center; display: inline-flex; gap: .7rem; margin-right: 1.25rem; padding: 0; text-decoration: none; }
.storefront-shell .navbar-brand img { height: 68px; width: 68px; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.18; }
.brand-copy strong { color: var(--ink); font-family: var(--font-display); font-size: 1.02rem; }
.storefront-shell .navbar-collapse { justify-content: flex-end; }
.storefront-shell .navbar-nav { gap: .15rem; margin-left: 0; }
.storefront-shell .navbar .nav-link { align-items: center; border-radius: .7rem; display: inline-flex; gap: .42rem; padding: .62rem .68rem !important; position: relative; }
.storefront-shell .navbar .nav-link i { color: var(--brand-orange); font-size: .92rem; }
.storefront-shell .navbar .nav-link.active { background: var(--rose-light); color: var(--brand-red-dark); }
.storefront-shell .navbar .nav-link.active::after { background: var(--gradient-brand); border-radius: 1rem; bottom: .18rem; content: ""; height: 2px; left: .7rem; position: absolute; right: .7rem; }
.storefront-shell .navbar-toggler { border-color: var(--border-soft); border-radius: .75rem; padding: .45rem .6rem; }
.storefront-shell .language-switch { background: var(--white); box-shadow: 0 3px 12px rgba(54, 29, 23, .04); }
.storefront-shell .cart-link { background: var(--peach-light); border: 1px solid rgba(240, 106, 36, .18); border-radius: .75rem; min-height: 42px; padding: .45rem .65rem; }
.storefront-shell .cart-link > i { color: var(--brand-red); font-size: 1.08rem; }
.storefront-shell .cart-count { background: var(--gradient-brand); box-shadow: 0 4px 10px rgba(197, 29, 39, .22); }
.storefront-shell .search-band { background: var(--cream); border-top: 1px solid rgba(232, 221, 212, .8); padding: .7rem 0 .8rem; }
.storefront-shell .search-form { background: var(--white); border: 1px solid var(--border-soft); border-radius: 1rem; box-shadow: 0 8px 24px rgba(54, 29, 23, .07); gap: .4rem; padding: .35rem; }
.search-control { align-items: center; display: flex; flex: 1 1 auto; min-width: 0; }
.search-control > i { color: var(--brand-red); flex: 0 0 auto; font-size: 1.05rem; margin-left: .8rem; }
.storefront-shell .search-form .form-control { background: transparent; border: 0; box-shadow: none; min-height: 42px; padding-left: .65rem; }
.storefront-shell .search-form:focus-within { border-color: var(--brand-orange-soft); box-shadow: 0 0 0 .22rem rgba(240, 106, 36, .12), 0 10px 28px rgba(54, 29, 23, .08); }
.storefront-shell .btn { align-items: center; display: inline-flex; gap: .48rem; justify-content: center; transition: box-shadow .2s ease, transform .2s ease, background-color .2s ease, border-color .2s ease; }
.storefront-shell .btn-brand { background: var(--gradient-brand); border: 0; box-shadow: 0 9px 22px rgba(174, 31, 38, .2); color: var(--white); }
.storefront-shell .btn-brand:hover, .storefront-shell .btn-brand:focus { background: var(--gradient-brand); box-shadow: 0 13px 28px rgba(174, 31, 38, .28); color: var(--white); transform: translateY(-2px); }
.storefront-shell .btn-outline-brand { background: rgba(255,255,255,.74); border-color: rgba(197, 29, 39, .4); color: var(--brand-red-dark); }
.storefront-shell .btn-outline-brand:hover { background: var(--brand-red); border-color: var(--brand-red); transform: translateY(-2px); }
.btn-soft { background: rgba(255,255,255,.72); border: 1px solid rgba(143, 23, 32, .25); color: var(--brand-burgundy); }
.btn-soft:hover { background: var(--white); border-color: var(--brand-red); color: var(--brand-red-dark); transform: translateY(-2px); }
.editorial-link { align-items: center; color: var(--ink); display: inline-flex; gap: .5rem; text-decoration: none; }
.editorial-link i { color: var(--brand-orange); transition: transform .2s ease; }
.editorial-link:hover i { transform: translateX(4px); }

.storefront-shell .hero-section, .storefront-shell .hero-content { min-height: clamp(570px, 69vh, 730px); }
.storefront-shell .hero-section { background: var(--gradient-light); isolation: isolate; }
.storefront-shell .hero-image { object-position: center right; }
.storefront-shell .hero-overlay { background: linear-gradient(90deg, rgba(255,249,243,.99) 0%, rgba(255,245,235,.95) 36%, rgba(255,240,229,.46) 58%, rgba(100,28,36,.08) 100%); }
.hero-orb { border-radius: 50%; filter: blur(2px); pointer-events: none; position: absolute; }
.hero-orb-one { background: radial-gradient(circle at 35% 35%, rgba(240,106,36,.2), rgba(197,29,39,.04) 70%); height: 260px; left: -100px; top: -80px; width: 260px; }
.hero-orb-two { border: 1px solid rgba(197,29,39,.15); bottom: 9%; height: 150px; left: 42%; width: 150px; }
.storefront-shell .hero-copy { max-width: 620px; padding: 4.75rem 0; position: relative; }
.storefront-shell .hero-copy::before { background: var(--gradient-brand); border-radius: 1rem; content: ""; height: 64px; left: -1.35rem; position: absolute; top: 5.2rem; width: 4px; }
.storefront-shell .hero-copy h1 { color: var(--ink); font-size: clamp(3.2rem, 6vw, 6rem); letter-spacing: -.055em; line-height: 1.02; margin-bottom: .85rem; max-width: 9ch; text-shadow: 0 2px 0 rgba(255,255,255,.5); }
.hero-title-accent { background: var(--gradient-brand); border-radius: 1rem; display: block; height: 5px; margin: 0 0 1.35rem; width: 82px; }
.storefront-shell .hero-lead { color: #54443e; line-height: 1.75; max-width: 48ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

.reader-favourites-section { background: var(--parchment); position: relative; }
.reader-favourites-section::before { background: radial-gradient(circle, rgba(197,29,39,.1) 1.4px, transparent 1.5px); background-size: 16px 16px; content: ""; height: 130px; opacity: .38; position: absolute; right: 2%; top: 8%; width: 160px; }
.fresh-section { background: linear-gradient(180deg, var(--white), var(--peach-light)); }
.storefront-shell .section-heading { position: relative; }
.storefront-shell .section-heading h2 { letter-spacing: -.025em; }
.storefront-shell .horizontal-books { gap: 1.15rem; padding: .65rem .4rem 1.6rem; }
.book-slider-controls { display: none; }
.storefront-shell .book-card { background: var(--white); border: 1px solid var(--border-soft); border-radius: var(--radius-card); box-shadow: var(--shadow-card); overflow: hidden; transition: box-shadow .22s ease, transform .22s ease; }
.storefront-shell .book-card:hover { border-color: rgba(197,29,39,.2); box-shadow: var(--shadow-card-hover); transform: translateY(-6px); }
.storefront-shell .book-cover-wrap { background: linear-gradient(160deg, #fffdfb, var(--parchment)); border: 0; border-bottom: 1px solid var(--border-soft); border-radius: 0; padding: .9rem; position: relative; }
.storefront-shell .book-cover { transition: transform .22s ease; }
.storefront-shell .book-card:hover .book-cover { transform: translateY(-3px) scale(1.015); }
.storefront-shell .book-card-body { padding: 1rem 1rem 1.1rem; }
.storefront-shell .book-author { color: var(--brand-burgundy); }
.storefront-shell .book-card h3 { font-size: .98rem; min-height: 2.8em; overflow-wrap: anywhere; }
.storefront-shell .book-price strong { font-size: 1.08rem; }
.storefront-shell .stretched-link-label { align-items: center; color: var(--ink); display: inline-flex; gap: .35rem; }
.storefront-shell .stretched-link-label i { color: var(--brand-orange); }
.discount-badge { background: var(--gradient-brand); border-radius: .45rem; box-shadow: 0 5px 14px rgba(100,28,36,.2); color: var(--white); font-size: .7rem; font-weight: 800; left: .65rem; letter-spacing: .03em; padding: .28rem .45rem; position: absolute; top: .65rem; z-index: 1; }

.storefront-shell .literary-band { background: var(--parchment); padding: clamp(3.5rem, 7vw, 6rem) 0; }
.storefront-shell .literary-band::after { display: none; }
.literary-panel { background: var(--gradient-dark); border-radius: clamp(1.25rem, 3vw, 2.5rem); box-shadow: var(--shadow-feature); color: var(--color-text-inverse); overflow: hidden; padding: clamp(2.25rem, 6vw, 5rem); position: relative; }
.literary-panel::after { border: 1px solid rgba(245,154,85,.2); border-radius: 50%; bottom: -90px; content: ""; height: 250px; position: absolute; right: -60px; width: 250px; }
.literary-quote-mark { color: rgba(255,255,255,.07); font-family: Georgia, serif; font-size: 15rem; left: 1.5rem; line-height: .8; position: absolute; top: .4rem; }
.storefront-shell .literary-grid { position: relative; z-index: 1; }
.storefront-shell .literary-grid h2 { color: #fff8ef; }
.storefront-shell .literary-grid > p { color: #eadbd0; }
.storefront-shell .authors-section { background: var(--white); }
.storefront-shell .author-tile { align-items: flex-start; background: var(--cream); border: 1px solid var(--border-soft); border-bottom: 0; box-shadow: var(--shadow-card); padding: 1.45rem; position: relative; text-align: left; }
.storefront-shell .author-tile-2 { background: var(--peach-light); }
.storefront-shell .author-tile-3 { background: var(--rose-light); }
.storefront-shell .author-tile-4 { background: var(--parchment); }
.storefront-shell .author-initial { background: var(--gradient-brand); box-shadow: 0 8px 20px rgba(143,23,32,.16); color: var(--white); height: 4.25rem; width: 4.25rem; }
.storefront-shell .author-tile strong { font-family: var(--font-display); font-size: 1.1rem; line-height: 1.3; }
.author-arrow { color: var(--brand-red); position: absolute; right: 1.15rem; top: 1.15rem; transition: transform .2s ease; }
.author-tile:hover .author-arrow { transform: translate(3px, -3px); }
.storefront-shell .feedback-section { background: var(--rose-light); color: var(--text-main); position: relative; }
.storefront-shell .feedback-section h2 { color: var(--ink); }
.storefront-shell .feedback-section .eyebrow { color: var(--brand-red); }
.testimonial-shell { background: rgba(255,255,255,.86); border: 1px solid var(--border-soft); border-radius: 1.75rem; box-shadow: var(--shadow-card); margin-top: 1.75rem; overflow: hidden; padding: 1.5rem clamp(1.25rem, 5vw, 4rem) 2rem; position: relative; }
.testimonial-quote-mark { color: rgba(197,29,39,.08); font-family: Georgia, serif; font-size: 9rem; left: 1.25rem; line-height: 1; position: absolute; top: -.15rem; }
.storefront-shell .feedback-section blockquote { color: var(--ink); position: relative; z-index: 1; }
.storefront-shell .carousel-controls button { border-color: rgba(197,29,39,.28); color: var(--brand-red-dark); transition: background-color .2s ease, color .2s ease, transform .2s ease; }
.storefront-shell .carousel-controls button:hover { background: var(--brand-red); color: var(--white); transform: translateY(-2px); }

.storefront-shell .page-banner { background: var(--gradient-light); border-bottom: 1px solid var(--border-soft); overflow: hidden; padding: clamp(2.5rem, 5vw, 4.5rem) 0; position: relative; }
.storefront-shell .page-banner::after { border: 1px solid rgba(197,29,39,.12); border-radius: 50%; content: ""; height: 230px; position: absolute; right: -45px; top: -110px; width: 230px; }
.storefront-shell .page-banner .container { position: relative; z-index: 1; }
.storefront-shell .page-banner h1 { letter-spacing: -.03em; }
.catalogue-banner { background-image: radial-gradient(circle at 82% 30%, rgba(240,106,36,.14), transparent 23%), var(--gradient-light) !important; }
.catalogue-section-intro { align-items: center; display: flex; gap: 1rem; margin-bottom: 1.25rem; }
.catalogue-section-intro h2, .catalogue-section-intro p { margin-bottom: 0; }
.catalogue-section-icon { align-items: center; background: var(--gradient-brand); border-radius: 1rem; box-shadow: 0 8px 20px rgba(143,23,32,.17); color: var(--white); display: inline-flex; flex: 0 0 auto; font-size: 1.25rem; height: 3.25rem; justify-content: center; width: 3.25rem; }
.category-groups { background: var(--cream); }
.author-groups { background: var(--rose-light); }
.storefront-shell .shelf-section { border: 0; margin-top: 1.25rem; padding: 1rem 0 3.5rem; }
.storefront-shell .shelf-heading { background: rgba(255,255,255,.8); border: 1px solid var(--border-soft); border-radius: 1rem; box-shadow: 0 5px 20px rgba(54,29,23,.045); gap: 1rem; padding: .9rem 1rem; }
.shelf-heading-copy { align-items: center; display: flex; gap: .8rem; min-width: 0; }
.shelf-icon { align-items: center; background: var(--peach-light); border-radius: .75rem; color: var(--brand-red); display: inline-flex; flex: 0 0 auto; height: 2.6rem; justify-content: center; width: 2.6rem; }
.storefront-shell .shelf-heading h3 { font-size: 1.45rem; overflow-wrap: anywhere; }
.book-count-badge { background: var(--parchment); border-radius: 2rem; color: var(--text-muted); display: inline-block; margin-top: .25rem; padding: .16rem .55rem; }
.storefront-shell .publication-section { background: var(--gradient-dark); }
.storefront-shell .publication-list a { border-color: rgba(255,255,255,.13); grid-template-columns: 1fr auto; transition: background-color .2s ease, border-color .2s ease, transform .2s ease; }
.storefront-shell .publication-list a:hover { background: rgba(255,255,255,.12); border-color: rgba(245,154,85,.5); color: var(--white); transform: translateY(-3px); }
.storefront-shell .publication-list a > i { color: var(--brand-orange-soft); grid-column: 2; grid-row: 1 / 3; }
.directory-title { align-items: center; display: flex; gap: 1rem; }
.directory-title h1 { margin: 0; }
.directory-section, .browse-results { background: var(--cream); }
.storefront-shell .directory-grid { gap: 1rem; }
.storefront-shell .directory-grid a { background: var(--white); min-height: 92px; padding: 1.15rem 1.25rem; transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease; }
.storefront-shell .directory-grid a:nth-child(3n + 2) { background: var(--peach-light); }
.storefront-shell .directory-grid a:nth-child(3n + 3) { background: var(--rose-light); }
.storefront-shell .directory-grid a:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-3px); }
.storefront-shell .directory-grid a > i { color: var(--brand-red); grid-column: 2; grid-row: 1 / 3; }
.storefront-shell .back-link { align-items: center; color: var(--brand-burgundy); display: inline-flex; gap: .4rem; }

.storefront-shell .book-detail { background: linear-gradient(180deg, var(--cream), var(--parchment)); }
.storefront-shell .cover-carousel { background: linear-gradient(145deg, var(--white), var(--peach-light)); border: 1px solid var(--border-soft); box-shadow: var(--shadow-feature); }
.storefront-shell .cover-carousel img { filter: drop-shadow(0 20px 20px rgba(36,28,26,.22)); }
.storefront-shell .book-detail-copy { background: rgba(255,255,255,.78); border: 1px solid var(--border-soft); border-radius: var(--radius-panel); box-shadow: var(--shadow-card); padding: clamp(1.5rem, 4vw, 2.5rem); }
.storefront-shell .book-detail-copy h1 { letter-spacing: -.035em; }
.storefront-shell .book-meta { background: var(--cream); border: 1px solid var(--border-soft); border-radius: 1rem; padding: .65rem 1rem; }
.storefront-shell .book-meta div + div { border-top: 1px solid var(--border-soft); }
.storefront-shell .book-meta dt { align-items: center; display: flex; gap: .45rem; }
.storefront-shell .book-meta dt i { color: var(--brand-orange); }
.storefront-shell .detail-price { background: var(--rose-light); border-left: 4px solid var(--brand-red); border-radius: .35rem .9rem .9rem .35rem; padding: .8rem 1rem; }
.storefront-shell .book-description { border-top: 1px solid var(--border-soft); padding-top: 1.25rem; }
.storefront-shell .book-description p { line-height: 1.8; }
.storefront-shell .add-cart-panel { background: var(--white); }

.form-page { background: linear-gradient(180deg, var(--cream), var(--peach-light)); }
.storefront-shell .panel-form, .storefront-shell .checkout-form { border-top: 4px solid transparent; box-shadow: var(--shadow-feature); position: relative; }
.storefront-shell .panel-form::before, .storefront-shell .checkout-form::before { background: var(--gradient-brand); border-radius: var(--radius-panel) var(--radius-panel) 0 0; content: ""; height: 4px; left: -1px; position: absolute; right: -1px; top: -4px; }
.storefront-shell label i { color: var(--brand-orange); margin-right: .4rem; }
.storefront-shell .form-control, .storefront-shell .form-select { background-color: #fffefd; border-color: #dac9bd; min-height: 49px; padding: .72rem .85rem; }
.storefront-shell textarea.form-control { min-height: 130px; }
.storefront-shell .form-control:focus, .storefront-shell .form-select:focus { border-color: var(--brand-orange); box-shadow: 0 0 0 .23rem rgba(240,106,36,.13); }
.storefront-shell .contact-panel { background: var(--gradient-dark); box-shadow: var(--shadow-feature); overflow: hidden; }
.storefront-shell .contact-panel::after { content: ""; }
.contact-panel-icon { align-items: center; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15); border-radius: 1rem; color: var(--brand-orange-soft); display: inline-flex; font-size: 1.55rem; height: 3.5rem; justify-content: center; margin-bottom: 2rem; width: 3.5rem; }
.contact-details { display: grid; gap: 1rem; margin-top: 1.5rem; position: relative; z-index: 1; }
.contact-details p, .contact-details a { align-items: flex-start; color: #eadbd0; display: flex; gap: .75rem; line-height: 1.55; margin: 0; text-decoration: none; }
.contact-details a:hover { color: var(--white); }
.contact-details i { color: var(--brand-orange-soft); flex: 0 0 auto; margin-top: .18rem; }
.storefront-shell .request-form hr { border-color: var(--sand); margin: 1.1rem 0; opacity: 1; }
.storefront-shell .about-banner { background-image: radial-gradient(circle at 85% 25%, rgba(197,29,39,.12), transparent 22%), var(--gradient-light); }
.storefront-shell .about-section { background: var(--parchment); }
.storefront-shell .about-card { display: grid; grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr); max-width: 1080px; padding: 0; overflow: hidden; }
.storefront-shell .owner-profile { background: var(--gradient-dark); border: 0; color: var(--color-text-inverse); justify-content: center; margin: 0; min-height: 100%; padding: clamp(2rem, 5vw, 4rem) 2rem; position: relative; }
.storefront-shell .owner-profile h2 { color: var(--white); font-size: clamp(1.05rem, 4.8vw, 1.75rem); white-space: nowrap; }
.storefront-shell .owner-profile p { color: var(--brand-orange-soft); }
.storefront-shell .owner-portrait { background: var(--peach-light); border-color: rgba(255,255,255,.9); height: 240px; width: 240px; }
.heritage-year { color: rgba(255,255,255,.07); font-family: var(--font-display); font-size: 5.5rem; font-weight: 700; line-height: 1; position: absolute; right: .75rem; top: .65rem; }
.storefront-shell .about-copy { margin: 0; max-width: none; padding: clamp(2rem, 5vw, 4.5rem); position: relative; }
.about-book-mark { align-items: center; background: var(--peach-light); border-radius: 50%; color: var(--brand-red); display: inline-flex; font-size: 1.4rem; height: 3.25rem; justify-content: center; margin-bottom: 1.25rem; width: 3.25rem; }
.storefront-shell .quote-section { background: var(--gradient-dark); overflow: hidden; position: relative; }
.storefront-shell .quote-section blockquote span { color: var(--brand-orange-soft); }
.storefront-shell .cart-item { background: rgba(255,255,255,.72); border: 1px solid var(--border-soft); border-radius: 1rem; margin-bottom: .8rem; padding: 1rem; }
.storefront-shell .cart-items { border: 0; }
.storefront-shell .order-summary { border-top: 0; box-shadow: var(--shadow-feature); overflow: hidden; }
.storefront-shell .order-summary::before { background: var(--gradient-brand); content: ""; display: block; height: 4px; margin: -1.5rem -1.5rem 1.4rem; }
.storefront-shell .empty-state { background: rgba(255,255,255,.78); box-shadow: var(--shadow-card); }

.storefront-shell .site-footer { background: var(--gradient-dark); color: #e6d8d0; overflow: hidden; padding-top: 4.5rem; position: relative; }
.footer-accent { background: var(--gradient-brand); height: 4px; left: 0; position: absolute; right: 0; top: 0; }
.storefront-shell .site-footer::after { border: 1px solid rgba(255,255,255,.06); border-radius: 50%; content: ""; height: 300px; position: absolute; right: -130px; top: -130px; width: 300px; }
.storefront-shell .site-footer .container { position: relative; z-index: 1; }
.storefront-shell .footer-logo { background: rgba(255, 249, 243, .94); border-radius: 50%; box-shadow: 0 5px 18px rgba(0,0,0,.22); box-sizing: border-box; height: 90px; padding: .45rem; width: 90px; }
.storefront-shell .footer-title { font-size: 1.65rem; }
.footer-tagline { color: #cdbeb6; margin-top: .45rem; }
.storefront-shell .site-footer h2 { color: var(--brand-orange-soft); }
.storefront-shell .site-footer a { align-items: center; display: inline-flex; gap: .5rem; }
.storefront-shell .site-footer a i { color: var(--brand-orange-soft); font-size: .9rem; }
.storefront-shell .site-footer a:hover { color: var(--white); transform: translateX(2px); }
.storefront-shell .footer-bottom { color: #bfaea6; }

@media (min-width: 992px) {
    .brand-copy strong[lang="mr"] { font-size: 1.4rem; }
}

@media (max-width: 991.98px) {
    .storefront-shell .navbar-collapse { background: var(--cream); margin-inline: calc(var(--bs-gutter-x) * -.5); padding: 1rem calc(var(--bs-gutter-x) * .5); }
    .storefront-shell .navbar .nav-link { display: flex; min-height: 44px; }
    .storefront-shell .hero-section, .storefront-shell .hero-content { min-height: 610px; }
    .storefront-shell .hero-image { object-position: 69% center; }
    .storefront-shell .hero-overlay { background: linear-gradient(90deg, rgba(255,249,243,.99) 0%, rgba(255,244,234,.94) 55%, rgba(255,240,229,.3) 100%); }
    .storefront-shell .hero-copy { max-width: 540px; }
    .storefront-shell .about-card { grid-template-columns: 1fr; }
    .storefront-shell .owner-profile { min-height: auto; }
}

@media (max-width: 767.98px) {
    .storefront-shell .navbar { min-height: 70px; }
    .storefront-shell .navbar-brand img { height: 58px; width: 58px; }
    .storefront-shell .navbar-brand { gap: .5rem; margin-right: .5rem; }
    .brand-copy strong { font-size: .9rem; }
    .storefront-shell .search-band { padding-top: .55rem; }
    .storefront-shell .search-form .btn span { display: none; }
    .storefront-shell .search-form .btn { min-width: 46px; padding-inline: .75rem; }
    .storefront-shell .hero-section, .storefront-shell .hero-content { min-height: 570px; }
    .storefront-shell .hero-image { opacity: .52; object-position: 72% center; }
    .storefront-shell .hero-overlay { background: linear-gradient(180deg, rgba(255,249,243,.99) 0%, rgba(255,244,234,.92) 62%, rgba(255,240,229,.5) 100%); }
    .storefront-shell .hero-copy { padding: 3.4rem 0; }
    .storefront-shell .hero-copy::before { left: -.65rem; top: 3.8rem; }
    .storefront-shell .hero-copy h1 { font-size: clamp(2.75rem, 13vw, 4.2rem); }
    .storefront-shell .book-slider .horizontal-books { gap: .75rem; grid-auto-columns: calc((100% - .75rem) / 2); overscroll-behavior-inline: contain; padding: .65rem 0 1.15rem; scroll-padding-inline: 0; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
    .storefront-shell .book-slider .horizontal-books::-webkit-scrollbar { display: none; }
    .book-slider-controls { display: flex; gap: .75rem; justify-content: center; margin-top: .2rem; }
    .book-slider-controls button { align-items: center; background: var(--white); border: 1px solid rgba(197,29,39,.32); border-radius: 50%; color: var(--brand-red-dark); display: inline-flex; font-family: Arial, sans-serif; font-size: 1.35rem; font-weight: 700; height: 2.75rem; justify-content: center; line-height: 1; transition: background-color .2s ease, color .2s ease, opacity .2s ease; width: 2.75rem; }
    .book-slider-controls button:hover, .book-slider-controls button:focus-visible { background: var(--brand-red); color: var(--white); }
    .book-slider-controls button:disabled { cursor: default; opacity: .35; }
    .storefront-shell .literary-panel { padding: 2.25rem 1.4rem; }
    .literary-quote-mark { font-size: 10rem; }
    .storefront-shell .shelf-heading { align-items: stretch; }
    .storefront-shell .shelf-heading .btn { width: 100%; }
    .storefront-shell .book-detail-copy { padding: 1.35rem; }
    .directory-title { align-items: flex-start; }
    .storefront-shell .contact-panel { min-height: 280px; }
}

@media (max-width: 575.98px) {
    .storefront-shell .section-space { padding: 3.75rem 0; }
    .storefront-shell .hero-actions { align-items: stretch; flex-direction: column; }
    .storefront-shell .hero-actions .btn { width: 100%; }
    .storefront-shell .book-grid { gap: .75rem; }
    .storefront-shell .book-card-body { padding: .8rem .75rem .9rem; }
    .storefront-shell .book-card h3 { font-size: .9rem; min-height: 0; }
    .storefront-shell .book-price { align-items: flex-start; flex-direction: column; gap: 0; }
    .storefront-shell .section-heading { align-items: stretch; }
    .storefront-shell .section-heading > a { align-self: flex-start; }
    .storefront-shell .author-tile { padding: 1.1rem; }
    .storefront-shell .author-initial { height: 3.6rem; width: 3.6rem; }
    .storefront-shell .testimonial-shell { border-radius: 1.25rem; padding-inline: 1rem; }
    .storefront-shell .publication-list a { padding: .9rem; }
    .storefront-shell .about-copy { padding: 1.5rem; }
    .storefront-shell .owner-portrait { height: 205px; width: 205px; }
    .storefront-shell .add-cart-panel { align-items: stretch; grid-template-columns: 82px 1fr; }
    .storefront-shell .add-cart-panel .btn { min-height: 49px; }
}

@media (prefers-reduced-motion: reduce) {
    .storefront-shell *, .storefront-shell *::before, .storefront-shell *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}
