@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; }
.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; }
.countdown-wrap { margin: 20px 0; display: flex; align-items: center; justify-content: center; gap: 10px; }
.countdown-label { font-size: 14px; font-weight: 600; color: white; }
.countdown-timer { font-size: 20px; font-weight: 800; color: #fbbf24; background: rgba(251, 191, 36, 0.15); padding: 8px 16px; border-radius: 8px; border: 1px solid rgba(251, 191, 36, 0.3); font-family: monospace; letter-spacing: 2px; }
.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(5, 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; }
.card-add-btn { position: absolute; bottom: 8px; right: 8px; width: 32px; height: 32px; border-radius: 50%; background: var(--crimson); color: white; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 800; line-height: 1; transition: all 0.2s; z-index: 3; box-shadow: 0 2px 8px rgba(155,28,28,0.3); }
.card-add-btn:hover { background: var(--crimson-dark); transform: scale(1.1); }
.card-add-btn .add-icon { display: block; }
.book-card.selected .card-add-btn { background: #16a34a; }
.book-card.selected .card-add-btn .add-icon { content: '✓'; font-size: 16px; }
.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: 7px; }
.stock-urgency { font-size: 11px; color: #dc2626; font-weight: 700; margin-bottom: 5px; }
.book-pricing { display: flex; align-items: center; gap: 7px; }
.book-price { font-size: 17px; 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: 120px; }
.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; }

.free-delivery-progress { margin-top: 12px; }
.delivery-progress-bar { background: #e5e5e5; border-radius: 10px; height: 8px; overflow: hidden; margin-bottom: 6px; }
.progress-fill { height: 100%; background: #dc2626; transition: width 0.3s ease, background 0.3s ease; width: 0%; }
.delivery-progress-text { font-size: 12px; color: var(--crimson); text-align: center; font-weight: 800; background: rgba(220, 38, 38, 0.1); padding: 6px 12px; border-radius: 6px; border: 1px solid rgba(220, 38, 38, 0.2); }
.progress-count { color: #fbbf24; font-size: 14px; font-weight: 900; }

/* Order Bump */
.order-bump-wrap { margin-bottom: 12px; }
.bump-label-strip { background: linear-gradient(135deg, #fbbf24, #f59e0b); padding: 6px 12px; border-radius: 6px; margin-bottom: 8px; }
.bump-label-text { color: #78350f; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.bump-card { background: white; border: 2px solid var(--border); border-radius: 10px; padding: 12px; display: flex; gap: 12px; cursor: pointer; transition: all 0.2s; position: relative; }
.bump-card:hover { border-color: var(--crimson); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.bump-card.bump-active { border-color: #16a34a; background: #f0fdf4; }
.bump-check-box { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 800; color: var(--ink-soft); flex-shrink: 0; transition: all 0.2s; }
.bump-card.bump-active .bump-check-box { background: #16a34a; border-color: #16a34a; color: white; }
.bump-img { width: 50px; height: 75px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.bump-info { flex: 1; min-width: 0; }
.bump-title { font-size: 12px; font-weight: 700; color: var(--ink); line-height: 1.3; margin-bottom: 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bump-price-row { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.bump-new { font-size: 14px; font-weight: 800; color: var(--crimson); }
.bump-orig { font-size: 11px; color: var(--ink-mute); text-decoration: line-through; }
.bump-save { font-size: 10px; color: #16a34a; font-weight: 700; background: #dcfce7; padding: 2px 6px; border-radius: 4px; }
.bump-hint { font-size: 10px; color: var(--ink-soft); font-weight: 600; }
.bump-card.bump-active .bump-hint { color: #16a34a; }

.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; padding: 4px 10px; border-radius: 20px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.3px; z-index: 10; }
.badge-projonmo { background: linear-gradient(135deg, #fbbf24, #f59e0b); color: #78350f; }
.badge-rokomari { background: linear-gradient(135deg, #fbbf24, #f59e0b); color: #78350f; }
.badge-boitoi { background: linear-gradient(135deg, #fbbf24, #f59e0b); color: #78350f; }
.badge-batighar { background: linear-gradient(135deg, #fbbf24, #f59e0b); color: #78350f; }
.badge-outofstock { background: linear-gradient(135deg, #6b7280, #4b5563); color: white; top: 8px; right: 8px; left: auto; }
.book-card.out-of-stock { pointer-events: none; opacity: 0.6; }
.book-card.out-of-stock .book-pricing { opacity: 0.5; }
.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); }
