@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
    --red:        #CC2B2B;
    --red-dark:   #A82020;
    --red-light:  #FDEAEA;
    --ink:        #111827;
    --ink-soft:   #6B7280;
    --ink-muted:  #9CA3AF;
    --cream:      #FAFAF9;
    --white:      #FFFFFF;
    --border:     #E5E7EB;
    --border-soft:#F3F4F6;
    --gold:       #C9973A;
    --gold-light: #FBF3E4;
    --success:    #059669;
    --success-bg: #D1FAE5;
    --warning:    #D97706;
    --warning-bg: #FEF3C7;
    --error:      #DC2626;
    --error-bg:   #FEE2E2;
    --info:       #2563EB;
    --info-bg:    #DBEAFE;
    --radius-sm:  6px;
    --radius:     10px;
    --radius-lg:  16px;
    --shadow-sm:  0 1px 3px rgba(0,0,0,.08);
    --shadow:     0 4px 16px rgba(0,0,0,.09);
    --shadow-lg:  0 12px 40px rgba(0,0,0,.12);
    --font-disp:  'Playfair Display', Georgia, serif;
    --font-body:  'Inter', system-ui, sans-serif;
    --transition: all .2s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.65;
    background: var(--cream);
    color: var(--ink);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main { flex: 1; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section { padding: 4.5rem 0; }
.section-sm { padding: 2.5rem 0; }

.divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 1.75rem 0;
}


/* ─── TYPOGRAPHY ────────────────────────────────────── */

h1, h2, h3, h4 {
    font-family: var(--font-disp);
    line-height: 1.2;
    color: var(--ink);
}

.page-title {
    font-size: clamp(1.6rem, 3.5vw, 2.25rem);
    margin-bottom: .4rem;
}

.section-heading {
    font-size: clamp(1.3rem, 2.5vw, 1.75rem);
    margin-bottom: 1.5rem;
}

.eyebrow {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: .6rem;
    display: block;
}

.text-muted { color: var(--ink-soft); }
.text-small { font-size: .85rem; }
.text-center { text-align: center; }


/* ─── BUTTONS ────────────────────────────────────────── */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    padding: .65rem 1.5rem;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: .875rem;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    white-space: nowrap;
    line-height: 1;
}

.btn-primary {
    background: var(--red);
    color: var(--white);
    border-color: var(--red);
}
.btn-primary:hover {
    background: var(--red-dark);
    border-color: var(--red-dark);
}

.btn-outline {
    background: transparent;
    color: var(--red);
    border-color: var(--red);
}
.btn-outline:hover {
    background: var(--red);
    color: var(--white);
}

.btn-ghost {
    background: transparent;
    color: var(--ink-soft);
    border-color: var(--border);
}
.btn-ghost:hover {
    background: var(--border-soft);
    color: var(--ink);
}

.btn-lg {
    padding: .85rem 2rem;
    font-size: .95rem;
}

.btn-sm {
    padding: .4rem 1rem;
    font-size: .8rem;
}

.btn-block { width: 100%; }
.btn:disabled {
    opacity: .55;
    cursor: not-allowed;
    pointer-events: none;
}


/* ─── FORMS ──────────────────────────────────────────── */

.form-group { margin-bottom: 1.1rem; }

.form-label {
    display: block;
    font-size: .82rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: .35rem;
}

.form-label .req { color: var(--red); margin-left: 2px; }

.form-control {
    display: block;
    width: 100%;
    padding: .65rem .9rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: .875rem;
    background: var(--white);
    color: var(--ink);
    transition: border-color .2s, box-shadow .2s;
    appearance: none;
}

.form-control:focus {
    outline: none;
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(204, 43, 43, .1);
}

.form-control::placeholder { color: var(--ink-muted); }

.form-control[readonly] {
    background: var(--border-soft);
    cursor: default;
}

.form-hint {
    font-size: .78rem;
    color: var(--ink-muted);
    margin-top: .3rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-row-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
}


/* ─── ALERTS ─────────────────────────────────────────── */

.alert {
    padding: .85rem 1.1rem;
    border-radius: var(--radius);
    font-size: .875rem;
    font-weight: 500;
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    margin-bottom: 1.25rem;
}

