/* ==========================================================================
   1CrGoal - Modern Bright High-Converting Hindi eBook Sales Theme (Bootstrap 6)
   ========================================================================== */

:root {
    --brand-primary: #ff5722;
    --brand-primary-dark: #e64a19;
    --brand-secondary: #e11d48;
    --brand-orange: #f97316;
    --brand-gold: #f59e0b;
    --brand-emerald: #059669;
    --brand-navy: #0f172a;
    --brand-slate: #475569;
    --brand-muted: #64748b;
    --brand-border: #e2e8f0;
    --bg-canvas: #fffdf9;
    --bg-warm: #fff7ed;
    --bg-soft-gold: #fefce8;
    --brand-gradient: linear-gradient(135deg, #ff5722 0%, #f97316 48%, #e11d48 100%);
    --brand-gradient-hover: linear-gradient(135deg, #ea580c 0%, #e11d48 100%);
    --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.06);
    --shadow-card: 0 14px 36px rgba(15, 23, 42, 0.08);
    --shadow-cta: 0 12px 28px rgba(255, 87, 34, 0.34);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans Devanagari', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg-canvas);
    color: var(--brand-navy);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--brand-navy);
    line-height: 1.35;
}

a {
    color: var(--brand-primary);
    transition: color 0.2s ease, transform 0.2s ease;
}

a:hover {
    color: var(--brand-secondary);
}

/* Brand Utilities */
.text-brand {
    color: var(--brand-primary) !important;
}

