/* ======================================================
   ADEEBA PUBLICATION — COMMON STYLESHEET
   ====================================================== */

@import url('https://fonts.googleapis.com/css2?family=Baloo+Da+2:wght@400;500;600;700;800&family=Hind+Siliguri:wght@300;400;500;600;700&display=swap');

:root {
  --clr-primary: #d97706;
  --clr-primary-dk: #b45309;
  --clr-primary-lt: #fbbf24;
  --clr-primary-bg: #fffbeb;
  --clr-accent: #f59e0b;
  --clr-accent-dk: #d97706;
  --clr-sidebar: #92400e;
  --clr-sidebar-dk: #78350f;
  --clr-success: #10b981;
  --clr-warning: #f97316;
  --clr-danger: #ef4444;
  --clr-info: #3b82f6;
  --clr-dark: #1c1003;
  --clr-text: #44310a;
  --clr-muted: #78716c;
  --clr-border: #fde68a;
  --clr-bg: #fffdf5;
  --clr-white: #ffffff;
  --shadow-sm: 0 1px 3px rgba(180, 83, 9, 0.08);
  --shadow-md: 0 4px 16px rgba(180, 83, 9, 0.12);
  --shadow-lg: 0 10px 36px rgba(180, 83, 9, 0.16);
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 24px;
  --tr: all 0.22s ease;
  --font-heading: 'Baloo Da 2', 'Hind Siliguri', sans-serif;
  --font-banner: 'Baloo Da 2', 'Hind Siliguri', sans-serif;
  --font-body: 'Hind Siliguri', 'Noto Sans Bengali', sans-serif;
  --font-title: 'Hind Siliguri', sans-serif;
  --font-subheading: 'Hind Siliguri', sans-serif;
  --font-ui: 'Hind Siliguri', sans-serif;
}

.text-primary {
  color: var(--clr-primary) !important;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  /* background: var(--clr-bg); */
  color: var(--clr-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

button {
  cursor: pointer;
  font-family: inherit;
}

/* BUTTONS */
.ap-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--r-md);
  border: none;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  transition: var(--tr);
  white-space: nowrap;
}

.ap-btn-primary {
  background: var(--clr-primary);
  color: #fff;
}

.ap-btn-primary:hover {
  background: var(--clr-primary-dk);
  transform: translateY(-1px);
}

.ap-btn-accent {
  background: var(--clr-accent);
  color: #fff;
}

.ap-btn-accent:hover {
  background: var(--clr-accent-dk);
  transform: translateY(-1px);
}

.ap-btn-outline {
  background: transparent;
  border: 2px solid var(--clr-primary);
  color: var(--clr-primary);
}

.ap-btn-outline:hover {
  background: var(--clr-primary);
  color: #fff;
}

.ap-btn-danger {
  background: var(--clr-danger);
  color: #fff;
}

.ap-btn-danger:hover {
  background: #dc2626;
}

.ap-btn-sm {
  padding: 6px 14px;
  font-size: 12px;
}

.ap-btn-lg {
  padding: 13px 30px;
  font-size: 16px;
}

/* BADGE */
.ap-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
}

.ap-badge-success {
  background: #d1fae5;
  color: #065f46;
}

.ap-badge-warning {
  background: #fef3c7;
  color: #92400e;
}

.ap-badge-primary {
  background: var(--clr-primary-bg);
  color: var(--clr-primary-dk);
}

.ap-badge-danger {
  background: #fee2e2;
  color: #991b1b;
}

.ap-badge-info {
  background: #dbeafe;
  color: #1e40af;
}

/* ============ SITE HEADER ============ */
.site-header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #f1f5f9;
  padding: 12px 0;
  position: relative;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
}

@media (max-width: 991.98px) {
  .site-header {
    position: sticky;
    top: 0;
  }
}

/* ============ STICKY COMPACT SCROLL HEADER (BDBOOKS STYLE) ============ */
.sticky-scroll-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1050;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.08);
  transform: translateY(-110%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.22s ease;
}

.sticky-scroll-header.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.sticky-hdr-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 8px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.sticky-hdr-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex-shrink: 0;
}

.sticky-logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.sticky-hdr-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 1;
}

.sticky-nav-link {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  font-size: 18px;
  font-weight: 500;
  color: #1e293b;
  text-decoration: none;
  border-radius: 8px;
  transition: color 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}