.alert-success { background: var(--success-bg); color: #065F46; border: 1px solid #6EE7B7; }
.alert-error   { background: var(--error-bg);   color: #991B1B; border: 1px solid #FCA5A5; }
.alert-warning { background: var(--warning-bg); color: #92400E; border: 1px solid #FCD34D; }
.alert-info    { background: var(--info-bg);    color: #1E40AF; border: 1px solid #93C5FD; }


/* ─── BADGE ──────────────────────────────────────────── */

.badge {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    padding: .25rem .65rem;
    border-radius: 99px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .02em;
    white-space: nowrap;
}

.badge-success { background: var(--success-bg); color: var(--success); }
.badge-error   { background: var(--error-bg);   color: var(--error); }
.badge-warning { background: var(--warning-bg); color: var(--warning); }
.badge-info    { background: var(--info-bg);    color: var(--info); }
.badge-neutral { background: var(--border-soft); color: var(--ink-soft); }
.badge-gold    { background: var(--gold-light);  color: #92600D; }


/* ─── CARD ───────────────────────────────────────────── */

.card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.card-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-header-title {
    font-family: var(--font-disp);
    font-size: 1.05rem;
}

.card-body { padding: 1.5rem; }


/* ─── NAVIGATION ─────────────────────────────────────── */

.navbar {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 200;
    box-shadow: var(--shadow-sm);
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
    width:100%;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: .75rem;
}

.navbar-brand img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
}

.navbar-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    gap:3px;
}

.navbar-brand-name {
  
    font-size: 1.15rem;
    color: var(--ink);
    font-weight: 700;
}

.navbar-brand-sub {
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--red);
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.navbar-nav a {
    font-size: .875rem;
    font-weight: 500;
    color: var(--ink-soft);
    transition: color .2s;
    position: relative;
}

.navbar-nav a:hover,
.navbar-nav a.active {
    color: var(--red);
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: .75rem;
}


/* ─── FOOTER ─────────────────────────────────────────── */

.footer {
    background: var(--ink);
    color: #9CA3AF;
    padding: 3rem 0 1.5rem;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 3.5rem;
    margin-bottom: 2.5rem;
        align-items: start;
}

.footer-brand img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    margin-bottom: .75rem;
}

.footer-brand-name {
    font-family: var(--font-disp);
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: .5rem;
}

.footer-desc {
    font-size: .85rem;
    line-height: 1.7;
    max-width: 300px;
}

.footer-heading {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: .9rem;
}

.footer-links { display: flex; flex-direction: column; gap: .5rem; padding-left:0; }
.footer-links a {
    font-size: .85rem;
    color: #9CA3AF;
    transition: color .2s;
}
.footer-links a:hover { color: var(--white); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .8rem;
    flex-wrap: wrap;
    gap: .5rem;
}

.footer-bottom a { color: #9CA3AF; }
.footer-bottom a:hover { color: var(--white); }


/* ─── HERO ───────────────────────────────────────────── */

.hero {
    background: linear-gradient(135deg, #1A0A0A 0%, #2D1010 50%, #1A1A2E 100%);
    padding: 6rem 0 5rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 65% 40%, rgba(204,43,43,.18) 0%, transparent 65%);
}

.hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 3rem;
    align-items: center;
}

.hero-eyebrow {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--red);
    background: rgba(204,43,43,.15);
    display: inline-block;
    padding: .3rem .8rem;
    border-radius: 99px;
    border: 1px solid rgba(204,43,43,.3);
    margin-bottom: 1.25rem;
}

.hero h1 {
    font-family: var(--font-disp);
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 1.25rem;
}

.hero h1 span { color: var(--red); }

.hero-desc {
    font-size: 1rem;
    color: rgba(255,255,255,.65);
    max-width: 480px;
    margin-bottom: 2rem;
    line-height: 1.75;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,.1);
}

.hero-stat-num {
    font-family: var(--font-disp);
    font-size: 1.5rem;
    color: var(--white);
    font-weight: 700;
}

.hero-stat-label {
    font-size: .78rem;
    color: rgba(255,255,255,.5);
    margin-top: .1rem;
}