.text-brand-gradient {
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-muted-custom {
    color: var(--brand-muted) !important;
}

.bg-warm-section {
    background: linear-gradient(180deg, #fff7ed 0%, #fffdf9 100%);
}

.bg-sunlit-section {
    background: linear-gradient(180deg, #fffdf9 0%, #fef9e7 50%, #fff7ed 100%);
}

/* Primary CTA Buttons */
.btn-brand {
    background: var(--brand-gradient);
    color: #ffffff !important;
    border: none;
    font-weight: 700;
    border-radius: 999px;
    padding: 0.7rem 1.6rem;
    box-shadow: var(--shadow-cta);
    transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    cursor: pointer;
}

.btn-brand:hover,
.btn-brand:focus-visible {
    background: var(--brand-gradient-hover);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(225, 29, 72, 0.36);
}

.btn-brand:active {
    transform: translateY(0);
}

.btn-cta-hero {
    font-size: 1.25rem;
    padding: 1rem 2.6rem;
    letter-spacing: 0.2px;
    position: relative;
    overflow: hidden;
    animation: ctaPulse 2.8s infinite;
}

@keyframes ctaPulse {
    0%, 100% {
        box-shadow: 0 12px 28px rgba(255, 87, 34, 0.35), 0 0 0 0 rgba(255, 87, 34, 0.35);
    }
    50% {
        box-shadow: 0 16px 34px rgba(225, 29, 72, 0.42), 0 0 0 12px rgba(255, 87, 34, 0);
    }
}

.btn-outline-brand {
    background: #ffffff;
    color: var(--brand-primary) !important;
    border: 2px solid var(--brand-primary);
    font-weight: 700;
    border-radius: 999px;
    padding: 0.65rem 1.5rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    transition: all 0.22s ease;
}

.btn-outline-brand:hover {
    background: var(--brand-primary);
    color: #ffffff !important;
    transform: translateY(-1px);
}

/* ==========================================================================
   Main Header / Navbar
   ========================================================================== */
.top-promo-strip {
    background: linear-gradient(90deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    color: #fef3c7;
    font-size: 0.86rem;
    padding: 0.45rem 0;
    text-align: center;
    font-weight: 500;
}

.top-promo-strip .promo-pill {
    background: var(--brand-gradient);
    color: #ffffff;
    padding: 0.15rem 0.65rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.78rem;
    margin-right: 0.45rem;
    display: inline-block;
}

.main-navbar {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(251, 146, 60, 0.22);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
    padding: 0.65rem 0;
    position: sticky;
    top: 0;
    z-index: 1030;
}

.main-navbar .navbar-brand {
    display: flex;
    align-items: center;
    padding: 0;
    text-decoration: none;
}

.main-navbar .navbar-brand img {
    height: 44px;
    width: auto;
}

.main-navbar .nav-link {
    color: #1e293b;
    font-weight: 600;
    font-size: 0.96rem;
    padding: 0.5rem 0.95rem !important;
    border-radius: 10px;
    transition: background-color 0.2s ease, color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.main-navbar .nav-link:hover,
.main-navbar .nav-link.active {
    color: var(--brand-primary);
    background-color: #fff7ed;
}

.cart-badge-count {
    background: var(--brand-gradient);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    min-width: 20px;
    height: 20px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    line-height: 1;
}

.navbar-toggler {
    border: 1px solid #fed7aa;
    border-radius: 10px;
    padding: 0.45rem 0.7rem;
    background: #fff7ed;
    color: var(--brand-navy);
}

/* User Dropdown Menu (Custom clean dropdown compatible with Bootstrap 6) */
.user-menu-wrap {
    position: relative;
}

.user-menu-btn {
    background: #fff7ed;
    border: 1px solid #fdba74;
    color: var(--brand-navy);
    font-weight: 700;
    border-radius: 999px;
    padding: 0.45rem 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.92rem;
}

.user-menu-btn:hover {
    background: #ffedd5;
}

.user-menu-panel {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    min-width: 220px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
    padding: 0.5rem;
    z-index: 1050;
    display: none;
}

.user-menu-panel.open {
    display: block;
}

.user-menu-panel a {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 0.85rem;
    border-radius: 10px;
    color: #1e293b;
    font-weight: 600;
    font-size: 0.92rem;
    text-decoration: none;
}

.user-menu-panel a:hover {
    background: #fff7ed;
    color: var(--brand-primary);
}

/* ==========================================================================
   Hero & eBook Sales Showcase Section
   ========================================================================== */
.hero-sales-section {
    background:
        radial-gradient(circle at 12% 18%, rgba(251, 146, 60, 0.2) 0%, transparent 42%),
        radial-gradient(circle at 88% 15%, rgba(244, 63, 94, 0.14) 0%, transparent 40%),
        radial-gradient(circle at 50% 90%, rgba(250, 204, 21, 0.18) 0%, transparent 50%),
        linear-gradient(180deg, #fff7ed 0%, #fffdf9 100%);
    padding: 3.25rem 0 4rem;
    position: relative;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #ffffff;
    border: 1px solid #fed7aa;
    color: #c2410c;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.45rem 1.15rem;
    border-radius: 999px;
    box-shadow: 0 6px 18px rgba(249, 115, 22, 0.12);
    margin-bottom: 1.25rem;
}

.hero-main-h1 {
    font-size: clamp(2rem, 4.2vw, 3.35rem);
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.hero-sub-h4 {
    font-size: clamp(1.08rem, 2vw, 1.38rem);
    font-weight: 500;
    color: #475569;
    max-width: 780px;
    margin: 0 auto 2.5rem;
    line-height: 1.65;
}

.ebook-showcase-card {
    background: #ffffff;
    border-radius: 26px;
    border: 1px solid rgba(251, 146, 60, 0.28);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.09);
    padding: 2.25rem;
    position: relative;
    overflow: hidden;
}

.ebook-showcase-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--brand-gradient);
}

.ebook-cover-stage {
    position: relative;
    display: inline-block;
    max-width: 340px;
    width: 100%;
    margin: 0 auto;
}

.ebook-cover-frame {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow:
        -10px 16px 32px rgba(15, 23, 42, 0.24),
        0 0 0 1px rgba(251, 191, 36, 0.45);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    background: #0f172a;
}

.ebook-cover-frame:hover {
    transform: translateY(-6px) rotate(-0.8deg);
    box-shadow:
        -14px 24px 44px rgba(15, 23, 42, 0.3),
        0 0 0 2px rgba(251, 191, 36, 0.65);
}

.ebook-cover-frame img {
    width: 100%;
    height: auto;
    display: block;
}

.discount-floating-badge {
    position: absolute;
    top: -12px;
    right: -12px;
    background: linear-gradient(135deg, #059669, #10b981);
    color: #ffffff;
    font-weight: 800;
    font-size: 0.95rem;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    box-shadow: 0 10px 22px rgba(5, 150, 105, 0.35);
    border: 2px solid #ffffff;
    z-index: 2;
}

.price-highlight-box {
    background: linear-gradient(135deg, #fff7ed 0%, #fefce8 100%);
    border: 2px dashed #fb923c;
    border-radius: 18px;
    padding: 1.25rem 1.5rem;
}

.price-original {
    font-size: 1.2rem;
    color: #94a3b8;
    text-decoration: line-through;
    font-weight: 600;
}

.price-current {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1;
}

.price-save-pill {
    background: #dcfce7;
    color: #047857;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    display: inline-block;
}

.quick-check-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.quick-check-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin-bottom: 0.65rem;
    font-size: 0.98rem;
    color: #334155;
    font-weight: 500;
}

.quick-check-list li i {
    color: var(--brand-emerald);
    margin-top: 0.25rem;
    font-size: 1.05rem;
    flex-shrink: 0;
}

.trust-strip-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: #475569;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.55rem 0.9rem;
}

.trust-strip-item i {
    color: var(--brand-primary);
}

/* ==========================================================================
   Section Headings & Feature Cards
   ========================================================================== */
.section-block {
    padding: 4.5rem 0;
}

.section-badge {
    display: inline-block;
    background: #ffedd5;
    color: #c2410c;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.35rem 1rem;
    border-radius: 999px;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(1.65rem, 3vw, 2.35rem);
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.75rem;
}

.section-subtitle {
    color: #475569;
    font-size: 1.04rem;
    max-width: 720px;
    margin: 0 auto 2.5rem;
}

.benefit-card {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 20px;
    padding: 1.75rem 1.5rem;
    height: 100%;
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card);
    border-color: #fed7aa;
}

.benefit-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    margin-bottom: 1.1rem;
    background: linear-gradient(135deg, #fff7ed, #ffedd5);
    color: var(--brand-primary);
}

.formula-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 1.4rem;
    height: 100%;
    position: relative;
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.formula-card:hover {
    transform: translateY(-4px);
    border-color: #fb923c;
    box-shadow: 0 14px 30px rgba(249, 115, 22, 0.12);
}

.formula-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: var(--brand-gradient);
    color: #ffffff;
    font-weight: 800;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.curiosity-card {
    background: linear-gradient(180deg, #ffffff 0%, #fffbf5 100%);
    border: 1.5px dashed #fdba74;
}

.curiosity-card:hover {
    border-style: solid;
    border-color: #f97316;
}

.curiosity-lock-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: #fff7ed;
    color: #c2410c;
    border: 1px solid #fed7aa;
    font-size: 0.76rem;
    font-weight: 700;
    padding: 0.18rem 0.65rem;
    border-radius: 999px;
}

/* ==========================================================================
   Feedback / Testimonials Section
   ========================================================================== */
.feedback-card {
    background: #ffffff;
    border: 1px solid #fed7aa;
    border-radius: 20px;
    padding: 1.75rem;
    height: 100%;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.star-rating {
    color: #f59e0b;
    font-size: 0.95rem;
    letter-spacing: 2px;
}

.reviewer-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--brand-gradient);
    color: #ffffff;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.05rem;
}

/* Bottom Conversion Banner */
.cta-banner-box {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 55%, #312e81 100%);
    border-radius: 26px;
    padding: 3rem 2rem;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.2);
}

.cta-banner-box h2,
.cta-banner-box p {
    color: #ffffff;
}

/* ==========================================================================
   Cart, Legal, Contact & Info Pages
   ========================================================================== */
.page-hero-bar {
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    border-bottom: 1px solid #fed7aa;
    padding: 2.75rem 0;
}

.content-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    box-shadow: var(--shadow-soft);
    padding: 2.25rem;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem 0;
    border-bottom: 1px dashed #e2e8f0;
    font-size: 1.02rem;
}