.sticky-nav-link:hover,
.sticky-nav-link.is-active {
  color: var(--clr-primary);
  background: var(--clr-primary-bg);
}

.sticky-hdr-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.sticky-circle-btn {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 15px;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  cursor: pointer;
}

.sticky-circle-btn:hover {
  transform: translateY(-2px);
  color: #ffffff;
  box-shadow: 0 5px 12px rgba(15, 23, 42, 0.18);
}

/* Adeeba Brand-Matched Icon Colors (Original Palette) */
.btn-search-circle {
  background: var(--clr-primary);
}

.btn-user-circle {
  background: #0f172a;
}

.btn-wish-circle {
  background: #e11d48;
}

.btn-cart-circle {
  background: #0d9488;
}

.sticky-circle-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 19px;
  height: 19px;
  padding: 0 4px;
  border-radius: 50px;
  background: var(--clr-primary);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  line-height: 1;
}

/* Expandable Search Bar in Sticky Header */
.sticky-search-dropdown {
  max-height: 0;
  overflow: hidden;
  background: #f8fafc;
  border-top: 1px solid transparent;
  transition: max-height 0.25s ease, padding 0.25s ease, border-color 0.25s ease;
}

.sticky-search-dropdown.is-open {
  max-height: 84px;
  padding: 12px 0;
  border-top-color: #e2e8f0;
}

.sticky-search-dropdown-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 16px;
}

.sticky-search-form {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sticky-search-input {
  flex: 1;
  padding: 9px 18px;
  border-radius: 50px;
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
  font-size: 14px;
  color: #0f172a;
  outline: none;
}

.sticky-search-input:focus {
  border-color: var(--clr-primary);
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.14);
}

.sticky-search-submit {
  padding: 9px 20px;
  border-radius: 50px;
  border: none;
  background: var(--clr-primary);
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
}

.sticky-search-submit:hover {
  background: var(--clr-primary-dk);
}

.sticky-search-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #64748b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.sticky-search-close:hover {
  color: #0f172a;
  border-color: #94a3b8;
}

.hdr-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: space-between;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0px;
}

.hdr-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.hdr-brand-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fbbf24;
  font-size: 19px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.16);
}

.hdr-brand-text {
  line-height: 1.15;
}

.hdr-brand-name {
  display: block;
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.2px;
}

.hdr-brand-sub {
  display: block;
  font-size: 10.5px;
  color: var(--clr-muted);
}

.hdr-search {
  flex: 1;
  max-width: 560px;
  position: relative;
}

.hdr-search-input {
  width: 100%;
  padding: 11px 52px 11px 20px;
  border: 1.5px solid transparent;
  border-radius: 50px;
  font-family: inherit;
  font-size: 14px;
  color: var(--clr-dark);
  background: #f1f5f9;
  transition: var(--tr);
}

.hdr-search-input::placeholder {
  color: #94a3b8;
}

.hdr-search-input:focus {
  outline: none;
  border-color: #0f172a;
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
}

.hdr-search-btn {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  background: #0f172a;
  border: none;
  border-radius: 50%;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13.5px;
  transition: var(--tr);
}

.hdr-search-btn:hover {
  background: var(--clr-primary);
  transform: translateY(-50%) scale(1.04);
}

.hdr-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.hdr-icon-btn {
  position: relative;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: #0d9488;
  color: #ffffff;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  text-decoration: none;
}

#wishBtn.hdr-icon-btn {
  background: #e11d48;
  color: #ffffff;
}

#cartNavBtn.hdr-icon-btn {
  background: #0d9488;
  color: #ffffff;
}

.hdr-icon-btn:hover {
  transform: translateY(-2px);
  color: #ffffff;
  box-shadow: 0 5px 12px rgba(15, 23, 42, 0.18);
}

.hdr-icon-count {
  position: absolute;
  top: -3px;
  right: -3px;
  min-width: 19px;
  height: 19px;
  padding: 0 4px;
  background: var(--clr-primary);
  color: #ffffff;
  border-radius: 50px;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
}

.hdr-icon-count.count-primary {
  background: #0f172a;
}

.hdr-user-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 14px 5px 5px;
  border: 1px solid #e2e8f0;
  border-radius: 50px;
  background: #f8fafc;
  cursor: pointer;
  transition: var(--tr);
  text-decoration: none;
}