.hero-visual {
    position: relative;
}

.hero-book-stack {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .9rem;
}

.hero-book-card {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--radius-lg);
    padding: 1rem;
    backdrop-filter: blur(10px);
    transition: transform .3s;
}

.hero-book-card:hover { transform: translateY(-4px); }

.hero-book-cover {
    background: linear-gradient(135deg, #CC2B2B22, #CC2B2B44);
    border-radius: var(--radius);
    aspect-ratio: 3/4;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: .6rem;
    overflow: hidden;
}

.hero-book-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius);
}

.hero-book-title {
    font-size: .78rem;
    font-weight: 600;
    color: rgba(255,255,255,.85);
    line-height: 1.3;
    margin-bottom: .25rem;
}

.hero-book-price {
    font-size: .82rem;
    font-weight: 700;
    color: var(--red);
}


/* ─── BOOK GRID ──────────────────────────────────────── */

.book-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.75rem;
}

.book-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform .25s, box-shadow .25s;
    display: flex;
    flex-direction: column;
}

.book-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.book-card-cover {
    background: linear-gradient(145deg, #1A0A0A, #2D1010);
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.book-card-cover img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.book-card-cover-icon {
    font-size: 3.5rem;
    opacity: .4;
}

.book-discount-badge {
    position: absolute;
    top: .75rem;
    right: .75rem;
    background: var(--red);
    color: var(--white);
    font-size: .7rem;
    font-weight: 700;
    padding: .2rem .5rem;
    border-radius: 99px;
}

.book-card-body {
    padding: 1.1rem 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.book-card-title {
    font-family: var(--font-disp);
    font-size: 1rem;
    color: var(--ink);
    line-height: 1.3;
    margin-bottom: .3rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.book-card-author {
    font-size: .8rem;
    color: var(--ink-muted);
    margin-bottom: .6rem;
}

.book-card-desc {
    font-size: .83rem;
    color: var(--ink-soft);
    line-height: 1.55;
    flex: 1;
    margin-bottom: .9rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.book-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    margin-top: auto;
    padding-top: .75rem;
    border-top: 1px solid var(--border-soft);
}

.price-group { display: flex; align-items: baseline; gap: .4rem; }
.price-now { font-family: var(--font-disp); font-size: 1.2rem; font-weight: 700; color: var(--red); }
.price-was { font-size: .78rem; color: var(--ink-muted); text-decoration: line-through; }


/* ─── BOOK DETAIL PAGE ───────────────────────────────── */

.book-detail-grid {
    display: grid;
    grid-template-columns: 460px 1fr;
    gap: 3.5rem;
    align-items: start;
}

.book-detail-cover {
    background: linear-gradient(145deg, #1A0A0A, #2D1010);
    border-radius: var(--radius-lg);
    aspect-ratio: 3/4;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    opacity: 1;
    overflow: hidden;
    position: sticky;
    top: 88px;
    box-shadow: var(--shadow-lg);
}

.book-detail-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
}

.book-detail-title {
    font-family: var(--font-disp);
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    line-height: 1.2;
    margin-bottom: .5rem;
}

.book-detail-author {
    font-size: .9rem;
    color: var(--ink-soft);
    margin-bottom: 1.5rem;
}

.book-detail-price-row {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.book-detail-price {
    font-family: var(--font-disp);
    font-size: 2rem;
    font-weight: 700;
    color: var(--red);
}

.book-detail-mrp {
    font-size: .9rem;
    color: var(--ink-muted);
    text-decoration: line-through;
}

.book-detail-discount {
    background: var(--gold-light);
    color: #92600D;
    font-size: .78rem;
    font-weight: 700;
    padding: .25rem .6rem;
    border-radius: 99px;
}

.shipping-info-bar {
    background: #F0FDF4;
    border: 1px solid #BBF7D0;
    border-radius: var(--radius);
    padding: .75rem 1rem;
    font-size: .83rem;
    color: #065F46;
    margin-bottom: 1.5rem;
}

.book-specs {
    background: var(--border-soft);
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .6rem .75rem;
    margin-bottom: 1.5rem;
}

.spec-item { display: flex; flex-direction: column; gap: .1rem; }
.spec-label { font-size: .72rem; font-weight: 600; color: var(--ink-muted); text-transform: uppercase; letter-spacing: .06em; }
.spec-value { font-size: .875rem; color: var(--ink); font-weight: 500; }

.book-description h3 {
    font-family: var(--font-disp);
    font-size: 1.1rem;
    margin-bottom: .75rem;
}

.book-description p {
    font-size: .9rem;
    color: var(--ink-soft);
    line-height: 1.8;
}


/* ─── BREADCRUMB ─────────────────────────────────────── */

.breadcrumb {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .82rem;
    color: var(--ink-muted);
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.breadcrumb a { color: var(--red); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb-sep { color: var(--ink-muted); }


/* ─── CHECKOUT PAGE ──────────────────────────────────── */

.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 390px;
    gap: 2.5rem;
    align-items: start;
}

.checkout-step-label {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: .4rem;
}

.order-summary-item {
    display: flex;
    align-items: center;
    gap: .9rem;
    padding: .85rem 0;
    border-bottom: 1px solid var(--border-soft);
}

.order-summary-thumb {
    width: 120px;
   
    background: linear-gradient(145deg, #1A0A0A, #2D1010);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
    overflow: hidden;
}

.order-summary-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.order-summary-info { flex: 1; min-width: 0; }
.order-summary-title { font-size: .875rem; font-weight: 600; line-height: 1.35; }
.order-summary-sub { font-size: .78rem; color: var(--ink-muted); margin-top: .15rem; }

.cost-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .875rem;
    padding: .35rem 0;
}

.cost-row.total {
    font-weight: 700;
    font-size: 1rem;
    padding-top: .75rem;
    border-top: 1px solid var(--border);
    margin-top: .25rem;
    color: var(--red);
}

.secure-note {
    text-align: center;
    font-size: .75rem;
    color: var(--ink-muted);
    margin-top: .75rem;
}


/* ─── SUCCESS PAGE ───────────────────────────────────── */

.success-banner {
    background: linear-gradient(135deg, #064E3B, #065F46);
    padding: 4.5rem 1.5rem;
    text-align: center;
    color: var(--white);
}

.success-icon {
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.25rem;
    margin: 0 auto 1.25rem;
}

.success-banner h1 {
    font-family: var(--font-disp);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: var(--white);
    margin-bottom: .5rem;
}

.success-banner p { color: rgba(255,255,255,.75); max-width: 460px; margin: 0 auto; }

.order-number-chip {
    display: inline-block;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 99px;
    padding: .4rem 1.25rem;
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .04em;
    margin-top: 1.25rem;
}

.order-detail-card { max-width: 700px; margin: 0 auto; }

.order-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.order-info-block {}
.order-info-label {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--ink-muted);
    margin-bottom: .2rem;
}
.order-info-value { font-size: .875rem; font-weight: 500; }

.address-block {
    background: var(--border-soft);
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
}

.address-block .order-info-label { margin-bottom: .5rem; }
.address-block p { font-size: .875rem; line-height: 1.7; color: var(--ink-soft); }


/* ─── FAILED PAGE ────────────────────────────────────── */

.failed-banner {
    background: linear-gradient(135deg, #7F1D1D, #991B1B);
    padding: 4.5rem 1.5rem;
    text-align: center;
    color: var(--white);
}

.failed-icon {
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.25rem;
    margin: 0 auto 1.25rem;
}

.failed-banner h1 {
    font-family: var(--font-disp);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: var(--white);
    margin-bottom: .5rem;
}

.failed-banner p { color: rgba(255,255,255,.75); max-width: 460px; margin: 0 auto; }


/* ─── TRACKING PAGE ──────────────────────────────────── */

.track-search-card { max-width: 580px; margin: 0 auto 2.5rem; }

.track-result-wrap { max-width: 720px; margin: 0 auto; }

.track-header {
    background: var(--ink);
    color: var(--white);
    padding: 1.1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .5rem;
}

.track-header-order {
    font-family: var(--font-disp);
    font-size: 1.05rem;
}

.track-header-meta {
    font-size: .78rem;
    opacity: .6;
}

.timeline {
    padding: 1.75rem 1.5rem;
    position: relative;
}

.timeline-item {
    display: flex;
    gap: 1rem;
    position: relative;
    padding-bottom: 1.5rem;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-item:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 16px;
    top: 34px;
    bottom: 0;
    width: 2px;
    background: var(--border);
}

.timeline-dot {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 2px solid var(--border);
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.timeline-dot.done {
    background: var(--success);
    border-color: var(--success);
    color: var(--white);
}

.timeline-dot.active {
    background: var(--red);
    border-color: var(--red);
    color: var(--white);
    box-shadow: 0 0 0 5px rgba(204,43,43,.12);
}

.timeline-content { padding-top: .3rem; flex: 1; }

.timeline-label {
    font-weight: 600;
    font-size: .9rem;
    color: var(--ink);
    line-height: 1;
    margin-bottom: .2rem;
}

.timeline-label.active { color: var(--red); }
.timeline-label.done { color: var(--ink-soft); }

.timeline-time {
    font-size: .78rem;
    color: var(--ink-muted);
}

.timeline-msg {
    font-size: .83rem;
    color: var(--ink-soft);
    margin-top: .3rem;
    line-height: 1.5;
}

.track-log-item {
    display: flex;
    gap: 1rem;
    padding: .85rem 0;
    border-bottom: 1px solid var(--border-soft);
}

.track-log-item:last-child { border-bottom: none; }

.track-log-bullet {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--red);
    margin-top: .45rem;
    flex-shrink: 0;
}

.track-log-msg { font-size: .875rem; color: var(--ink); line-height: 1.45; }
.track-log-time { font-size: .77rem; color: var(--ink-muted); margin-top: .2rem; }
.track-log-location { font-size: .78rem; color: var(--ink-soft); margin-top: .1rem; }

.courier-box {
    background: var(--border-soft);
    border-radius: var(--radius);
    padding: .9rem 1.1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
    gap: .5rem;
}

.courier-label { font-size: .78rem; color: var(--ink-muted); margin-bottom: .15rem; }
.courier-value { font-size: .9rem; font-weight: 700; color: var(--ink); }


/* ─── ORDER PAGE (ADMIN-STYLE DETAIL) ────────────────── */

.order-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.order-items-table { width: 100%; border-collapse: collapse; }

.order-items-table th {
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--ink-muted);
    padding: .6rem 0;
    border-bottom: 1px solid var(--border);
    text-align: left;
}

.order-items-table td {
    padding: .85rem 0;
    border-bottom: 1px solid var(--border-soft);
    font-size: .875rem;
    vertical-align: middle;
}

.order-items-table tr:last-child td { border-bottom: none; }


/* ─── UTILITY ────────────────────────────────────────── */

.mt-0  { margin-top: 0; }
.mt-1  { margin-top: .5rem; }
.mt-2  { margin-top: 1rem; }
.mt-3  { margin-top: 1.5rem; }
.mt-4  { margin-top: 2rem; }
.mb-0  { margin-bottom: 0; }
.mb-1  { margin-bottom: .5rem; }
.mb-2  { margin-bottom: 1rem; }
.mb-3  { margin-bottom: 1.5rem; }
.mb-4  { margin-bottom: 2rem; }

.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: .5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.flex-wrap { flex-wrap: wrap; }

.hidden { display: none !important; }
.w-full { width: 100%; }


/* ─── EMPTY STATE ────────────────────────────────────── */

.empty-state {
    text-align: center;
    padding: 5rem 1rem;
}

.empty-state-icon { font-size: 3.5rem; margin-bottom: 1rem; }

.empty-state h2 {
    font-family: var(--font-disp);
    font-size: 1.5rem;
    margin-bottom: .5rem;
}

.empty-state p { color: var(--ink-soft); max-width: 360px; margin: 0 auto; }


/* ─── RESPONSIVE ─────────────────────────────────────── */

@media (max-width: 992px) {
    .hero-inner { grid-template-columns: 1fr; }
    .hero-visual { display: none; }
    .book-detail-grid { grid-template-columns: 1fr; }
    .book-detail-cover { position: static; aspect-ratio: 16/9; max-height: 360px; }
    .checkout-layout { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .section { padding: 3rem 0; }
    .form-row { grid-template-columns: 1fr; }
    .form-row-3 { grid-template-columns: 1fr; }
    .order-info-grid { grid-template-columns: 1fr; }
    .book-specs { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .navbar-nav { display: none; }
}

@media (max-width: 480px) {
    .container { padding: 0 1rem; }
    .card-body { padding: 1.1rem; }
    .track-header { flex-direction: column; align-items: flex-start; }
}


/* ─── TOP UTILITY BAR ────────────────────────────────── */

.topbar {
    background: var(--ink);
    color: rgba(255,255,255,.65);
    font-size: .78rem;
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 36px;
}

.topbar-left { display: flex; gap: 1.5rem; }
.topbar-left span { display: flex; align-items: center; gap: .35rem; }

.topbar-right { display: flex; gap: 1rem; align-items: center; }
.topbar-right a { color: rgba(255,255,255,.65); transition: color .2s; }
.topbar-right a:hover { color: var(--white); }


/* ─── HEAVY CTA HEADER STRIP ─────────────────────────── */

.cta-strip {
    background: var(--red);
    color: var(--white);
}

.cta-strip-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    height: 42px;
    font-size: .82rem;
    font-weight: 600;
    text-align: center;
}

.cta-strip-inner a {
    text-decoration: underline;
    font-weight: 700;
    white-space: nowrap;
}


/* ─── HOMEPAGE HERO (BOOK SPREAD) ────────────────────── */

.home-hero {
    background: linear-gradient(180deg, #1C100D 0%, #16110D 55%, #1A1410 100%);
    padding: 5.5rem 0 6rem;
    position: relative;
    overflow: hidden;
}

.home-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 600px 400px at 80% 20%, rgba(204,43,43,.16) 0%, transparent 70%),
        radial-gradient(ellipse 500px 500px at 10% 90%, rgba(201,151,58,.08) 0%, transparent 70%);
}

.home-hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

.home-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--red);
    background: rgba(204,43,43,.14);
    padding: .4rem .9rem;
    border-radius: 99px;
    border: 1px solid rgba(204,43,43,.32);
    margin-bottom: 1.5rem;
}

.home-hero-eyebrow::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--red);
}

.home-hero h1 {
    font-family: var(--font-disp);
    font-size: clamp(2.1rem, 4.4vw, 3.4rem);
    color: var(--white);
    line-height: 1.14;
    margin-bottom: 1.4rem;
    letter-spacing: -.01em;
}

.home-hero h1 em {
    font-style: italic;
    color: var(--red);
}

.home-hero-desc {
    font-size: 1.02rem;
    color: rgba(255,255,255,.62);
    max-width: 480px;
    line-height: 1.8;
    margin-bottom: 2.25rem;
}

.home-hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.75rem; }

.home-hero-trust {
    display: flex;
    gap: 2.25rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,.1);
    flex-wrap: wrap;
    text-align:center;
}