.cart-summary-row.total-row {
    border-bottom: none;
    border-top: 2px solid #0f172a;
    margin-top: 0.5rem;
    padding-top: 1.1rem;
    font-size: 1.25rem;
    font-weight: 800;
}

.form-control-modern {
    width: 100%;
    background-color: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.78rem 1rem;
    font-size: 0.98rem;
    color: #0f172a;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.form-control-modern:focus {
    outline: none;
    background-color: #ffffff;
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 4px rgba(255, 87, 34, 0.14);
}

.captcha-box {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.captcha-img {
    border-radius: 10px;
    border: 1.5px solid #cbd5e1;
    height: 48px;
    width: 160px;
    background: #fff7ed;
}

/* ==========================================================================
   Bootstrap 6 Native <dialog> Modals (Login/Sign Up & Newsletter)
   ========================================================================== */
dialog.dialog.custom-dialog {
    --bs-dialog-width: 470px;
    --bs-dialog-border-radius: 22px;
    background: #ffffff;
    border: none;
    border-radius: 22px;
    padding: 0;
    box-shadow: 0 26px 70px rgba(15, 23, 42, 0.28);
    overflow: hidden;
}

dialog.dialog.custom-dialog::backdrop {
    background: rgba(15, 23, 42, 0.58);
    backdrop-filter: blur(5px);
}

.dialog-inner-pad {
    padding: 1.25rem 1.75rem 2rem;
}

.dialog-top-close {
    display: flex;
    justify-content: flex-end;
    padding: 1rem 1.25rem 0.25rem;
}

/* Pill Tabs matching signup-login.JPG & ifanof */
.auth-tabs-wrapper {
    background: #f1f5f9;
    padding: 5px;
    border-radius: 14px;
    display: flex;
    gap: 0;
    margin-bottom: 1.35rem;
}

.auth-tab {
    flex: 1;
    text-align: center;
    padding: 0.65rem 0.75rem;
    cursor: pointer;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.96rem;
    transition: all 0.25s ease;
    color: #64748b;
    user-select: none;
    border: none;
    background: transparent;
}

.auth-tab.active {
    background: #ffffff;
    color: #e11d48;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.btn-google-auth {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    color: #1e293b !important;
    font-weight: 600;
    border-radius: 12px;
    padding: 0.68rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-google-auth:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.btn-facebook-auth {
    background: #1877f2;
    border: none;
    color: #ffffff !important;
    font-weight: 600;
    border-radius: 12px;
    padding: 0.68rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-facebook-auth:hover {
    background: #166fe5;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.28);
}

.auth-divider {
    position: relative;
    text-align: center;
    margin: 1.1rem 0;
}

.auth-divider::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: #e2e8f0;
}

.auth-divider span {
    position: relative;
    background: #ffffff;
    padding: 0 0.75rem;
    color: #64748b;
    font-size: 0.82rem;
    font-weight: 600;
}

/* Status alerts */
.alert-box {
    border-radius: 12px;
    padding: 0.75rem 1rem;
    font-size: 0.92rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.alert-box-success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.alert-box-danger {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.alert-box-warning {
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #92400e;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background: #0f172a;
    color: #cbd5e1;
    padding: 3rem 0 6.5rem;
    margin-top: 4rem;
    border-top: 4px solid var(--brand-primary);
}

.footer-nav-links {
    list-style: none;
    padding: 0;
    margin: 0 0 1.4rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem 1.5rem;
}

.footer-nav-links a {
    color: #e2e8f0;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.96rem;
    transition: color 0.2s ease;
}

.footer-nav-links a:hover {
    color: #fb923c;
}

.footer-divider {
    border: 0;
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    margin: 1.25rem auto;
    max-width: 680px;
}

.footer-copy-row {
    color: #cbd5e1;
    font-size: 0.9rem;
    margin-bottom: 0.35rem;
}

.footer-publisher-row {
    color: #94a3b8;
    font-size: 0.86rem;
    font-weight: 500;
}

/* ==========================================================================
   Sticky Offer Footer (Left Best Seller | Middle IST Timer | Right AJAX Toast)
   ========================================================================== */
.sticky-offer-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1040;
    background: linear-gradient(90deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    border-top: 2px solid #f59e0b;
    box-shadow: 0 -10px 30px rgba(15, 23, 42, 0.28);
    padding: 0.55rem 0;
    color: #ffffff;
}

.sticky-offer-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 0.75rem;
}

.sticky-col-left {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.sticky-bestseller-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.sticky-bestseller-link:hover {
    transform: scale(1.03);
}

.sticky-bestseller-link img {
    height: 44px;
    width: auto;
    display: block;
}

.sticky-col-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.sticky-timer-wrap {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: wrap;
    justify-content: center;
}

.sticky-timer-label {
    font-size: 0.92rem;
    font-weight: 700;
    color: #fde68a;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
}

.sticky-timer-digits {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.timer-unit {
    background: linear-gradient(135deg, #ff5722, #e11d48);
    color: #ffffff;
    border-radius: 8px;
    padding: 0.25rem 0.55rem;
    display: inline-flex;
    align-items: baseline;
    gap: 0.2rem;
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.35);
    min-width: 52px;
    justify-content: center;
}

.timer-unit strong {
    font-family: 'Poppins', monospace;
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.1;
}

.timer-unit small {
    font-size: 0.68rem;
    font-weight: 600;
    opacity: 0.92;
}

.timer-sep {
    color: #fbbf24;
    font-weight: 800;
    font-size: 1.1rem;
}

.sticky-col-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 40px;
}

.sticky-purchase-toast {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #065f46, #059669);
    border: 1px solid #34d399;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.42rem 0.9rem;
    border-radius: 999px;
    box-shadow: 0 8px 20px rgba(5, 150, 105, 0.38);
    opacity: 0;
    transform: translateY(10px) scale(0.96);
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.35s ease;
    max-width: 100%;
}

.sticky-purchase-toast.show {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.live-pulse-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #a7f3d0;
    box-shadow: 0 0 0 0 rgba(167, 243, 208, 0.75);
    animation: liveDotPulse 1.4s infinite;
    flex-shrink: 0;
}

@keyframes liveDotPulse {
    0% { box-shadow: 0 0 0 0 rgba(167, 243, 208, 0.85); }
    70% { box-shadow: 0 0 0 8px rgba(167, 243, 208, 0); }
    100% { box-shadow: 0 0 0 0 rgba(167, 243, 208, 0); }
}

@media (max-width: 991.98px) {
    .sticky-offer-grid {
        grid-template-columns: auto 1fr;
        row-gap: 0.45rem;
    }

    .sticky-col-right {
        grid-column: 1 / -1;
        justify-content: center;
        min-height: 0;
    }

    .sticky-purchase-toast:not(.show) {
        display: none;
    }

    .site-footer {
        padding-bottom: 8.5rem;
    }
}

@media (max-width: 575.98px) {
    .sticky-offer-grid {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
        gap: 0.4rem;
    }

    .sticky-col-left,
    .sticky-col-center,
    .sticky-col-right {
        justify-content: center;
    }

    .sticky-bestseller-link img {
        height: 36px;
    }

    .sticky-timer-label {
        font-size: 0.82rem;
    }

    .timer-unit {
        min-width: 44px;
        padding: 0.2rem 0.42rem;
    }

    .timer-unit strong {
        font-size: 0.92rem;
    }

    .site-footer {
        padding-bottom: 10.5rem;
    }
}

/* ==========================================================================
   Responsive Refinements
   ========================================================================== */
@media (max-width: 991.98px) {
    .main-navbar .navbar-collapse {
        background: #ffffff;
        border-top: 1px solid #fed7aa;
        margin-top: 0.75rem;
        padding: 1rem 0.5rem;
        border-radius: 14px;
    }

    .main-navbar .navbar-nav {
        gap: 0.25rem;
    }

    .ebook-showcase-card {
        padding: 1.5rem;
    }

    .btn-cta-hero {
        font-size: 1.1rem;
        padding: 0.9rem 1.8rem;
        width: 100%;
    }
}

@media (max-width: 575.98px) {
    .hero-sales-section {
        padding: 2rem 0 3rem;
    }

    .content-card {
        padding: 1.35rem;
    }

    .price-current {
        font-size: 2.05rem;
    }

    .dialog-inner-pad {
        padding: 1rem 1.2rem 1.5rem;
    }
}