.hdr-user-pill:hover {
  border-color: #0f172a;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

.hdr-user-avatar {
  width: 38px;
  height: 38px;
  background: #0f172a;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 17px;
  flex-shrink: 0;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.hdr-user-pill:hover .hdr-user-avatar {
  transform: scale(1.04);
}

.hdr-user-info {
  line-height: 1.2;
}

.hdr-user-greeting {
  display: block;
  font-size: 9px;
  color: var(--clr-primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hdr-user-name {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--clr-dark);
}

.hdr-auth-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--r-md);
  font-size: 13px;
  font-weight: 600;
  transition: var(--tr);
}

.hdr-auth-login {
  background: var(--clr-primary-bg);
  color: var(--clr-primary);
}

.hdr-auth-login:hover {
  background: var(--clr-primary);
  color: #fff;
}

.hdr-auth-register {
  background: var(--clr-primary);
  color: #fff;
}

.hdr-auth-register:hover {
  background: var(--clr-primary-dk);
}

/* ============ MAIN NAV ============ */
.site-nav {
  background: var(--clr-white);
  border-bottom: 1px solid #dee2e6;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0px;
  position: relative;
}

.nav-inner.has-preorder {
  justify-content: flex-start;
}

.nav-inner.has-preorder>.nav-item:first-child {
  margin-left: auto;
}

.nav-item-preorder {
  position: static;
  margin-left: auto;
  padding: 6px 0;
  flex-shrink: 0;
}

/* Mobile Floating Pre-Order Badge (Top-Right Fixed below mobile header) */
.mobile-floating-preorder {
  position: fixed;
  top: 27px;
  right: 12px;
  z-index: 1025;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px 5px 5px;
  border-radius: 10px;
  background: linear-gradient(135deg, #ee2538 0%, #b40973 100%);
  color: #ffffff !important;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(217, 119, 6, 0.42);
  animation: preorderShake 3.2s ease-in-out infinite;
  line-height: 1.1;
}

.mobile-floating-preorder .preorder-badge-icon {
  width: 26px;
  height: 26px;
  font-size: 13px;
  border-radius: 7px;
}

.mobile-floating-preorder .preorder-badge-main {
  font-size: 11.5px;
}

.mobile-floating-preorder .preorder-badge-sub {
  font-size: 8.5px;
  padding: 1.5px 5px;
}

.nav-item {
  position: relative;
}

.nav-link-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 13px 16px;
  font-size: 20px;
  font-weight: 500;
  color: var(--clr-text);
  transition: var(--tr);
  position: relative;
}

.nav-link-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--clr-primary);
  transition: width 0.28s ease;
}

.nav-link-item:hover,
.nav-link-item.is-active {
  color: var(--clr-primary);
}

.nav-link-item:hover::after,
.nav-link-item.is-active::after {
  width: 75%;
}

/* Shaking Pre-Order CTA Badge (Brand-Matched Deep Ink & Amber) */
.nav-preorder-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px 5px 6px;
  border-radius: 12px;
  background: linear-gradient(135deg, #ee2538 0%, #b40973 100%);
  color: #ffffff !important;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.32);
  animation: preorderShake 3.2s ease-in-out infinite;
  transform-origin: center center;
  transition: box-shadow 0.2s ease, filter 0.2s ease;
  white-space: nowrap;
  line-height: 1.1;
}

.nav-preorder-badge:hover {
  animation-play-state: paused;
  filter: brightness(1.06);
  box-shadow: 0 6px 18px rgba(217, 119, 6, 0.45);
  color: #ffffff !important;
}

.preorder-badge-icon {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: #0f172a;
  color: #fbbf24;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.25);
}

.preorder-badge-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.preorder-badge-main {
  font-size: 13.5px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.1px;
}

.preorder-badge-sub {
  font-size: 9.5px;
  font-weight: 700;
  background: #0f172a;
  color: #fde68a;
  padding: 2px 7px;
  border-radius: 4px;
  line-height: 1.15;
}

.nav-preorder-badge.nav-preorder-compact {
  padding: 4px 12px 4px 5px;
  border-radius: 10px;
}

.nav-preorder-badge.nav-preorder-compact .preorder-badge-icon {
  width: 24px;
  height: 24px;
  font-size: 12px;
  border-radius: 7px;
}