.trust-num {
    font-family: var(--font-disp);
    font-size: 1.3rem;
    color: var(--white);
    font-weight: 700;
    line-height: 1;
}

.trust-label {
    font-size: .76rem;
    color: rgba(255,255,255,.45);
    margin-top: .3rem;
    letter-spacing: .02em;
}

.book-spread {
    position: relative;
    perspective: 1200px;
}

.spread-shelf {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.1rem;
    transform: rotateY(-4deg);
}

.spread-card {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 14px;
    padding: .9rem;
    backdrop-filter: blur(6px);
    transition: transform .3s ease;
}

.spread-card:hover { transform: translateY(-6px); }
.spread-card.featured { grid-row: span 2; }

.spread-cover {
    border-radius: 9px;
    aspect-ratio: 3/4;
    margin-bottom: .7rem;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(0,0,0,.4);
}

.spread-cover img { width: 100%; height: 100%; object-fit: cover; }

.spread-title {
    font-size: .8rem;
    font-weight: 600;
    color: rgba(255,255,255,.88);
    line-height: 1.35;
    margin-bottom: .3rem;
}

.spread-price {
    font-size: .85rem;
    font-weight: 700;
    color: var(--red);
}

.spread-badge {
    position: absolute;
    top: -14px;
    right: -10px;
    background: var(--gold);
    color: #1A1410;
    font-size: .68rem;
    font-weight: 700;
    padding: .3rem .65rem;
    border-radius: 99px;
    box-shadow: var(--shadow);
    transform: rotate(4deg);
}


