@font-face {
    font-family: 'Hind Siliguri';
    font-weight: 400;
    src: url('../shared/assets/fonts/HindSiliguri-Regular.woff2') format('woff2');
    font-display: swap;
}
@font-face {
    font-family: 'Hind Siliguri';
    font-weight: 700;
    src: url('../shared/assets/fonts/HindSiliguri-Bold.woff2') format('woff2');
    font-display: swap;
}
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
:root {
    --crimson: #9b1c1c;
    --crimson-dark: #7f1d1d;
    --crimson-light: #fef2f2;
    --paper: #f5f0e8;
    --paper-dark: #ede8dc;
    --ink: #1c1917;
    --ink-soft: #44403c;
    --ink-mute: #78716c;
    --white: #ffffff;
    --border: #d6d3d1;
    --success: #15803d;
}
body {
    font-family: 'Hind Siliguri', sans-serif;
    background: var(--paper);
    color: var(--ink);
    font-size: 16px;
    line-height: 1.7;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.news-ticker { background: var(--crimson); color: white; padding: 8px 0; overflow: hidden; white-space: nowrap; }
.ticker-inner { display: inline-block; animation: ticker 40s linear infinite; }
.ticker-inner span { margin: 0 40px; font-size: 13px; font-weight: 600; }
.ticker-inner span::before { content: '◆ '; color: #fca5a5; }
@keyframes ticker { from { transform: translateX(100vw); } to { transform: translateX(-100%); } }
.sticky-header { position: sticky; top: 0; z-index: 200; background: var(--ink); border-bottom: 3px solid var(--crimson); padding: 10px 0; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.logo-text { color: white; font-size: 18px; font-weight: 700; letter-spacing: 0.5px; }
.logo-text span { color: #fca5a5; }
.trust-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.trust-pill { background: rgba(255,255,255,0.1); color: white; padding: 4px 10px; border-radius: 20px; font-size: 11px; font-weight: 600; border: 1px solid rgba(255,255,255,0.15); }
.trust-pill.hot { background: var(--crimson); border-color: var(--crimson); }
.cart-btn { background: var(--crimson); color: white; border: none; padding: 9px 18px; border-radius: 8px; font-family: inherit; font-size: 14px; font-weight: 700; cursor: pointer; display: flex; align-items: center; gap: 6px; transition: background 0.2s; white-space: nowrap; }
.cart-btn:hover { background: var(--crimson-dark); }
.cart-count { background: white; color: var(--crimson); border-radius: 50%; width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; }
.hero { background: linear-gradient(135deg, #1c0a0a 0%, #2d1515 50%, #1a0f0f 100%); padding: 60px 0 50px; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
.hero-inner { position: relative; text-align: center; max-width: 800px; margin: 0 auto; }
.hero-badge { display: inline-block; background: var(--crimson); color: white; padding: 6px 16px; border-radius: 4px; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 20px; }
.hero h1 { font-size: clamp(28px, 5vw, 48px); font-weight: 800; color: white; line-height: 1.2; margin-bottom: 16px; }
.hero h1 em { color: #fca5a5; font-style: normal; border-bottom: 2px solid var(--crimson); }
.hero p { color: #d6d3d1; font-size: 16px; margin-bottom: 30px; max-width: 600px; margin-left: auto; margin-right: auto; }
.hero-stats { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; }
.hero-stat { text-align: center; color: white; }
.hero-stat strong { display: block; font-size: 24px; font-weight: 800; color: #fca5a5; }
.hero-stat span { font-size: 12px; color: #a8a29e; }
.books-section { padding: 40px 0 60px; }
.section-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; padding-bottom: 12px; border-bottom: 2px solid var(--crimson); }
.section-heading h2 { font-size: 22px; font-weight: 800; color: var(--ink); }
.section-heading .count-badge { background: var(--crimson); color: white; padding: 2px 10px; border-radius: 20px; font-size: 12px; font-weight: 700; }
.books-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 640px) { .books-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .books-grid { grid-template-columns: repeat(4, 1fr); } }
.book-card { background: white; border-radius: 10px; overflow: hidden; border: 2px solid transparent; box-shadow: 0 2px 8px rgba(0,0,0,0.06); cursor: pointer; transition: all 0.25s ease; position: relative; }
.book-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
.book-card.selected { border-color: var(--crimson); box-shadow: 0 0 0 3px rgba(155,28,28,0.15); }
.book-card.selected::after { content: '✓'; position: absolute; top: 8px; right: 8px; background: var(--crimson); color: white; width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; z-index: 2; }
.book-img-wrap { position: relative; aspect-ratio: 2/3; overflow: hidden; background: var(--paper-dark); }
.book-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.book-card:hover .book-img-wrap img { transform: scale(1.05); }
.book-hover-overlay { position: absolute; inset: 0; background: rgba(28,9,9,0.75); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s; }
.book-card:hover .book-hover-overlay { opacity: 1; }
.quick-add-btn { background: var(--crimson); color: white; border: none; padding: 8px 16px; border-radius: 6px; font-family: inherit; font-size: 13px; font-weight: 700; cursor: pointer; transition: background 0.2s; }
.quick-add-btn:hover { background: var(--crimson-dark); }
.book-body { padding: 10px 10px 12px; }
.book-hook { font-size: 10px; color: var(--crimson); font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.book-title { font-size: 13px; font-weight: 700; color: var(--ink); line-height: 1.3; margin-bottom: 8px; }
.book-pricing { display: flex; align-items: center; gap: 6px; }
.book-price { font-size: 16px; font-weight: 800; color: var(--crimson); }
.book-regular { font-size: 12px; color: var(--ink-mute); text-decoration: line-through; }
.order-section { background: var(--paper-dark); border-top: 3px solid var(--crimson); padding: 40px 0 60px; }
.order-grid { display: grid; grid-template-columns: 1fr; gap: 30px; }
@media (min-width: 768px) { .order-grid { grid-template-columns: 1fr 360px; } }
.order-form-wrap { background: white; border-radius: 12px; padding: 28px; }
.form-title { font-size: 20px; font-weight: 800; color: var(--ink); margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid var(--paper-dark); }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.form-group input, .form-group textarea { width: 100%; padding: 12px 14px; border: 2px solid var(--border); border-radius: 8px; font-family: inherit; font-size: 15px; background: #fafaf9; transition: border-color 0.2s; color: var(--ink); }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--crimson); background: white; }
.form-group textarea { resize: vertical; min-height: 80px; }
.order-summary { background: var(--ink); border-radius: 12px; padding: 24px; color: white; position: sticky; top: 70px; }
.summary-badge { background: var(--crimson); color: white; font-size: 12px; font-weight: 700; padding: 5px 14px; border-radius: 20px; display: inline-block; margin-bottom: 16px; }
.summary-empty { text-align: center; padding: 20px 0; color: #a8a29e; font-size: 14px; }
.summary-empty .empty-icon { font-size: 32px; margin-bottom: 8px; }
.summary-book-list { margin-bottom: 12px; }
.summary-book-item { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.08); font-size: 13px; }
.summary-book-item:last-child { border-bottom: none; }
.summary-remove-btn { background: none; border: none; color: rgba(255,255,255,0.2); font-size: 20px; line-height: 1; cursor: pointer; padding: 0 3px 0 0; flex-shrink: 0; transition: color 0.15s; margin-top: -1px; }
.summary-remove-btn:hover { color: #fca5a5; }
.summary-book-name { color: #d6d3d1; flex: 1; line-height: 1.3; }
.summary-book-price { color: white; font-weight: 700; white-space: nowrap; }
.summary-book-orig { text-decoration: line-through; color: #a8a29e; font-size: 11px; margin-right: 4px; }
.shipping-row { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.shipping-label { font-size: 12px; color: #a8a29e; margin-bottom: 6px; }
.shipping-options-row { display: flex; gap: 8px; }
.shipping-opt { flex: 1; display: flex; align-items: center; gap: 6px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 6px; padding: 6px 8px; cursor: pointer; transition: all 0.2s; }
.shipping-opt input[type="radio"] { accent-color: var(--crimson); }
.shipping-opt label { font-size: 11px; color: white; cursor: pointer; line-height: 1.3; }
.shipping-opt:has(input:checked) { border-color: var(--crimson); background: rgba(155,28,28,0.2); }
.savings-row { text-align: center; padding: 8px 0; color: #4ade80; font-size: 12px; font-weight: 700; }
.total-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 0 16px; border-top: 2px solid rgba(255,255,255,0.15); margin-top: 4px; }
.total-label { font-size: 14px; font-weight: 700; color: #d6d3d1; }
.total-amount { font-size: 22px; font-weight: 800; color: white; }
.confirm-btn { width: 100%; background: var(--crimson); color: white; border: none; padding: 16px; border-radius: 10px; font-family: inherit; font-size: 17px; font-weight: 800; cursor: pointer; transition: all 0.2s; animation: pulse-btn 2.5s ease-in-out infinite; }
.confirm-btn:hover { background: var(--crimson-dark); transform: translateY(-1px); }
@keyframes pulse-btn { 0%, 100% { box-shadow: 0 4px 20px rgba(155,28,28,0.4); } 50% { box-shadow: 0 4px 30px rgba(155,28,28,0.7); } }
.trust-footer { text-align: center; margin-top: 12px; font-size: 11px; color: #d6d3d1; }
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.85); z-index: 1000; display: none; align-items: center; justify-content: center; padding: 16px; }
.modal-overlay.open { display: flex; }
.modal-box { background: white; border-radius: 16px; max-width: 480px; width: 100%; max-height: 90vh; overflow-y: auto; position: relative; }
.modal-close { position: absolute; top: 12px; right: 14px; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--ink-mute); z-index: 2; }
.modal-img { width: 100%; max-height: 220px; object-fit: contain; background: #f5f0e8; border-radius: 16px 16px 0 0; padding: 16px; }
.modal-body { padding: 20px; }
.modal-title { font-size: 20px; font-weight: 800; color: var(--ink); margin-bottom: 8px; }
.modal-why-title { font-size: 13px; font-weight: 700; color: var(--crimson); text-transform: uppercase; letter-spacing: 0.5px; margin: 14px 0 8px; }
.modal-why-list { list-style: none; }
.modal-why-list li { font-size: 14px; color: var(--ink-soft); padding: 4px 0 4px 20px; position: relative; line-height: 1.5; }
.modal-why-list li::before { content: '→'; position: absolute; left: 0; color: var(--crimson); font-weight: 700; }
.modal-pricing { display: flex; align-items: center; gap: 10px; margin: 16px 0; }
.modal-price { font-size: 26px; font-weight: 800; color: var(--crimson); }
.modal-regular { font-size: 16px; color: var(--ink-mute); text-decoration: line-through; }
.modal-add-btn { width: 100%; background: var(--crimson); color: white; border: none; padding: 14px; border-radius: 8px; font-family: inherit; font-size: 16px; font-weight: 800; cursor: pointer; transition: background 0.2s; }
.modal-add-btn:hover { background: var(--crimson-dark); }
.modal-add-btn.added { background: var(--success); cursor: default; }
.sticky-bottom { position: fixed; bottom: 0; left: 0; right: 0; background: var(--ink); border-top: 3px solid var(--crimson); padding: 12px 16px; z-index: 200; display: flex; align-items: center; gap: 12px; transform: translateY(100%); transition: transform 0.3s ease; -webkit-transform: translateY(100%); will-change: transform; }
.sticky-bottom.visible { transform: translateY(0); -webkit-transform: translateY(0); }
.sticky-summary { flex: 1; min-width: 0; }
.sticky-count { font-size: 12px; color: #a8a29e; }
.sticky-total { font-size: 18px; font-weight: 800; color: white; line-height: 1.2; }
.sticky-delivery { font-size: 11px; font-weight: 400; color: #a8a29e; margin-left: 4px; }
.sticky-order-btn { background: var(--crimson); color: white; border: none; padding: 12px 24px; border-radius: 8px; font-family: inherit; font-size: 15px; font-weight: 800; cursor: pointer; white-space: nowrap; transition: background 0.2s; }
.sticky-order-btn:hover { background: var(--crimson-dark); }
.wa-float { position: fixed; bottom: 86px; right: 16px; background: #25D366; color: white; border-radius: 50%; width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; text-decoration: none; box-shadow: 0 4px 16px rgba(37,211,102,0.5); z-index: 140; transition: all .25s; }
.faq-section { padding: 40px 0; background: white; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; background: none; border: none; text-align: left; padding: 16px 0; font-family: inherit; font-size: 16px; font-weight: 700; color: var(--ink); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq-q::after { content: '+'; font-size: 22px; color: var(--crimson); flex-shrink: 0; }
.faq-item.open .faq-q::after { content: '−'; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; font-size: 15px; color: var(--ink-soft); line-height: 1.7; }
.faq-item.open .faq-a { max-height: 300px; padding-bottom: 16px; }
.footer-section { background: var(--ink); padding: 30px 0; }
.footer-inner { text-align: center; color: #d6d3d1; font-size: 13px; line-height: 1.8; }
.footer-inner strong { color: #ffffff; }
.book-badge { position: absolute; top: 8px; left: 8px; z-index: 3; padding: 3px 8px; border-radius: 4px; font-size: 9px; font-weight: 800; letter-spacing: 0.3px; white-space: nowrap; line-height: 1.4; box-shadow: 0 2px 6px rgba(0,0,0,0.25); }
.badge-projonmo { background: linear-gradient(135deg, #9b1c1c, #c53030); color: white; }
.badge-rokomari { background: linear-gradient(135deg, #d97706, #f59e0b); color: white; }
.badge-boitoi { background: linear-gradient(135deg, #1d4ed8, #3b82f6); color: white; }
.badge-batighar { background: linear-gradient(135deg, #6d28d9, #8b5cf6); color: white; }
.book-extra-discount { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(135deg, #dc2626, #9b1c1c); color: white; text-align: center; font-size: 10px; font-weight: 800; padding: 4px 0; z-index: 4; letter-spacing: 0.3px; }
.coupon-group { margin-top: 10px; }
.coupon-input-wrap { display: none; }
.coupon-input-wrap.visible { display: block; }
.coupon-toggle-link { font-size: 12px; color: var(--ink-mute); cursor: pointer; text-decoration: underline; display: inline-block; margin-bottom: 6px; }
.coupon-toggle-link:hover { color: var(--crimson); }
.coupon-input-row { display: flex; gap: 8px; }
.coupon-input-row input { flex: 1; font-weight: 700; letter-spacing: 1px; }
.coupon-apply-btn { background: var(--ink); color: white; border: none; padding: 0 18px; border-radius: 8px; font-family: inherit; font-size: 14px; font-weight: 700; cursor: pointer; white-space: nowrap; transition: background 0.2s; }
.coupon-apply-btn:hover { background: var(--crimson); }
.coupon-feedback { margin-top: 6px; padding: 8px 12px; border-radius: 6px; font-size: 13px; font-weight: 700; }
.coupon-feedback.success { background: #dcfce7; color: #15803d; }
.coupon-feedback.error { background: #fef2f2; color: var(--crimson); }