.nav-preorder-badge.nav-preorder-compact .preorder-badge-main {
  font-size: 12.5px;
}

.preorder-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fef08a;
  display: inline-block;
  animation: dotBlink 1s infinite alternate;
}

@keyframes preorderShake {

  0%,
  35%,
  85%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }

  89% {
    transform: translateY(-1px) rotate(-5deg);
  }

  93% {
    transform: translateY(-2px) rotate(5deg);
  }

  98% {
    transform: translateY(-3px) rotate(-5deg);
  }
}

@keyframes dotBlink {
  0% {
    opacity: 1;
    transform: scale(1);
  }

  100% {
    opacity: 0.35;
    transform: scale(0.75);
  }
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: #fff;
  border: 1px solid var(--clr-border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  padding: 8px;
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border-radius: var(--r-sm);
  font-size: 14px;
  color: var(--clr-text);
  transition: var(--tr);
}

.nav-dropdown-item:hover {
  background: var(--clr-primary-bg);
  color: var(--clr-primary);
}

/* ============ IMAGE LAZY LOAD BLUR-UP ============ */
img[loading="lazy"] {
  transition: filter 0.4s ease, opacity 0.4s ease;
  filter: blur(10px);
  opacity: 0.6;
}

img[loading="lazy"].loaded {
  filter: blur(0);
  opacity: 1;
}

/* ============ PAGE HERO STRIP ============ */
.page-hero {
  background: linear-gradient(135deg, #0f4c75 0%, #0f4c75 50%, #0f4c75 100%);
  padding: 32px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 55%), radial-gradient(circle at 85% 30%, rgba(255, 255, 255, 0.04) 0%, transparent 50%);
}

.page-hero-deco {
  position: absolute;
  bottom: 0;
  font-size: 60px;
  opacity: 0.08;
  color: #fff;
}

.page-hero-deco.at-left {
  left: 40px;
}

.page-hero-deco.at-right {
  right: 40px;
}

.page-hero-title {
  position: relative;
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 6px;
}

.page-hero-breadcrumb {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.page-hero-breadcrumb a,
.page-hero-breadcrumb span {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
}

.page-hero-breadcrumb a:hover {
  color: #fff;
}

.page-hero-breadcrumb .bc-sep {
  color: rgba(255, 255, 255, 0.35);
}

/* ============ FOOTER ============ */
.site-footer {
  background: #1c1003;
  color: #a8956a;
  padding: 26px 0 0;
}

.ftr-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

.ftr-top {
  padding-bottom: 10px;
}

.ftr-brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  text-decoration: none;
}

.ftr-brand-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-primary-lt));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
}

.ftr-brand-name {
  font-size: 17px;
  font-weight: 700;
  color: #fde68a;
}

.ftr-brand-desc {
  font-size: 13px;
  line-height: 1.65;
  color: #ffffff;
}

.ftr-social {
  display: flex;
  gap: 8px;
  margin-top: 0px;
}

.ftr-social-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 15px;
  transition: transform 0.2s;
  text-decoration: none;
}

.ftr-social-btn:hover {
  transform: translateY(-3px);
  color: #fff;
}

.ftr-heading {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 18px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--clr-primary);
  display: inline-block;
}

.ftr-links li {
  margin-bottom: 9px;
}

.ftr-links li a {
  font-size: 13px;
  color: #ffffff;
  transition: color 0.2s, padding-left 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ftr-links li a:hover {
  color: var(--clr-primary-lt);
  padding-left: 4px;
}

.ftr-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: #ffffff;
  margin-bottom: 10px;
  line-height: 1.5;
}

.ftr-contact-row i {
  color: var(--clr-primary-lt);
  margin-top: 2px;
  flex-shrink: 0;
}

.ftr-bottom {
  border-top: 1px solid #3d2008;
  padding: 18px 0;
  text-align: center;
}

.ftr-bottom p {
  font-size: 12.5px;
  color: #8a7055;
}

.ftr-bottom .ftr-heart {
  color: var(--clr-accent);
}

/* ============ TOAST ============ */
.ap-toast {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #fff;
  border-left: 4px solid var(--clr-primary);
  border-radius: var(--r-md);
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 500;
  z-index: 9999;
  display: none;
  box-shadow: var(--shadow-lg);
  max-width: 320px;
  color: var(--clr-dark);
  gap: 10px;
  align-items: center;
}