/* ─── PUBLISHER TRUST STRIP ──────────────────────────── */

.publisher-strip {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 1.75rem 0;
}

.publisher-strip-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.publisher-strip-item {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-size: .82rem;
    font-weight: 600;
    color: var(--ink-soft);
}

.publisher-strip-item .icon { font-size: 1.2rem; }


/* ─── EDITORIAL SECTION HEADER ───────────────────────── */

.editorial-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.editorial-head .eyebrow { margin-bottom: .5rem; }
.editorial-head h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.editorial-head p { color: var(--ink-soft); font-size: .9rem; max-width: 420px; }


/* ─── CATEGORY PILLS ─────────────────────────────────── */

.category-pills {
    display: flex;
    gap: .6rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.category-pill {
    padding: .5rem 1.1rem;
    border-radius: 99px;
    border: 1.5px solid var(--border);
    font-size: .82rem;
    font-weight: 600;
    color: var(--ink-soft);
    background: var(--white);
    transition: var(--transition);
    cursor: pointer;
}

.category-pill.active,
.category-pill:hover {
    background: var(--red);
    border-color: var(--red);
    color: var(--white);
}


/* ─── FEATURED BOOK BANNER ───────────────────────────── */

.featured-banner {
    background: linear-gradient(120deg, #1C100D 0%, #2B1714 100%);
    border-radius: var(--radius-lg);
    padding: 3rem;
    display: grid;
    grid-template-columns: 220px 1fr auto;
    gap: 2.5rem;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.featured-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 400px 300px at 90% 10%, rgba(201,151,58,.12), transparent 70%);
}

.featured-banner-cover {
    border-radius: var(--radius);
    aspect-ratio: 3/4;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.featured-banner-cover img { width: 100%; height: 100%; object-fit: cover; }

.featured-banner-content { position: relative; }
.featured-banner-content .eyebrow { color: var(--gold); }

.featured-banner-content h3 {
    font-family: var(--font-disp);
    font-size: clamp(1.4rem, 2.5vw, 1.9rem);
    color: var(--white);
    margin-bottom: .6rem;
    line-height: 1.25;
}

.featured-banner-content p {
    color: rgba(255,255,255,.6);
    font-size: .9rem;
    line-height: 1.7;
    max-width: 480px;
}

.featured-banner-price { position: relative; text-align: center; }
.featured-banner-price .price-now { font-size: 1.8rem; color: var(--white); }
.featured-banner-price .price-was { color: rgba(255,255,255,.4); }


/* ─── WHY CHOOSE US ──────────────────────────────────── */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.75rem;
}

.feature-card { text-align: center; padding: 1rem; }

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--red-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    margin: 0 auto 1.1rem;
}

.feature-card h4 { font-family: var(--font-body); font-size: .95rem; font-weight: 700; margin-bottom: .5rem; }
.feature-card p { font-size: .82rem; color: var(--ink-soft); line-height: 1.65; }


/* ─── AUTHOR / EDITOR SECTION ─────────────────────────── */

.author-section {
    background: var(--white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.author-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
    align-items: center;
}

.author-photo-wrap { position: relative; }

.author-photo {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/5;
    box-shadow: var(--shadow-lg);
}

.author-photo img { width: 100%; height: 100%; object-fit: cover; }

.author-photo-tag {
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--red);
    color: var(--white);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: .5rem 1.2rem;
    border-radius: 99px;
    white-space: nowrap;
    box-shadow: var(--shadow);
}

.author-name { font-family: var(--font-disp); font-size: clamp(1.5rem, 2.8vw, 1.9rem); margin-bottom: .25rem; }

.author-role {
    font-size: .85rem;
    font-weight: 600;
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 1.25rem;
}

.author-bio {
    font-size: .92rem;
    color: var(--ink-soft);
    line-height: 1.85;
    margin-bottom: 1.5rem;
    max-width: 100%;
}

.author-social-media { display: flex; gap: .75rem; }

.author-social-media a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--border-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: var(--transition);
}