.ap-toast.show {
  display: flex;
  animation: toastIn 0.3s ease;
}

.ap-toast.t-success {
  border-color: var(--clr-success);
}

.ap-toast.t-success i {
  color: var(--clr-success);
}

.ap-toast.t-error {
  border-color: var(--clr-danger);
}

.ap-toast.t-error i {
  color: var(--clr-danger);
}

.ap-toast.t-warning {
  border-color: var(--clr-warning);
}

.ap-toast.t-warning i {
  color: var(--clr-warning);
}

.ap-toast i {
  font-size: 18px;
  color: var(--clr-primary);
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateX(40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ============ FLOATING BTN ============ */
.ap-float-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-primary-lt));
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 13px 22px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  z-index: 990;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 28px rgba(217, 119, 6, 0.45);
  transition: var(--tr);
  animation: floatPulse 3s ease-in-out infinite;
}

.ap-float-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(217, 119, 6, 0.55);
}

@keyframes floatPulse {

  0%,
  100% {
    box-shadow: 0 8px 28px rgba(217, 119, 6, 0.45);
  }

  50% {
    box-shadow: 0 8px 36px rgba(217, 119, 6, 0.65);
  }
}

/* ============ SECTION TITLE ============ */
.sec-title-wrap {
  margin-bottom: 30px;
}

.sec-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--clr-dark);
  margin-bottom: 4px;
}

.sec-title span {
  color: var(--clr-primary);
}

.sec-subtitle {
  font-size: 14px;
  color: var(--clr-muted);
}

.sec-title-line {
  width: 48px;
  height: 3px;
  background: linear-gradient(to right, var(--clr-primary), var(--clr-primary-lt));
  border-radius: 4px;
  margin-top: 8px;
}

/* ============ RESPONSIVE ============ */
@media(max-width:768px) {
  .hdr-search {
    display: none;
  }

  .hdr-brand-sub {
    display: none;
  }

  .page-hero-deco {
    display: none;
  }
}

@media(max-width:480px) {
  .hdr-user-info {
    display: none;
  }

  .hdr-user-pill {
    padding: 0;
    border: none;
    background: transparent;
  }

  .hdr-user-pill:hover {
    background: transparent;
    box-shadow: none;
  }

  .hdr-icon-btn,
  .hdr-user-avatar {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
}


/* ============ MOBILE NAVIGATION & DRAWER ============ */
.mobile-menu-btn {
  display: none;
}

.mobile-bottom-nav {
  display: none;
}

.mobile-drawer-overlay {
  display: none;
}

.mobile-drawer {
  display: none;
}

@media (max-width: 991px) {
  body {
    padding-bottom: 74px;
    overflow-x: hidden;
    width: 100%;
    position: relative;
  }

  .hdr-inner {
    padding: 8px 12px;
  }

  .mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    font-size: 26px;
    color: var(--clr-sidebar);
    border: none;
    background: none;
    flex-shrink: 0;
  }

  .hdr-search,
  .hdr-controls,
  .site-nav {
    display: none !important;
  }

  .hdr-brand {
    margin-right: auto;
    margin-left: 10px;
  }

  /* Bottom Navigation */
  .mobile-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    box-shadow: 0 -4px 18px rgba(15, 23, 42, 0.08);
    z-index: 1040;
    justify-content: space-around;
    padding: 14px 4px 6px;
  }

  .mb-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 10.5px;
    color: #334155;
    font-weight: 600;
    text-decoration: none;
    position: relative;
    width: 20%;
    gap: 3px;
  }

  .mb-nav-item i {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: #ffffff;
    background: #0f172a;
    margin-bottom: 0;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
  }

  .mb-nav-item:nth-child(1) i {
    background: #0f172a;
  }

  .mb-nav-item:nth-child(2) i {
    background: var(--clr-primary);
  }

  .mb-nav-item:nth-child(3) i {
    background: #ea580c;
  }

  .mb-nav-item:nth-child(4) i {
    background: #0d9488;
  }

  .mb-nav-item:nth-child(5) i {
    background: #e11d48;
  }

  .mb-nav-item.active {
    color: var(--clr-primary-dk);
  }

  .mb-nav-item.active i {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.22);
  }

  .mb-nav-item .badge {
    position: absolute;
    top: -3px;
    left: calc(50% + 6px);
    background: var(--clr-primary);
    color: #ffffff;
    border-radius: 50px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    font-size: 9.5px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
    line-height: 1;
  }

  /* Drawer */
  .mobile-drawer-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: var(--tr);
  }

  .mobile-drawer-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  .mobile-drawer {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    bottom: 0;
    left: -280px;
    width: 280px;
    background: #fff;
    z-index: 1060;
    transition: left 0.3s ease;
    overflow-y: auto;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
  }

  .mobile-drawer.active {
    left: 0;
  }

  .drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    border-bottom: 1px solid var(--clr-border);
  }

  .drawer-close {
    background: none;
    border: none;
    font-size: 22px;
    color: var(--clr-text);
  }

  .drawer-menu {
    padding: 0;
    margin: 0;
    list-style: none;
  }

  .drawer-menu li {
    border-bottom: 1px solid var(--clr-border);
  }

  .drawer-menu a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 14px 18px;
    color: var(--clr-text);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: var(--tr);
  }

  .drawer-menu a:hover {
    background: var(--clr-bg);
    color: var(--clr-primary);
  }
}