.author-social-media a:hover { background: var(--red-light); transform: translateY(-2px); }
.author-social-media img { width: 18px; height: 18px; object-fit: contain; }


/* ─── TESTIMONIALS ───────────────────────────────────── */

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.testimonial-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
}

.testimonial-stars { color: var(--gold); font-size: .85rem; margin-bottom: 1rem; letter-spacing: .15em; }

.testimonial-text {
    font-size: .88rem;
    color: var(--ink-soft);
    line-height: 1.75;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author { display: flex; align-items: center; gap: .75rem; }

.testimonial-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--border-soft);
}

.testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-name { font-size: .85rem; font-weight: 700; }
.testimonial-role { font-size: .76rem; color: var(--ink-muted); }


/* ─── NEWSLETTER CTA BAND ────────────────────────────── */

.newsletter-band {
    background: var(--red);
    background-image: radial-gradient(ellipse 500px 300px at 85% 30%, rgba(255,255,255,.12), transparent 70%);
    padding: 3.5rem 0;
}

.newsletter-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.newsletter-inner h3 { font-family: var(--font-disp); color: var(--white); font-size: clamp(1.3rem, 2.5vw, 1.7rem); margin-bottom: .4rem; }
.newsletter-inner p { color: rgba(255,255,255,.8); font-size: .88rem; }

.newsletter-form { display: flex; gap: .6rem; min-width: 360px; }

.newsletter-form input {
    flex: 1;
    padding: .8rem 1.1rem;
    border-radius: var(--radius);
    border: none;
    font-size: .875rem;
    font-family: var(--font-body);
}

.newsletter-form input:focus { outline: 3px solid rgba(255,255,255,.4); }

.newsletter-form button {
    background: var(--ink);
    color: var(--white);
    border: none;
    padding: .8rem 1.6rem;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: .875rem;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition);
}

.newsletter-form button:hover { background: #2B1714; }


/* ─── HEAVY CTA FOOTER BAND ──────────────────────────── */

.footer-cta-band {
    background: linear-gradient(120deg, #1C100D, #2B1714);
    padding: 3.5rem 0;
    text-align: center;
}

.footer-cta-band .eyebrow { color: var(--gold); justify-content: center; display: flex; }

.footer-cta-band h2 {
    font-family: var(--font-disp);
    color: var(--white);
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    margin: .75rem 0 1rem;
}

.footer-cta-band p {
    color: rgba(255,255,255,.6);
    max-width: 480px;
    margin: 0 auto 2rem;
    font-size: .95rem;
}

.footer-cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.forwared_by .h1{
    font-size:40px;
}
.forwared_by .h1 em{
    color:var(--red);
    display:block;
    font-size:44px;
}
.forwarded_img{
    height:100%;
    object-fit:cover
}
.forwared_by > .container{
    background: white;
    padding: 40px;
    border-radius: 10px;
    border-left: 8px solid var(--red);
}

/* ─── HOMEPAGE RESPONSIVE ────────────────────────────── */

@media (max-width: 992px) {
    .home-hero-grid { grid-template-columns: 1fr; }
    .book-spread { display: none; }
    .featured-banner { grid-template-columns: 1fr; text-align: center; padding: 2.5rem 1.75rem; }
    .featured-banner-cover { width: 200px; margin: 0 auto; }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .author-grid { grid-template-columns: 1fr; text-align: center; }
    .author-photo-wrap { max-width: 260px; margin: 0 auto; }
    .author-bio { margin-left: auto; margin-right: auto; }
    .author-social-media { justify-content: center; }
    .testimonial-grid { grid-template-columns: 1fr; }
    .newsletter-inner { flex-direction: column; text-align: center; }
    .newsletter-form { min-width: 100%; }
    .topbar, .publisher-strip { display: none; }
}

@media (max-width: 576px) {
    .feature-grid { grid-template-columns: 1fr; }
    .home-hero-trust { gap: 1.5rem; }
    .newsletter-form { flex-direction: column; }
}