/* Image Size Fixes */
.book-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cat-card-img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: 50%;
  display: block;
  margin: 0 auto;
}

.pub-card-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.header-offer-logo {
  height: 20px;
}

.book-card-icon {
  width: 100%;
  height: 100%;
  max-height: 50px;
  object-fit: contain;
}

.auth-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.site-logo-img {
  height: 50px;
  margin-right: 0px;
}

.footer-site-logo-img {
  background: #fff;
  border-radius: 5px;
  padding: 5px;
  height: 60px;
}

@media(max-width:576px) {
  .page-hero {
    padding: 15px 0 !important;
  }

  .page-hero-breadcrumb {
    max-width: 100%;
    overflow: hidden;
    flex-wrap: nowrap;
  }

  .page-hero-title {
    font-size: 18px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
  }

  .page-hero-breadcrumb span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 150px;
    display: inline-block;
    vertical-align: middle;
  }

  .shop-layout {
    padding-bottom: 10px !important;
  }

  .shop-layout .row>* {
    margin-top: 0 !important;
  }

  .site-logo-img {
    max-width: 200px;
  }
}

/* Mobile specific tweaks */
@media (max-width: 768px) {

  /* Pagination tweaks */
  .pagination {
    width: 100%;
    justify-content: center !important;
    gap: 10px;
  }

  .d-sm-none .pagination {
    margin-bottom: 0;
  }

  .page-item .page-link {
    color: var(--clr-primary) !important;
    border-radius: var(--r-sm) !important;
  }

  .page-item.active .page-link {
    background-color: var(--clr-primary) !important;
    border-color: var(--clr-primary) !important;
    color: #fff !important;
  }

  /* Footer mobile center */
  .ftr-brand-logo {
    justify-content: center;
  }

  .ftr-brand-desc {
    text-align: center;
  }

  .ftr-social {
    justify-content: center;
  }
}

/* Floating Share Button */
.floating-share-btn {
  position: fixed;
  bottom: 25px;
  right: 20px;
  width: 48px;
  height: 48px;
  background-color: var(--clr-primary, #1e40af);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  z-index: 1040;
  transition: all 0.3s ease;
}

.floating-share-btn:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  color: #fff;
}

/* Floating WhatsApp Button */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 48px;
  height: 48px;
  background-color: #25D366;
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  z-index: 1040;
  transition: all 0.3s ease;
  text-decoration: none;
}

.floating-whatsapp-btn:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  color: #fff;
  background-color: #128C7E;
}

@media (max-width: 767px) {
  .floating-share-btn {
    bottom: 80px;
    right: 15px;
    width: 50px;
    height: 50px;
  }

  .floating-whatsapp-btn {
    bottom: 140px;
    right: 15px;
    width: 50px;
    height: 50px;
    font-size: 24px;
  }
}

/* Custom Pagination Styles */
.pagination {
  margin-top: 36px;
  justify-content: center;
}

.pagination .page-item .page-link {
  color: var(--clr-text);
  border: 1.5px solid var(--clr-border);
  margin: 0 4px;
  border-radius: var(--r-sm);
  padding: 8px 16px;
  font-weight: 600;
  transition: var(--tr);
}

.pagination .page-item.active .page-link,
.pagination .page-item .page-link:hover,
.pagination .page-item.active .page-link:hover {
  background-color: var(--clr-primary);
  border-color: var(--clr-primary);
  color: #fff;
}

.pagination .page-item.disabled .page-link {
  color: var(--clr-muted);
  background-color: var(--clr-bg);
  border-color: var(--clr-border);
}

/* Force round borders on first and last children for bootstrap compatibility */
.pagination .page-item:first-child .page-link,
.pagination .page-item:last-child .page-link {
  border-radius: var(--r-sm);
}

/* Discount Badge */
.book-card-discount-badge {
  position: absolute;
  top: 4px;
  left: 4px;
  background-color: #dc2626;
  color: #fff;
  font-weight: 700;
  font-size: 11px;
  line-height: 1.1;
  text-align: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 5;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  border: 2px solid #fff;
}

.book-card-discount-badge span:first-child {
  font-size: 11px;
}

.book-card-discount-badge span:last-child {
  font-size: 9px;
  text-transform: uppercase;
}

/* ======================================================
   TYPOGRAPHY RULES (Baloo Da 2 & Hind Siliguri)
   ====================================================== */

/* 1. প্রধান হেডিং ও ব্যানার — Baloo Da 2 */
h1,
h2,
h3,
.sec-title,
.section-title,
.carousel-sec-title,
.section-heading,
.slide-title,
.hero-slider .slide-title,
.hero-slide-title,
.banner-title,
.banner-heading,
.offer-strip,
.offer-ticker,
.page-title,
.category-title,
.auth-page-title,
.ftr-heading,
.modal-title,
.drawer-title,
.site-logo-text,
.hdr-brand-name {
  font-family: var(--font-heading) !important;
  letter-spacing: -0.2px;
}

/* 2. বইয়ের নাম ও সাব-হেডিং — Hind Siliguri */
h4,
h5,
h6,
.book-card-title,
.product-title,
.stationery-title,
.book-title,
.cart-product-title,
.checkout-item-title,
.cart-item-title,
.wish-item-title,
.sec-subtitle,
.section-sub,
.carousel-sec-sub,
.slide-subtitle,
.slide-tag,
.book-card-author,
.book-card-category,
.product-meta,
.cat-card-name,
.pub-card-name,
.auth-card-name,
.feature-text strong,
.feature-text span,
.hdr-user-greeting,
.hdr-user-name,
.nav-link-item,
.mobile-nav-item {
  font-family: var(--font-title) !important;
}

/* 3. বইয়ের বিবরণ ও রিভিউ — Hind Siliguri */
p,
.book-description,
.product-description,
.detail-desc,
.slide-desc,
.book-details-table,
.product-features,
.feature-item,
.review-section,
.reviews-list,
.review-card,
.review-text,
.review-author,
.review-user-name,
.review-user-sub,
.rating-score,
.tab-content,
.book-nav-tabs,
.table {
  font-family: var(--font-body) !important;
}

/* 4. বাটন এবং প্রাইস — Hind Siliguri */
button,
.btn,
.ap-btn,
.btn-buy-now,
.btn-wishlist,
.btn-share,
.book-card-add-btn,
.carousel-more-btn,
.cart-checkout-btn,
.cart-coupon-btn,
.cart-continue-btn,
.hdr-search-btn,
.hscroll-arrow,
.slider-prev,
.slider-next,
.badge,
.book-card-badge,
.book-card-discount-badge,
.price,
.book-card-price,
.book-card-price-val,
.book-card-price-old,
.current-price,
.old-price,
.product-price-wrap,
.cart-price,
.cart-total,
.checkout-price,
.checkout-total,
.order-total,
.summary-row,
.discount-badge,
.ord-track-btn {
  font-family: var(--font-ui) !important;
}

.newsletter-section {
  padding: 0px 0 10px;
}

.newsletter-desc {
  color: #fff;
}

/* ============ FOOTER NEWSLETTER ============ */
.newsletter-form {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  background: #ffffff;
  border-radius: 8px;
  padding: 4px 4px 4px 14px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  width: 100%;
  max-width: 420px;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.2s ease;
}

.newsletter-form:focus-within {
  box-shadow: 0 0 0 2px rgba(14, 39, 105, 0.35);
}

.newsletter-input {
  flex: 1;
  min-width: 0;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  padding: 7px 8px 7px 0;
  font-family: inherit;
  font-size: 13.5px;
  color: #1e293b;
}

.newsletter-input::placeholder {
  color: #94a3b8;
  font-size: 13px;
}

.newsletter-btn {
  flex-shrink: 0;
  background: #0e2769;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 8px 18px;
  font-family: inherit;
  font-weight: 600;
  font-size: 13.5px;
  white-space: nowrap;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
}

.newsletter-btn:hover {
  background: #173b9e;
  color: #fff;
}

.newsletter-btn .nl-btn-icon {
  display: none;
}

.newsletter-btn .nl-btn-text {
  display: inline;
}

@media (max-width: 576px) {
  .newsletter-form {
    display: flex !important;
    flex-direction: row !important;
    padding: 3px 3px 3px 12px;
  }

  .newsletter-input {
    font-size: 12.5px;
    padding: 6px 4px 6px 0;
  }

  .newsletter-input::placeholder {
    font-size: 12px;
  }

  .newsletter-btn {
    padding: 7px 14px;
    border-radius: 6px;
  }

  .newsletter-btn .nl-btn-text {
    display: none;
  }

  .newsletter-btn .nl-btn-icon {
    display: inline-block;
    font-size: 13px;
  }
}


/* ============ SITE PRELOADER ============ */
.site-preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.site-preloader.preloader-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-content {
  text-align: center;
}

.preloader-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid #e2e8f0;
  border-top-color: #0e2769;
  border-radius: 50%;
  animation: preloaderSpin 0.75s linear infinite;
  margin: 0 auto 12px;
}

@keyframes preloaderSpin {
  to {
    transform: rotate(360deg);
  }
}

.preloader-text {
  font-family: var(--font-ui), sans-serif;
  font-size: 14.5px;
  font-weight: 700;
  color: #0e2769;
  letter-spacing: 0.5px;
}

/* ============ PROMOTIONAL POPUP MODAL ============ */
.promo-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.promo-modal-backdrop.promo-show {
  opacity: 1;
}

.promo-modal-wrap {
  position: relative;
  max-width: 500px;
  width: 100%;
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  transform: scale(0.85);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.promo-modal-backdrop.promo-show .promo-modal-wrap {
  transform: scale(1);
}

.promo-modal-close {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  color: #ffffff;
  border: 1px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  z-index: 10;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.promo-modal-close:hover {
  background: #000000;
  transform: rotate(90deg);
}

.promo-modal-link {
  display: block;
  text-decoration: none;
}

.promo-modal-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 80vh;
}

/* ==========================================================================
   LIVE SEARCH AUTOCOMPLETE DROPDOWN
   ========================================================================== */
.search-suggest-box {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  z-index: 1060;
  max-height: 420px;
  overflow-y: auto;
  display: none;
  padding: 6px 0 0 0;
}

.search-suggest-box.active {
  display: block;
}

.suggest-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 14px;
  text-decoration: none;
  color: #1e293b;
  transition: background-color 0.15s ease;
  border-bottom: 1px solid #f1f5f9;
}

.suggest-item:hover,
.suggest-item.selected {
  background-color: #f8fafc;
  color: #0f172a;
}

.suggest-thumb {
  width: 36px;
  height: 48px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid #e2e8f0;
  flex-shrink: 0;
  background-color: #f1f5f9;
}

.suggest-info {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.suggest-title {
  font-size: 13.5px;
  font-weight: 600;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
  line-height: 1.3;
}

.suggest-author {
  font-size: 11.5px;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}

.suggest-price {
  font-size: 13px;
  font-weight: 700;
  color: #10b981;
  white-space: nowrap;
  text-align: right;
  flex-shrink: 0;
}

.suggest-price .old-price {
  font-size: 11px;
  color: #94a3b8;
  text-decoration: line-through;
  margin-left: 4px;
  font-weight: 400;
}

.suggest-loading,
.suggest-empty {
  padding: 14px 16px;
  text-align: center;
  font-size: 13px;
  color: #64748b;
}

.suggest-footer {
  padding: 10px 14px;
  background-color: #f8fafc;
  border-top: 1px solid #e2e8f0;
  text-align: center;
}

.suggest-footer a {
  font-size: 13px;
  font-weight: 600;
  color: var(--clr-primary, #d97706);
  text-decoration: none;
}

.suggest-footer a:hover {
  text-decoration: underline;
}