/* 
  =========================================
  VIDHYA BOOK STORE & STATIONERY
  Airbnb Design System & Theme Stylesheet
  =========================================
*/

/* Google Fonts Import Map: 
   Inter & Plus Jakarta Sans as fallbacks for Airbnb Cereal VF
*/
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* --- AIRBNB DESIGN SYSTEM TOKENS --- */
:root {
  /* Brand & Accent */
  --primary: #ff385c;            /* Rausch */
  --primary-active: #e00b41;     /* Rausch Active */
  --primary-disabled: #ffd1da;   /* Rausch Disabled */
  --primary-dark: #222222;       /* Deep Ink for high contrast elements */
  --accent: #ff385c;
  --accent-dark: #e00b41;
  --accent-light: rgba(255, 56, 92, 0.08);
  --luxe: #460479;               /* Luxe Purple */
  --plus: #92174d;               /* Plus Magenta */

  /* Surface Tokens */
  --canvas: #ffffff;
  --bg-white: #ffffff;
  --surface-soft: #f7f7f7;
  --surface-strong: #f2f2f2;
  --bg-light: #f7f7f7;
  --bg-dark: #222222;

  /* Hairlines & Borders */
  --hairline: #dddddd;
  --hairline-soft: #ebebeb;
  --border-strong: #c1c1c1;
  --border-color: #dddddd;
  --border-light: #ebebeb;

  /* Typography / Text Tokens */
  --ink: #222222;
  --text-dark: #222222;
  --body: #3f3f3f;
  --muted: #6a6a6a;
  --text-muted: #6a6a6a;
  --muted-soft: #929292;
  --star-rating: #222222;
  --on-primary: #ffffff;
  --text-white: #ffffff;
  --error: #c13515;
  --error-hover: #b32505;

  /* Radii Tokens */
  --radius-sm: 8px;              /* rounded.sm: Buttons & Inputs */
  --radius-md: 14px;             /* rounded.md: Property & Host Cards */
  --radius-lg: 20px;             /* rounded.lg: Modals */
  --radius-xl: 32px;             /* rounded.xl: Category strip pills */
  --radius-full: 9999px;         /* rounded.full: Search bar, Search orb, Badges */

  /* Single Airbnb Elevation Shadow Tier */
  --shadow-airbnb: rgba(0, 0, 0, 0.02) 0 0 0 1px, rgba(0, 0, 0, 0.04) 0 2px 6px 0, rgba(0, 0, 0, 0.1) 0 4px 8px 0;
  --shadow-sm: rgba(0, 0, 0, 0.02) 0 0 0 1px, rgba(0, 0, 0, 0.04) 0 2px 6px 0;
  --shadow-md: rgba(0, 0, 0, 0.02) 0 0 0 1px, rgba(0, 0, 0, 0.04) 0 2px 6px 0, rgba(0, 0, 0, 0.1) 0 4px 8px 0;
  --shadow-lg: rgba(0, 0, 0, 0.04) 0 0 0 1px, rgba(0, 0, 0, 0.08) 0 4px 12px 0, rgba(0, 0, 0, 0.15) 0 8px 20px 0;

  /* Font Family Stack */
  --font-sans: "Airbnb Cereal VF", Circular, -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Inter, sans-serif;
  --font-serif: "Airbnb Cereal VF", Circular, -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Inter, sans-serif;

  /* Layout Constraints */
  --max-width: 1280px;
  --header-height: 80px;
}

/* --- RESET & BASE STYLES --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

section, [id] {
  scroll-margin-top: calc(var(--header-height, 80px) + 16px);
}

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background-color: var(--canvas);
  line-height: 1.5;
  overflow-x: hidden;
}

/* Airbnb Typography Presets */
h1, h2, h3, h4, h5, h6 {
  color: var(--ink);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(1.65rem, 3.5vw, 1.75rem); /* 28px Airbnb Display XL */
  font-weight: 700;
  line-height: 1.43;
}

h2.section-title {
  font-size: clamp(1.25rem, 2.5vw, 1.35rem); /* 21px / 22px Airbnb Display MD */
  font-weight: 700;
  color: var(--ink);
  text-align: center;
  position: relative;
  margin-bottom: 12px;
}

h2.section-title span {
  position: relative;
  display: inline-block;
}

h2.section-title span::after {
  content: '';
  display: none;
}

p.section-subtitle {
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem; /* 15px / 16px Airbnb Body MD */
  max-width: 640px;
  margin: 0 auto clamp(24px, 4vw, 36px);
  line-height: 1.5;
}

.section-padding {
  padding-top: clamp(45px, 6.5vw, 70px);
  padding-bottom: clamp(45px, 6.5vw, 70px);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

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

ul {
  list-style: none;
}

/* --- LAYOUT UTILITIES --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section-padding {
  padding-top: clamp(60px, 10vw, 100px);
  padding-bottom: clamp(60px, 10vw, 100px);
}

.bg-light {
  background-color: var(--bg-light);
}

.bg-gradient-blue {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #0d1a42 100%);
  color: var(--text-white);
}

/* --- AIRBNB BUTTONS & INTERACTIVES --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  height: 48px;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.25;
  border-radius: var(--radius-sm); /* 8px Airbnb rounded.sm */
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  gap: 8px;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  font-family: var(--font-sans);
}

/* button-primary: Rausch fill, white text, 8px radius */
.btn-primary {
  background-color: var(--primary);
  color: var(--on-primary);
  border-color: var(--primary);
}

.btn-primary:hover,
.btn-primary:active {
  background-color: var(--primary-active);
  border-color: var(--primary-active);
  transform: none;
}

.btn-primary:disabled {
  background-color: var(--primary-disabled);
  border-color: var(--primary-disabled);
  cursor: not-allowed;
}

/* button-secondary: White fill with ink text and 1px ink outline */
.btn-secondary,
.btn-outline {
  background-color: var(--canvas);
  color: var(--ink);
  border: 1px solid var(--ink);
  border-radius: var(--radius-sm);
}

.btn-secondary:hover,
.btn-outline:hover {
  background-color: var(--surface-soft);
  color: var(--ink);
}

/* button-tertiary-text: Plain ink text, no surface, no border */
.btn-tertiary-text {
  background: transparent;
  border: none;
  color: var(--ink);
  padding: 0;
  height: auto;
  font-weight: 500;
  text-decoration: none;
}

.btn-tertiary-text:hover {
  text-decoration: underline;
}

/* button-pill-rausch: Pill-shaped Rausch CTA */
.btn-pill-rausch {
  background-color: var(--primary);
  color: var(--on-primary);
  border-radius: var(--radius-full);
  padding: 10px 20px;
  font-size: 0.875rem;
  font-weight: 600;
}

.btn-whatsapp {
  background-color: #25D366;
  color: var(--text-white);
  border-color: #25D366;
  border-radius: var(--radius-sm);
}

.btn-whatsapp:hover {
  background-color: #20BA56;
  border-color: #20BA56;
  color: var(--text-white);
  transform: translateY(-2px);
}

.btn-outline-white {
  background-color: transparent;
  color: var(--text-white);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline-white:hover {
  background-color: var(--text-white);
  color: var(--primary-dark);
  border-color: var(--text-white);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

/* Badge System */
.badge {
  display: inline-block;
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.badge-primary {
  background-color: rgba(33, 61, 143, 0.1);
  color: var(--primary);
}

.badge-accent {
  background-color: rgba(252, 209, 22, 0.2);
  color: var(--accent-dark);
}

/* --- AIRBNB TOP NAVIGATION (TOP-NAV) --- */
.header-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.2s ease;
  background-color: var(--canvas);
  border-bottom: 1px solid var(--hairline);
}

.header-container.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--hairline);
  box-shadow: var(--shadow-sm);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-icon {
  width: 34px;
  height: 34px;
}

.brand-logo-mark {
  flex-shrink: 0;
  display: block;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), filter 0.25s ease;
}

.logo-link:hover .brand-logo-mark {
  transform: scale(1.06);
  filter: drop-shadow(0 4px 12px rgba(255, 56, 92, 0.3));
}

.logo-text-main {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--primary);
  line-height: 1;
}

.logo-text-sub {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--muted);
}

@media (min-width: 992px) {
  .hamburger {
    display: none !important;
  }

  .nav-menu {
    display: flex !important;
    flex-direction: row !important;
    position: static !important;
    width: auto !important;
    height: auto !important;
    background: transparent !important;
    padding: 0 !important;
    gap: 28px !important;
    box-shadow: none !important;
    border: none !important;
    animation: none !important;
  }

  .nav-menu li {
    display: inline-block !important;
    width: auto !important;
  }

  .nav-link {
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.25;
    color: var(--ink) !important;
    position: relative;
    padding: 10px 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    width: auto !important;
  }

  .nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--ink);
    transition: width 0.2s ease;
    display: block !important;
  }

  .nav-link:hover::after,
  .nav-link.active::after {
    width: 100% !important;
  }

  .new-tag {
    font-size: 8px !important;
    font-weight: 700 !important;
    letter-spacing: 0.32px !important;
    text-transform: uppercase !important;
    background-color: var(--primary) !important;
    color: #ffffff !important;
    padding: 2px 6px !important;
    border-radius: var(--radius-full) !important;
    line-height: 1.25 !important;
    margin-left: 4px !important;
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Mobile Drawer Hamburger Button */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  margin-bottom: 6px;
  background-color: var(--text-dark);
  transition: var(--transition-fast);
}

.hamburger span:last-child {
  margin-bottom: 0;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* --- SECTION 1: HERO --- */
.hero {
  position: relative;
  padding-top: calc(var(--header-height) + 30px);
  padding-bottom: 40px;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: radial-gradient(circle at 80% 20%, rgba(33, 61, 143, 0.03) 0%, rgba(255,255,255,0) 50%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-title {
  margin-bottom: 20px;
  color: var(--primary-dark);
}

.hero-title span {
  color: var(--primary);
  position: relative;
  display: inline-block;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--muted);
  margin-bottom: 24px;
  max-width: 540px;
}

/* --- AIRBNB GLOBAL SEARCH BAR PILL --- */
.search-bar-pill {
  display: flex;
  align-items: center;
  background-color: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-full); /* 9999px rounded.full */
  box-shadow: var(--shadow-airbnb);
  height: 64px;
  padding: 8px 8px 8px 24px;
  margin-bottom: 32px;
  width: 100%;
  max-width: 720px;
  position: relative;
  transition: box-shadow 0.2s ease;
}

.search-bar-pill:hover {
  box-shadow: rgba(0, 0, 0, 0.04) 0 0 0 1px, rgba(0, 0, 0, 0.08) 0 4px 12px 0, rgba(0, 0, 0, 0.15) 0 8px 20px 0;
}

.search-segment {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  padding: 0 16px;
  cursor: pointer;
}

.search-segment-label {
  font-size: 11px; /* caption-sm */
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink);
  text-transform: uppercase;
  line-height: 1.2;
}

.search-segment-input,
.search-segment-select {
  border: none;
  background: transparent;
  font-size: 14px;
  font-family: var(--font-sans);
  color: var(--ink);
  outline: none;
  width: 100%;
  padding: 2px 0;
}

.search-segment-input::placeholder {
  color: var(--muted);
}

.search-segment-val {
  font-size: 14px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-divider {
  width: 1px;
  height: 32px;
  background-color: var(--hairline);
  flex-shrink: 0;
}

/* Rausch Search Orb */
.search-orb {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background-color: var(--primary); /* #ff385c Rausch */
  color: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.search-orb:hover {
  background-color: var(--primary-active);
  transform: scale(1.04);
}

.hero-ctas {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.hero-badges {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 24px;
}

.hero-badge-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-badge-icon {
  width: 20px;
  height: 20px;
  color: var(--primary);
  flex-shrink: 0;
}

.hero-badge-text {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* Hero Collage Layout */
.hero-visual {
  position: relative;
  height: 480px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.collage-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.collage-img {
  position: absolute;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--text-white);
  transition: var(--transition-normal);
}

.collage-img:hover {
  transform: scale(1.03) translateY(-4px);
  z-index: 10 !important;
  box-shadow: var(--shadow-xl);
}

.collage-main {
  width: 65%;
  height: 70%;
  left: 0;
  top: 15%;
  z-index: 2;
}

.collage-sec {
  width: 45%;
  height: 50%;
  right: 0;
  top: 0;
  z-index: 1;
}

.collage-tert {
  width: 45%;
  height: 45%;
  right: 5%;
  bottom: 0;
  z-index: 3;
}

/* Floating Book Elements */
.floating-book {
  position: absolute;
  width: 90px;
  height: 125px;
  background-color: var(--text-white);
  border-radius: 4px 8px 8px 4px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  padding: 10px;
  font-size: 0.6rem;
  font-weight: 800;
  justify-content: space-between;
  transition: var(--transition-normal);
  animation: floatUpDown 6s ease-in-out infinite;
  z-index: 5;
}

.floating-book::before {
  content: '';
  position: absolute;
  top: 0;
  left: 4px;
  width: 2px;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.1);
}

.floating-book-1 {
  left: -20px;
  top: 5%;
  transform: rotate(-12deg);
  background: linear-gradient(135deg, #1e3a8a, #3b82f6);
  color: var(--text-white);
  animation-delay: 0s;
}

.floating-book-2 {
  right: -10px;
  bottom: 25%;
  transform: rotate(15deg);
  background: linear-gradient(135deg, #7c2d12, #ea580c);
  color: var(--text-white);
  animation-delay: 1.5s;
}

.floating-book-label {
  font-size: 0.5rem;
  background-color: rgba(255, 255, 255, 0.2);
  padding: 2px 4px;
  border-radius: 2px;
  align-self: flex-start;
  text-transform: uppercase;
}

.floating-book-title {
  margin-top: 10px;
  font-size: 0.65rem;
  line-height: 1.2;
}

.floating-book-author {
  font-size: 0.45rem;
  opacity: 0.8;
  align-self: flex-end;
}

@keyframes floatUpDown {
  0%, 100% {
    transform: translateY(0) rotate(-12deg);
  }
  50% {
    transform: translateY(-15px) rotate(-10deg);
  }
}

.floating-book-2 {
  animation: floatUpDownAlt 6s ease-in-out infinite;
}

@keyframes floatUpDownAlt {
  0%, 100% {
    transform: translateY(0) rotate(15deg);
  }
  50% {
    transform: translateY(-20px) rotate(18deg);
  }
}

/* --- SECTION 2: WHY CHOOSE US --- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.why-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 36px;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.why-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(33, 61, 143, 0.15);
}

.why-icon-wrap {
  width: 48px;
  height: 48px;
  background-color: rgba(33, 61, 143, 0.05);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  margin-bottom: 24px;
  transition: var(--transition-fast);
}

.why-card:hover .why-icon-wrap {
  background-color: var(--primary);
  color: var(--text-white);
  transform: scale(1.05);
}

.why-icon {
  width: 24px;
  height: 24px;
}

.why-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.why-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* --- SECTION 3: ABOUT DETAIL --- */
.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 80px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  width: 100%;
  object-fit: cover;
  height: 450px;
}

.about-experience-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--primary);
  color: var(--text-white);
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--text-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-width: 150px;
}

.about-experience-years {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.about-experience-text {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 4px;
}

.about-content h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 2.5rem);
  color: var(--primary-dark);
  margin-bottom: 24px;
}

.about-content p {
  color: var(--text-muted);
  margin-bottom: 24px;
  font-size: 1rem;
  line-height: 1.7;
}

.about-bullets {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 24px;
}

.about-bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.about-bullet-icon {
  width: 18px;
  height: 18px;
  color: var(--success);
  margin-top: 3px;
  flex-shrink: 0;
}

.about-bullet-text {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
}

/* --- SECTION 4: CATEGORIES GRID --- */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.category-card {
  position: relative;
  height: 220px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  cursor: pointer;
  transition: var(--transition-normal);
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.1) 0%, rgba(15, 23, 42, 0.85) 100%);
  z-index: 1;
  transition: var(--transition-normal);
}

.category-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.category-card:hover .category-card-bg {
  transform: scale(1.08);
}

.category-card:hover::before {
  background: linear-gradient(180deg, rgba(33, 61, 143, 0.2) 0%, rgba(18, 36, 92, 0.95) 100%);
}

.category-content {
  position: relative;
  z-index: 2;
  color: var(--text-white);
}

.category-title {
  font-size: 1.35rem;
  color: var(--text-white);
  margin-bottom: 4px;
  font-family: var(--font-serif);
}

.category-count {
  font-size: 0.8rem;
  font-weight: 500;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
}

/* --- SECTION 5: FEATURED BOOKS --- */
.books-carousel-wrapper {
  position: relative;
  width: 100%;
}

.books-slider {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 24px;
  padding-top: 12px;
}

.books-slider::-webkit-scrollbar {
  display: none;
}

.book-card {
  flex: 0 0 calc(25% - 22.5px);
  min-width: 270px;
  scroll-snap-align: start;
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.book-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(33, 61, 143, 0.12);
}

.book-img-box {
  position: relative;
  height: 300px;
  background-color: var(--bg-light);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px;
  overflow: hidden;
}

.book-cover {
  max-height: 100%;
  object-fit: contain;
  transition: var(--transition-normal);
  filter: drop-shadow(0 8px 16px rgba(15, 23, 42, 0.12));
}

.book-card:hover .book-cover {
  transform: scale(1.04) rotate(1deg);
}

.book-discount-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background-color: var(--danger);
  color: var(--text-white);
  padding: 4px 8px;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 4px;
  letter-spacing: 0.02em;
}

.book-ribbon {
  position: absolute;
  top: 14px;
  right: 14px;
  background-color: var(--primary);
  color: var(--text-white);
  padding: 4px 8px;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 4px;
}

.book-ribbon.bestseller {
  background-color: #F59E0B;
}

.book-details {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.book-category {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.book-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.35;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.7rem;
}

.book-author {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.book-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 16px;
}

.star-icon {
  width: 14px;
  height: 14px;
  fill: var(--accent);
  color: var(--accent);
}

.rating-value {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-dark);
}

.rating-count {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.book-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

.price-box {
  display: flex;
  flex-direction: column;
}

.price-now {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-dark);
}

.price-was {
  font-size: 0.88rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.book-action-btn {
  width: 40px;
  height: 40px;
  background-color: var(--bg-light);
  color: var(--primary);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.book-action-btn:hover {
  background-color: var(--primary);
  color: var(--text-white);
  transform: scale(1.05);
}

.book-action-icon {
  width: 18px;
  height: 18px;
}

/* Slider Navigation Controls */
.slider-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
}

.slider-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background-color: var(--bg-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.slider-btn:hover {
  background-color: var(--primary);
  color: var(--text-white);
  border-color: var(--primary);
}

.slider-btn-icon {
  width: 20px;
  height: 20px;
}

/* --- SECTION 6: STORE GALLERY --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 300px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  border: 1px solid var(--border-color);
}

.gallery-item:first-child {
  grid-column: span 2;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(33, 61, 143, 0.4);
  opacity: 0;
  transition: var(--transition-normal);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  z-index: 2;
}

.gallery-overlay-icon {
  width: 36px;
  height: 36px;
  transform: scale(0.8);
  transition: var(--transition-normal);
}

.gallery-item:hover .gallery-img {
  transform: scale(1.06);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item:hover .gallery-overlay-icon {
  transform: scale(1);
}

/* Lightbox Modal Styles */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(9, 14, 26, 0.95);
  backdrop-filter: blur(8px);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-normal);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px;
}

.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  position: relative;
  max-width: 1000px;
  max-height: 80vh;
  box-shadow: var(--shadow-xl);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 4px solid var(--text-white);
  transform: scale(0.95);
  transition: var(--transition-normal);
}

.lightbox.active .lightbox-content {
  transform: scale(1);
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: -60px;
  right: 0;
  background: none;
  border: none;
  color: var(--text-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 1rem;
}

.lightbox-close-icon {
  width: 24px;
  height: 24px;
}

/* --- SECTION 7: OUR SERVICES --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.service-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 40px;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(33, 61, 143, 0.1);
}

.service-card:hover::after {
  transform: scaleX(1);
}

.service-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background-color: rgba(33, 61, 143, 0.05);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
}

.service-icon {
  width: 26px;
  height: 26px;
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 14px;
  font-family: var(--font-serif);
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* --- SECTION 8: WHY STUDENTS LOVE US --- */
.testimonials-section {
  overflow: hidden;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.testimonials-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.google-rating-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  padding: 30px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  margin-bottom: 24px;
}

.google-logo {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.google-g { color: #4285F4; }
.google-o1 { color: #EA4335; }
.google-o2 { color: #FBBC05; }
.google-l { color: #34A853; }
.google-e { color: #EA4335; }

.google-rating-score {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.google-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 12px;
}

.google-stars .star-icon {
  width: 18px;
  height: 18px;
}

.google-reviews-count {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Testimonials Carousel Controls */
.testimonial-carousel-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 10px 0;
}

.testimonial-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  gap: 30px;
}

.testimonial-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
}

.testimonial-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.testimonial-quote {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--text-dark);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 30px;
}

.testimonial-author-box {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--primary-light);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.testimonial-author-info h4 {
  font-size: 1rem;
  color: var(--text-dark);
  font-weight: 700;
}

.testimonial-author-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 2px;
}

.testimonial-dots {
  display: flex;
  gap: 8px;
  margin-top: 24px;
}

.testimonial-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--border-color);
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
}

.testimonial-dot.active {
  background-color: var(--primary);
  width: 24px;
  border-radius: 4px;
}

/* --- SECTION 9: NUMBERS BANNER --- */
.stats-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #0c1a40 100%);
  color: var(--text-white);
  padding: 80px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 12px;
}

.stat-label {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.8);
}

/* --- SECTION 10: SPECIAL OFFERS --- */
.offers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.offer-card {
  border-radius: var(--radius-lg);
  padding: 50px;
  color: var(--text-white);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 320px;
  box-shadow: var(--shadow-lg);
}

.offer-card-1 {
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
}

.offer-card-2 {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.offer-sparkles {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 2.5rem;
  opacity: 0.15;
}

.offer-badge {
  background-color: var(--accent);
  color: var(--text-dark);
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  align-self: flex-start;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}

.offer-card h3 {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  color: var(--text-white);
  margin-bottom: 12px;
}

.offer-card p {
  opacity: 0.9;
  font-size: 1rem;
  margin-bottom: 32px;
  max-width: 400px;
}

.offer-footer {
  margin-top: auto;
}

/* --- SECTION 11: VISIT OUR STORE --- */
.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.visit-info-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  padding: 48px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.visit-info-card h3 {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: var(--primary-dark);
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 16px;
}

.visit-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 36px;
}

.visit-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.visit-detail-icon {
  width: 22px;
  height: 22px;
  color: var(--primary);
  margin-top: 2px;
  flex-shrink: 0;
}

.visit-detail-text h4 {
  font-size: 1rem;
  color: var(--text-dark);
  font-weight: 700;
  margin-bottom: 4px;
}

.visit-detail-text p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.visit-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--text-white);
  height: 480px;
  position: relative;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* --- SECTION 12: FAQ ACCORDION --- */
.faq-container {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.faq-item {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  overflow: hidden;
  transition: var(--transition-fast);
}

.faq-item:hover {
  border-color: rgba(33, 61, 143, 0.2);
}

.faq-header {
  width: 100%;
  background: none;
  border: none;
  padding: 24px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
}

.faq-header h3 {
  font-size: 1.1rem;
  color: var(--text-dark);
  font-weight: 600;
  transition: var(--transition-fast);
}

.faq-item.active .faq-header h3 {
  color: var(--primary);
}

.faq-chevron {
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  transition: transform var(--transition-fast);
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-content-inner {
  padding: 0 30px 24px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  border-top: 1px solid transparent;
}

.faq-item.active .faq-content-inner {
  border-top-color: var(--border-light);
}

/* --- SECTION 13: CALL TO ACTION BANNER --- */
.cta-banner {
  border-radius: var(--radius-lg);
  padding: 80px 60px;
  text-align: center;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.cta-banner-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
}

.cta-banner h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  color: var(--text-white);
  margin-bottom: 16px;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(1rem, 2vw, 1.15rem);
  margin-bottom: 40px;
}

.cta-banner-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Decorative backdrop blur balls */
.cta-bg-blur {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: var(--primary-light);
  filter: blur(120px);
  opacity: 0.3;
}

.cta-bg-blur-1 {
  top: -100px;
  left: -100px;
}

.cta-bg-blur-2 {
  bottom: -100px;
  right: -100px;
}

/* --- AIRBNB FOOTER (FOOTER-LIGHT & LEGAL BAND) --- */
.footer {
  background-color: var(--canvas); /* Airbnb pure white canvas footer */
  color: var(--ink);
  padding-top: 48px;
  border-top: 1px solid var(--hairline);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--hairline);
}

.footer-col h3 {
  color: var(--ink);
  font-size: 16px; /* 16px title-sm */
  font-weight: 600;
  margin-bottom: 16px;
  line-height: 1.25;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.footer-logo-icon {
  width: 28px;
  height: 28px;
  color: var(--primary);
}

.footer-logo-text {
  font-family: var(--font-sans);
  color: var(--primary);
  font-size: 1.15rem;
  font-weight: 800;
}

.footer-about-text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.43;
  margin-bottom: 16px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.social-icon-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--surface-soft);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
}

.social-icon-btn:hover {
  background-color: var(--hairline);
  color: var(--ink);
}

.social-icon {
  width: 16px;
  height: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  font-size: 14px; /* 14px typography.body-sm */
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1.43;
}

.footer-link:hover {
  color: var(--ink);
  text-decoration: underline;
  transform: none;
}

.footer-link-icon {
  width: 12px;
  height: 12px;
  opacity: 0.6;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
}

.footer-contact-icon {
  width: 16px;
  height: 16px;
  color: var(--ink);
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-contact-item a:hover {
  color: var(--accent);
}

/* Footer Mid - Payment details */
.footer-mid {
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-mid-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.payment-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}

.payment-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.payment-badge {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  padding: 4px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: 0.02em;
}

.secure-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--success);
  font-weight: 600;
}

.secure-badge-icon {
  width: 16px;
  height: 16px;
}

/* Footer Bottom - Copyright */
.footer-bottom {
  padding: 24px 0;
  font-size: 0.8rem;
}

.footer-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-link:hover {
  color: var(--text-white);
}

.footer-badge-indore {
  background-color: rgba(252, 209, 22, 0.1);
  color: var(--accent);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
}

/* --- MOBILE FAB / BUTTONS --- */
.mobile-fab-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}

.fab {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.2);
  transition: var(--transition-normal);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
}

.fab:hover {
  transform: scale(1.1) translateY(-2px);
}

.fab-call {
  background-color: var(--primary);
}

.fab-whatsapp {
  background-color: #25D366;
}

.fab-icon {
  width: 22px;
  height: 22px;
}

/* Mobile Bottom Navigation Bar (App style on small devices) */
.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 64px;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-color);
  box-shadow: 0 -4px 16px rgba(15, 23, 42, 0.05);
  display: none;
  z-index: 998;
}

.mobile-nav-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 100%;
  align-items: center;
  max-width: 480px;
  margin: 0 auto;
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-muted);
  gap: 4px;
}

.mobile-nav-item.active {
  color: var(--primary);
}

.mobile-nav-icon {
  width: 20px;
  height: 20px;
}

/* --- ACCESSIBILITY FOCUS INDICATOR --- */
button:focus-visible,
a:focus-visible,
select:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* --- RESPONSIVE MEDIA QUERIES --- */

/* Laptops / Desktops */
@media (max-width: 1200px) {
  .nav-menu {
    gap: 16px;
  }
  
  .nav-link {
    font-size: 0.9rem;
  }
  
  .header-actions {
    gap: 8px;
  }
  
  .btn-sm {
    padding: 8px 12px;
    font-size: 0.8rem;
  }
  
  .logo-text-main {
    font-size: 1.15rem;
  }
  
  .hero-grid {
    gap: 40px;
  }
  
  .about-grid {
    gap: 40px;
  }
  
  .gallery-grid {
    gap: 16px;
  }
  
  .gallery-item {
    height: 240px;
  }
  
  .footer-top {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
  
  .footer-col:last-child {
    grid-column: span 3;
    margin-top: 20px;
  }
}

/* Tablets */
@media (max-width: 991px) {
  :root {
    --header-height: 70px;
  }
  
  .navbar {
    height: var(--header-height);
  }
  
  .nav-menu {
    display: none !important;
  }
  
  /* Show Mobile Hamburger */
  .hamburger {
    display: block !important;
    z-index: 100001 !important;
  }
  
  /* Mobile Navigation Drawer Overlay */
  .nav-menu.mobile-active {
    display: flex !important;
    flex-direction: column !important;
    position: fixed !important;
    top: var(--header-height, 70px) !important;
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    height: calc(100vh - var(--header-height, 70px)) !important;
    background-color: #ffffff !important;
    padding: 24px 20px 40px !important;
    gap: 12px !important;
    z-index: 99999 !important;
    overflow-y: auto !important;
    border-top: 1px solid var(--hairline) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
    animation: slideDownMenu 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
  }
  
  @keyframes slideDownMenu {
    from {
      opacity: 0;
      transform: translateY(-8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .nav-menu.mobile-active li {
    width: 100% !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
  }

  .nav-menu.mobile-active .nav-link {
    font-size: 1.05rem !important;
    font-weight: 600 !important;
    color: var(--ink) !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 14px 20px !important;
    border-radius: var(--radius-sm) !important; /* 8px rounded.sm */
    background-color: var(--surface-soft) !important;
    border: 1px solid var(--hairline) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
  }
  
  .nav-menu.mobile-active .nav-link:hover,
  .nav-menu.mobile-active .nav-link.active {
    background-color: var(--surface-strong) !important;
    color: var(--primary) !important;
    border-color: var(--primary-disabled) !important;
  }
  
  .nav-menu.mobile-active .nav-link::after {
    display: none !important;
  }

  .nav-menu.mobile-active .new-tag {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 9px !important;
    font-weight: 700 !important;
    letter-spacing: 0.32px !important;
    text-transform: uppercase !important;
    background-color: var(--primary) !important;
    color: #ffffff !important;
    padding: 4px 10px !important;
    border-radius: var(--radius-full) !important;
    line-height: 1 !important;
    flex-shrink: 0 !important;
    margin-left: 12px !important;
  }
  
  .header-actions {
    display: none;
  }
  
  /* Hero section adjustments */
  .hero {
    padding-top: calc(var(--header-height) + 40px);
    padding-bottom: 60px;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
  }
  
  .hero-content {
    align-items: center;
  }
  
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-ctas {
    justify-content: center;
    width: 100%;
  }
  
  .hero-badges {
    width: 100%;
    max-width: 450px;
  }
  
  .hero-visual {
    height: 380px;
    order: -1; /* Image first on mobile */
  }
  
  .collage-main {
    height: 75%;
  }
  
  .collage-sec {
    height: 55%;
  }
  
  .collage-tert {
    height: 50%;
  }
  
  /* About section adjustments */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .about-visual {
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
  }
  
  .about-img {
    height: 350px;
  }
  
  /* Books Slider */
  .book-card {
    flex: 0 0 calc(50% - 15px);
  }
  
  /* Gallery Masonry Grid to simple layout */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .gallery-item:first-child {
    grid-column: auto;
  }
  
  /* Testimonials Grid */
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  /* Stats grid */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  
  /* Offers grid */
  .offers-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  /* Visit grid */
  .visit-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .map-wrapper {
    height: 350px;
  }
  
  .visit-info-card {
    padding: 30px;
  }
  
  /* Footer layout */
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-col:first-child {
    grid-column: span 2;
  }
  
  .footer-col:last-child {
    grid-column: span 2;
  }
}

/* Small Mobiles */
@media (max-width: 480px) {
  body {
    padding-bottom: 64px; /* Space for mobile navigation bar */
  }
  
  .mobile-bottom-nav {
    display: block; /* Show mobile bottom navbar */
  }
  
  .mobile-fab-container {
    bottom: 80px; /* Shift FABs up to avoid blocking bottom nav */
  }
  
  .hero-visual {
    height: 280px;
  }
  
  .floating-book {
    width: 70px;
    height: 98px;
    padding: 8px;
  }
  
  .hero-ctas {
    flex-direction: column;
    width: 100%;
    align-items: stretch;
  }
  
  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
  }
  
  .about-bullets {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .about-experience-badge {
    position: relative;
    bottom: 0;
    right: 0;
    margin: 24px auto 0;
    max-width: 200px;
    border-radius: var(--radius-md);
    border: 3px solid var(--text-white);
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-item {
    height: 220px;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .offer-card {
    padding: 30px;
    min-height: 280px;
  }
  
  .cta-banner {
    padding: 60px 24px;
  }
  
  .faq-header {
    padding: 16px 20px;
  }
  
  .faq-header h3 {
    font-size: 0.98rem;
    line-height: 1.4;
  }
  
  .faq-content-inner {
    padding: 16px 20px;
    font-size: 0.88rem;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
  }
  
  .footer-col:first-child,
  .footer-col:last-child {
    grid-column: auto;
  }
}

/* --- TRUST STRIP BANNER --- */
.trust-strip {
  background-color: var(--primary-dark);
  color: var(--text-white);
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow-x: auto;
  scrollbar-width: none;
}

.trust-strip::-webkit-scrollbar {
  display: none;
}

.trust-strip-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  min-width: max-content;
  width: 100%;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.trust-check {
  color: var(--accent);
  font-weight: 800;
}

/* --- SCROLL PROGRESS INDICATOR --- */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background-color: var(--accent);
  width: 0%;
  z-index: 10001;
  transition: width 0.05s linear;
}

/* --- PROFESSIONAL LOADER OVERLAY --- */
.loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg-white);
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.loader-overlay.fade-out {
  opacity: 0;
  visibility: hidden;
}

.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.loader-logo-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  animation: pulseLogo 2s ease-in-out infinite;
}

.loader-logo-icon {
  width: 54px;
  height: 54px;
  color: var(--primary);
}

.loader-logo-text {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--primary);
}

.loader-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid rgba(33, 61, 143, 0.08);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spinLoader 0.8s linear infinite;
}

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

@keyframes pulseLogo {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.96); opacity: 0.85; }
}

/* --- BACK TO TOP BUTTON --- */
.back-to-top-btn {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 44px;
  height: 44px;
  background-color: var(--primary);
  color: var(--text-white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 998;
}

.back-to-top-btn.active {
  opacity: 1;
  visibility: visible;
}

.back-to-top-btn:hover {
  background-color: var(--primary-dark);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* --- BRANDS SECTION --- */
.brands-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  overflow-x: auto;
  scrollbar-width: none;
}

.brands-grid::-webkit-scrollbar {
  display: none;
}

.brand-item {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: #94A3B8;
  white-space: nowrap;
  transition: var(--transition-fast);
  min-width: 110px;
  text-align: center;
}

.brand-item:hover {
  color: var(--primary);
  transform: scale(1.05);
}



/* --- GOOGLE MAPS DIRECTIONS FAB --- */
.fab-directions {
  background: linear-gradient(135deg, #4285F4 0%, #1A73E8 100%);
  box-shadow: 0 6px 20px rgba(66, 133, 244, 0.45);
  border: 1.5px solid #ffffff;
}

.fab-directions:hover {
  background: linear-gradient(135deg, #1A73E8 0%, #1557B0 100%);
  box-shadow: 0 10px 28px rgba(66, 133, 244, 0.6);
  transform: scale(1.12) translateY(-3px);
}

.fab-directions:hover .google-maps-pin {
  animation: googlePinBounce 0.6s ease infinite alternate;
}

@keyframes googlePinBounce {
  0% { transform: translateY(0); }
  100% { transform: translateY(-3px); }
}

/* FAB tooltip styles */
.fab {
  position: relative;
}

.fab::before {
  content: attr(data-tooltip);
  position: absolute;
  right: 64px;
  top: 50%;
  transform: translateY(-50%) scale(0.85);
  background-color: #0f172a;
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
  z-index: 10002;
}

.fab:hover::before {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

/* Testimonial Quote icon mark background */
.testimonial-card {
  position: relative;
  overflow: hidden;
}

.quote-icon {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 8rem;
  font-family: var(--font-serif);
  color: rgba(33, 61, 143, 0.06);
  line-height: 1;
  pointer-events: none;
}



@media (max-width: 480px) {
  .back-to-top-btn {
    bottom: 80px;
  }
}


/* ==========================================================
   BESTSELLING BOOKS CATALOGUE — COMPLETE STYLES
   Premium eCommerce Design (Amazon/Flipkart/Apple inspired)
   ========================================================== */

/* --- CART BUTTON in NAVBAR --- */
.cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: var(--bg-light);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-fast);
  color: var(--primary);
  flex-shrink: 0;
}
.cart-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(33,61,143,0.25);
}
.cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  background: #EF4444;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  line-height: 1;
  animation: cartBounce 0.4s cubic-bezier(0.36, 0.07, 0.19, 0.97);
}
@keyframes cartBounce {
  0%, 100% { transform: scale(1); }
  40% { transform: scale(1.35); }
  60% { transform: scale(0.88); }
}

/* --- CATALOGUE SECTION --- */
.catalogue-section {
  background: var(--bg-white);
  position: relative;
  overflow: hidden;
}
.catalogue-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
}

.catalogue-header {
  text-align: center;
  margin-bottom: clamp(32px, 5vw, 56px);
}
.catalogue-badge {
  display: inline-block;
  background: linear-gradient(135deg, #FF6B35 0%, #FF4500 100%);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

/* --- BOOKS GRID --- */
.books-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

/* --- AIRBNB PROPERTY / BOOK CARD --- */
.book-card {
  background: var(--canvas);
  border-radius: var(--radius-md); /* 14px rounded.md */
  border: 1px solid var(--hairline);
  box-shadow: none;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  animation: fadeInUp 0.5s ease both;
}

.book-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-airbnb); /* Airbnb single shadow tier on card hover */
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Floating "Guest favorite" Badge top-left */
.book-card-stock-badge,
.guest-favorite-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 11px; /* 11px typography.badge */
  font-weight: 600;
  letter-spacing: 0;
  padding: 4px 12px;
  border-radius: var(--radius-full); /* 9999px rounded.full */
  background: #ffffff;
  color: var(--ink);
  box-shadow: var(--shadow-airbnb);
  z-index: 4;
  white-space: nowrap;
  line-height: 1.18;
}

.stock-hot {
  background: #ffffff;
  color: var(--primary); /* Rausch */
}

/* Floating Heart Save Button top-right */
.heart-save-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 4;
  transition: transform 0.2s ease;
  color: var(--ink);
}

.heart-save-btn:hover {
  transform: scale(1.1);
  background: #ffffff;
}

.heart-save-btn.saved svg {
  fill: var(--primary); /* Rausch filled when saved */
  stroke: var(--primary);
}

/* Image Area */
.book-card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1; /* 1:1 Airbnb photo ratio */
  background: var(--surface-soft);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  overflow: hidden;
  cursor: pointer;
}

.book-card-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.book-card:hover .book-card-img {
  transform: scale(1.03);
}

.book-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.book-card-category {
  font-size: 14px;
  color: var(--muted);
  font-weight: 400;
}

.book-card-title {
  font-size: 16px; /* 16px title-md */
  font-weight: 600;
  color: var(--ink);
  line-height: 1.25;
  margin-bottom: 2px;
}

.book-card-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.43;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Rating in Ink (Airbnb brand choice: star + number rendered in ink #222222) */
.book-card-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink); /* Ink star rating */
}

.book-card-pricing {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 4px;
}

.price-sale {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.price-mrp {
  font-size: 14px;
  color: var(--muted);
  text-decoration: line-through;
}

.price-save {
  font-size: 12px;
  color: var(--primary);
  font-weight: 600;
}

.book-card-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.book-card-img-overlay {
  position: absolute;
  inset: 0;
  background: rgba(33, 61, 143, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 16px 16px 0 0;
}
.book-card:hover .book-card-img-overlay {
  opacity: 1;
}
.view-text {
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.15);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255,255,255,0.3);
}

/* Placeholder Book Covers (CSS art for books without photos) */
.book-placeholder-cover {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 14px;
  position: relative;
  overflow: hidden;
  text-align: center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.book-card:hover .book-placeholder-cover {
  transform: scale(1.06);
}
.bpc-glow {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  opacity: 0.3;
  filter: blur(30px);
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
}
.book-placeholder-gold { background: linear-gradient(145deg, #2D1B00 0%, #5A3A00 60%, #2D1B00 100%); }
.book-placeholder-gold .bpc-glow { background: #FCD116; }
.book-placeholder-dark { background: linear-gradient(145deg, #0a0a0a 0%, #1a1a2e 60%, #0a0a0a 100%); }
.book-placeholder-dark .bpc-glow { background: #c89b3c; }
.book-placeholder-teal { background: linear-gradient(145deg, #003d3d 0%, #005f5f 60%, #003d3d 100%); }
.book-placeholder-teal .bpc-glow { background: #2DD4BF; }
.book-placeholder-orange { background: linear-gradient(145deg, #4a1c00 0%, #8B3A00 60%, #4a1c00 100%); }
.book-placeholder-orange .bpc-glow { background: #FB923C; }
.book-placeholder-purple { background: linear-gradient(145deg, #1e003d 0%, #3b0070 60%, #1e003d 100%); }
.book-placeholder-purple .bpc-glow { background: #A855F7; }
.book-placeholder-rose { background: linear-gradient(145deg, #3d001a 0%, #700030 60%, #3d001a 100%); }
.book-placeholder-rose .bpc-glow { background: #F43F5E; }

.bpc-title {
  font-family: var(--font-serif);
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}
.bpc-author {
  font-size: 0.62rem;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
  margin-bottom: 10px;
}
.bpc-tag {
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.9);
  position: relative;
  z-index: 1;
}

/* Card Body */
.book-card-body {
  padding: 14px 14px 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 6px;
}
.book-card-category {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--primary);
  background: rgba(33, 61, 143, 0.08);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  display: inline-block;
  width: fit-content;
}
.book-card-title {
  font-family: var(--font-sans);
  font-size: 0.87rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
  cursor: pointer;
  transition: color 0.2s;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.book-card-title:hover { color: var(--primary); }
.book-card-desc {
  font-size: 0.73rem;
  color: var(--text-muted);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.book-card-badge {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--warning);
  display: inline-block;
}

/* Pricing */
.book-card-pricing {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 2px;
}
.price-mrp {
  font-size: 0.75rem;
  color: #9CA3AF;
  text-decoration: line-through;
  font-weight: 500;
}
.price-sale {
  font-size: 1.1rem;
  font-weight: 800;
  color: #059669;
}
.price-only {
  font-size: 1.15rem;
}
.price-save {
  font-size: 0.65rem;
  font-weight: 700;
  color: #fff;
  background: #059669;
  padding: 2px 7px;
  border-radius: var(--radius-full);
}
.price-special-label {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--primary);
  background: rgba(33,61,143,0.08);
  padding: 2px 7px;
  border-radius: var(--radius-full);
}

/* Card Action Buttons */
.book-card-actions {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}
.btn-buy-now {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 9px 10px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: var(--font-sans);
  position: relative;
  overflow: hidden;
}
.btn-buy-now::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background 0.15s;
}
.btn-buy-now:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(33,61,143,0.3);
}
.btn-buy-now:active::after { background: rgba(255,255,255,0.15); }
.btn-add-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 9px 12px;
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
  border-radius: 10px;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: var(--font-sans);
  white-space: nowrap;
}
.btn-add-cart:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-1px);
}

/* --- CATALOGUE TRUST BAR --- */
.catalogue-trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 20px 32px;
  background: linear-gradient(135deg, #F8FAFC 0%, rgba(33,61,143,0.03) 100%);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  flex-wrap: wrap;
}
.ctb-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
}
.ctb-item svg { color: var(--primary); flex-shrink: 0; }


/* ==========================================================
   BOOK PRODUCT MODAL (Quick View)
   ========================================================== */
.book-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(9, 14, 26, 0.7);
  backdrop-filter: blur(6px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}
.book-modal-overlay.active { display: flex; }
.book-modal {
  background: #fff;
  border-radius: 24px;
  max-width: 860px;
  width: 100%;
  position: relative;
  box-shadow: 0 32px 80px rgba(9, 14, 26, 0.3);
  animation: modalSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  max-height: 90vh;
  overflow-y: auto;
}
@keyframes modalSlideIn {
  from { opacity: 0; transform: scale(0.93) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.book-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: var(--transition-fast);
  color: var(--text-dark);
}
.book-modal-close:hover {
  background: #EF4444;
  color: #fff;
  border-color: #EF4444;
  transform: rotate(90deg);
}
.book-modal-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
}
.book-modal-img-side {
  background: #F8FAFC;
  padding: 32px 24px 24px;
  border-right: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.book-modal-img-wrap {
  width: 100%;
  aspect-ratio: 3/4;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(15,23,42,0.1);
}
.book-modal-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
}
.book-modal-img-wrap .book-placeholder-cover {
  border-radius: 16px;
}
.book-modal-delivery {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #fff;
  border-radius: 12px;
  padding: 14px 16px;
  border: 1px solid var(--border-light);
}
.bmd-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}
.bmd-item svg { color: var(--primary); flex-shrink: 0; }
.bmd-cod { color: var(--text-dark); }
.bmd-cod strong { color: var(--primary-dark); }

.book-modal-info {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.modal-category {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  background: rgba(33,61,143,0.08);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  display: inline-block;
  width: fit-content;
}
.modal-book-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.2;
}
.modal-description {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}
.modal-features {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.modal-feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-dark);
  font-weight: 500;
}
.modal-feature-item::before {
  content: '✓';
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(16,185,129,0.1);
  color: #059669;
  font-size: 0.7rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.modal-pricing {
  background: var(--bg-light);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 4px;
}
.modal-buy, .modal-cart {
  flex: 1;
  padding: 13px 20px;
  font-size: 0.9rem;
}


/* ==========================================================
   MINI CART PANEL
   ========================================================== */
.cart-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(9, 14, 26, 0.5);
  z-index: 8000;
  backdrop-filter: blur(3px);
}
.cart-overlay.active { display: block; }
.cart-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 400px;
  max-width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 8001;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -12px 0 40px rgba(9,14,26,0.18);
}
.cart-panel.open {
  transform: translateX(0);
}
.cart-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-color);
  background: var(--primary-dark);
  color: #fff;
}
.cart-panel-header h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}
.cart-panel-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: var(--transition-fast);
}
.cart-panel-close:hover {
  background: rgba(255,255,255,0.25);
  transform: rotate(90deg);
}
.cart-items-list {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 100%;
  color: var(--text-muted);
  text-align: center;
  padding: 40px 20px;
}
.cart-empty svg { opacity: 0.25; }
.cart-empty p { font-size: 1rem; font-weight: 600; color: var(--text-dark); }
.cart-empty span { font-size: 0.85rem; }

/* Cart Item */
.cart-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--bg-light);
  border-radius: 12px;
  border: 1px solid var(--border-light);
  animation: fadeInUp 0.3s ease both;
}
.cart-item-img {
  width: 54px;
  height: 72px;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  flex-shrink: 0;
  border: 1px solid var(--border-light);
}
.cart-item-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}
.cart-item-img .book-placeholder-cover {
  border-radius: 8px;
  width: 100%;
  height: 100%;
}
.cart-item-img .bpc-title { font-size: 0.45rem; }
.cart-item-img .bpc-author, .cart-item-img .bpc-tag { display: none; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name {
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 4px;
}
.cart-item-price {
  font-size: 0.88rem;
  font-weight: 800;
  color: #059669;
}
.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
}
.qty-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid var(--border-color);
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1;
  transition: var(--transition-fast);
}
.qty-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.qty-display {
  font-size: 0.85rem;
  font-weight: 700;
  min-width: 22px;
  text-align: center;
}
.cart-item-remove {
  background: none;
  border: none;
  cursor: pointer;
  color: #9CA3AF;
  padding: 4px;
  border-radius: 6px;
  transition: var(--transition-fast);
  flex-shrink: 0;
}
.cart-item-remove:hover { color: #EF4444; background: #FEF2F2; }

/* Cart Footer */
.cart-footer {
  padding: 16px;
  border-top: 1px solid var(--border-color);
  background: var(--bg-light);
}
.cart-summary { margin-bottom: 14px; }
.cs-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}
.cs-total {
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--text-dark);
  border-top: 1px solid var(--border-color);
  margin-top: 6px;
  padding-top: 10px;
}
.cs-total span:last-child { color: var(--primary-dark); }
.cs-note {
  font-size: 0.72rem;
  color: var(--primary);
  background: rgba(33,61,143,0.06);
  padding: 8px 12px;
  border-radius: 8px;
  margin-top: 8px;
  font-weight: 500;
}
.btn-checkout {
  width: 100%;
  padding: 15px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: var(--font-sans);
}
.btn-checkout:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(33,61,143,0.3);
}


/* ==========================================================
   CHECKOUT MODAL
   ========================================================== */
.checkout-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(9, 14, 26, 0.75);
  backdrop-filter: blur(8px);
  z-index: 9998;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}
.checkout-overlay.active { display: flex; }
.checkout-modal {
  background: #fff;
  border-radius: 24px;
  max-width: 720px;
  width: 100%;
  position: relative;
  box-shadow: 0 40px 100px rgba(9,14,26,0.35);
  animation: modalSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  max-height: 92vh;
  overflow-y: auto;
}
.checkout-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: var(--transition-fast);
  color: var(--text-dark);
}
.checkout-close:hover { background: #EF4444; color: #fff; border-color: #EF4444; transform: rotate(90deg); }
.checkout-step { padding: 32px 36px 36px; }
.checkout-title {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  color: var(--primary-dark);
  margin-bottom: 4px;
}
.checkout-subtitle {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.checkout-order-summary {
  background: var(--bg-light);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 20px;
  border: 1px solid var(--border-light);
  font-size: 0.85rem;
}
.cos-row {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  color: var(--text-muted);
}
.cos-row strong { color: var(--text-dark); }
.cos-total-row {
  border-top: 1px solid var(--border-color);
  margin-top: 8px;
  padding-top: 10px;
  font-weight: 800;
  color: var(--primary-dark);
  font-size: 0.95rem;
}

/* Delivery Options */
.delivery-choice-wrap { margin-bottom: 24px; }
.delivery-choice-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.delivery-options { display: flex; gap: 12px; }
.delivery-option {
  flex: 1;
  border: 2px solid var(--border-color);
  border-radius: 14px;
  padding: 14px 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}
.delivery-option input { position: absolute; opacity: 0; pointer-events: none; }
.delivery-option.selected,
.delivery-option:has(input:checked) {
  border-color: var(--primary);
  background: rgba(33,61,143,0.04);
  box-shadow: 0 0 0 3px rgba(33,61,143,0.1);
}
.do-content {
  display: flex;
  align-items: center;
  gap: 12px;
}
.do-content svg { color: var(--primary); flex-shrink: 0; }
.do-content strong { display: block; font-size: 0.9rem; color: var(--text-dark); font-weight: 700; }
.do-content span { font-size: 0.75rem; color: var(--text-muted); }

/* Checkout Forms */
.checkout-form { display: flex; flex-direction: column; gap: 14px; }
.form-section-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 8px 12px;
  background: rgba(33,61,143,0.06);
  border-radius: 8px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 0.8rem; font-weight: 600; color: var(--text-dark); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 10px 14px;
  border: 1.5px solid var(--border-color);
  border-radius: 10px;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  color: var(--text-dark);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(33,61,143,0.12);
}
.form-group textarea { resize: vertical; min-height: 70px; }

/* Payment Info Card */
.payment-info-card,
.pickup-address-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(16,185,129,0.06);
  border: 1.5px solid rgba(16,185,129,0.2);
  border-radius: 12px;
  padding: 14px 16px;
}
.payment-info-card svg { color: #059669; flex-shrink: 0; margin-top: 2px; }
.pickup-address-card svg { color: var(--primary); flex-shrink: 0; margin-top: 2px; }
.payment-info-card div, .pickup-address-card div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.payment-info-card strong, .pickup-address-card strong {
  font-size: 0.87rem;
  color: var(--text-dark);
}
.payment-info-card span, .pickup-address-card span {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.pickup-address-card {
  background: rgba(33,61,143,0.04);
  border-color: rgba(33,61,143,0.15);
}

.btn-place-order {
  padding: 15px 28px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: var(--font-sans);
  margin-top: 4px;
  box-shadow: 0 4px 16px rgba(33,61,143,0.25);
}
.btn-place-order:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(33,61,143,0.35);
}

/* Success Screen */
.success-animation {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 20px;
}
.success-checkmark {
  margin-bottom: 16px;
  animation: successPop 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes successPop {
  from { transform: scale(0); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.success-circle {
  stroke-dasharray: 157;
  stroke-dashoffset: 157;
  animation: drawCircle 0.6s ease 0.1s forwards;
}
.success-check {
  stroke-dasharray: 36;
  stroke-dashoffset: 36;
  animation: drawCheck 0.4s ease 0.6s forwards;
}
@keyframes drawCircle { to { stroke-dashoffset: 0; } }
@keyframes drawCheck { to { stroke-dashoffset: 0; } }
.success-title {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  color: var(--primary-dark);
  margin-bottom: 8px;
}
.success-subtitle {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 20px;
  max-width: 380px;
}
.success-booking-id {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  border-radius: 16px;
  padding: 18px 32px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 8px 24px rgba(33,61,143,0.2);
  min-width: 240px;
}
.sbi-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.7);
}
.sbi-value {
  font-family: 'Courier New', monospace;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.04em;
}
.success-order-details {
  width: 100%;
  max-width: 420px;
  background: var(--bg-light);
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 20px;
  text-align: left;
  font-size: 0.83rem;
  color: var(--text-muted);
  border: 1px solid var(--border-light);
}
.success-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 16px;
}
.btn-download-screenshot,
.btn-copy-booking,
.btn-whatsapp-confirm {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 11px 18px;
  border-radius: 10px;
  font-size: 0.83rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.22s;
  font-family: var(--font-sans);
}
.btn-download-screenshot { background: var(--bg-light); color: var(--primary); border: 1.5px solid var(--primary); }
.btn-download-screenshot:hover { background: var(--primary); color: #fff; }
.btn-copy-booking { background: rgba(16,185,129,0.1); color: #059669; border: 1.5px solid rgba(16,185,129,0.3); }
.btn-copy-booking:hover { background: #059669; color: #fff; border-color: #059669; }
.btn-whatsapp-confirm { background: #25D366; color: #fff; border: none; box-shadow: 0 4px 12px rgba(37,211,102,0.3); }
.btn-whatsapp-confirm:hover { background: #20BA56; transform: translateY(-2px); }
.success-note {
  font-size: 0.8rem;
  color: var(--warning);
  background: rgba(245,158,11,0.08);
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 600;
}

/* --- STICKY BUY BAR (Mobile) --- */
.sticky-buy-bar {
  position: fixed;
  bottom: 70px;
  left: 0;
  right: 0;
  background: var(--primary-dark);
  color: #fff;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 7000;
  box-shadow: 0 -4px 20px rgba(9,14,26,0.2);
  animation: slideUp 0.4s ease;
}
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
.sbb-text { font-size: 0.85rem; font-weight: 600; }
.sbb-btn {
  background: var(--accent);
  color: var(--primary-dark);
  border: none;
  padding: 9px 20px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: var(--transition-fast);
}
.sbb-btn:hover { background: var(--accent-dark); }


/* ==========================================================
   RESPONSIVE BREAKPOINTS — CATALOGUE
   ========================================================== */

/* Tablet: 3 per row */
@media (max-width: 1024px) {
  .books-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

/* Large & Small Mobile: 2 per row clean fit */
@media (max-width: 640px) {
  .container {
    padding-left: 12px;
    padding-right: 12px;
    box-sizing: border-box;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
  }
  .search-bar-pill {
    height: 52px;
    padding: 4px 4px 4px 14px;
    margin-bottom: 20px;
    width: 100%;
    box-sizing: border-box;
  }
  .search-segment {
    padding: 0 6px;
  }
  .search-segment-label {
    font-size: 9px;
  }
  .search-segment-input,
  .search-segment-select {
    font-size: 12px;
  }
  .search-segment:nth-child(5),
  .search-divider:nth-child(4) {
    display: none; /* Hide 3rd segment on mobile to fit 100% within screen width */
  }
  .search-orb {
    width: 40px;
    height: 40px;
  }
  .books-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
  }
  .book-card {
    border-radius: 12px;
    min-width: 0; /* Prevents grid children overflow */
    width: 100%;
    box-sizing: border-box;
  }
  .book-card-img-wrap {
    height: 160px;
    aspect-ratio: auto;
  }
  .book-card-img {
    padding: 6px;
    object-fit: contain;
  }
  .book-card-body {
    padding: 8px 6px 10px;
  }
  .book-card-title {
    font-size: 0.78rem;
    line-height: 1.2;
    margin-bottom: 2px;
  }
  .book-card-rating {
    font-size: 11px;
  }
  .price-sale {
    font-size: 14px;
  }
  .price-mrp {
    font-size: 11px;
  }
  .price-save {
    display: none; /* Prevents price line wrap on narrow mobile */
  }
  .book-card-desc {
    display: none;
  }
  .book-card-actions {
    display: flex;
    gap: 4px;
    margin-top: 6px;
  }
  .btn-buy-now {
    font-size: 0.72rem;
    padding: 6px 4px;
    height: 38px;
    flex: 1;
    justify-content: center;
    border-radius: 6px;
    white-space: nowrap;
  }
  .btn-add-cart {
    font-size: 0.72rem;
    padding: 6px 6px;
    height: 38px;
    border-radius: 6px;
    flex-shrink: 0;
  }
  .btn-add-cart span {
    display: none;
  }
  .catalogue-trust-bar {
    gap: 12px;
    padding: 12px;
  }
  .ctb-item {
    font-size: 0.72rem;
  }
  .mobile-fab-container {
    bottom: 16px;
    right: 14px;
    gap: 8px;
  }
  .fab {
    width: 44px;
    height: 44px;
  }
  .back-to-top-btn {
    bottom: 16px;
    left: 14px;
    width: 44px;
    height: 44px;
  }
}

/* Fix header action overlapping on intermediate screens */
@media (max-width: 1240px) {
  .nav-menu {
    gap: 16px;
  }
  .nav-link {
    font-size: 0.88rem;
  }
}
@media (max-width: 1140px) {
  .header-actions .btn span {
    display: none;
  }
  .header-actions .btn {
    padding: 10px;
    border-radius: 50%;
  }
  .nav-menu {
    gap: 12px;
  }
}

/* ==========================================================
   WHATSAPP BUY NOW ORDER MODAL — PREMIUM STYLES & AIRBNB SCRIM
   ========================================================== */
.wa-modal-overlay,
.wa-success-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--scrim, rgba(0, 0, 0, 0.5)); /* 50% opacity Airbnb Scrim token */
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow-y: auto;
}
.wa-modal-overlay.active,
.wa-success-modal-overlay.active {
  display: flex;
}

.wa-modal {
  background: var(--canvas);
  border-radius: var(--radius-lg); /* 20px / 24px Airbnb modal rounding */
  max-width: 600px;
  width: 100%;
  position: relative;
  box-shadow: rgba(0, 0, 0, 0.08) 0 4px 12px 0, rgba(0, 0, 0, 0.15) 0 8px 20px 0;
  animation: waModalIn 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--hairline);
}
@keyframes waModalIn {
  from { opacity: 0; transform: scale(0.96) translateY(12px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.wa-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--surface-strong); /* Airbnb surface-strong icon button */
  border: none;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
  font-weight: 700;
}
.wa-modal-close:hover {
  background: var(--hairline);
  color: var(--ink);
}

.wa-modal-body {
  padding: 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Product Card inside Modal */
.wa-product-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #F8FAFC;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 14px;
}
.wa-product-img-box {
  width: 80px;
  height: 106px;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(15,23,42,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}
.wa-product-img-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.wa-product-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.wa-product-cat {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
}
.wa-product-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.25;
}
.wa-product-author {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.wa-pricing-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 4px;
}
.wa-price-mrp {
  font-size: 0.78rem;
  color: #9CA3AF;
  text-decoration: line-through;
}
.wa-price-sale {
  font-size: 1.25rem;
  font-weight: 800;
  color: #059669;
}
.wa-price-save {
  font-size: 0.68rem;
  font-weight: 800;
  background: #059669;
  color: #fff;
  padding: 2px 8px;
  border-radius: 999px;
}

/* Quantity Stepper */
.wa-qty-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wa-field-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.wa-qty-stepper {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #F1F5F9;
  border-radius: 12px;
  padding: 4px 10px;
  border: 1px solid var(--border-color);
}
.wa-qty-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: none;
  background: #fff;
  color: var(--primary-dark);
  font-size: 1.2rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.wa-qty-btn:hover:not(:disabled) {
  background: var(--primary);
  color: #fff;
}
.wa-qty-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.wa-qty-count {
  font-size: 1rem;
  font-weight: 800;
  min-width: 24px;
  text-align: center;
  color: var(--text-dark);
}

/* Order Summary Card */
.wa-summary-card {
  background: linear-gradient(135deg, rgba(33,61,143,0.04) 0%, rgba(33,61,143,0.08) 100%);
  border-radius: 14px;
  padding: 12px 16px;
  border: 1px solid rgba(33,61,143,0.12);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.wa-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.84rem;
  color: var(--text-muted);
}
.wa-summary-total {
  border-top: 1px solid rgba(33,61,143,0.15);
  padding-top: 6px;
  font-weight: 800;
  font-size: 0.98rem;
  color: var(--primary-dark);
}

/* Delivery Method Radio Cards */
.wa-delivery-select {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.wa-delivery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.wa-delivery-card {
  border: 2px solid var(--border-color);
  border-radius: 14px;
  padding: 12px 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s ease;
  background: #fff;
  position: relative;
}
.wa-delivery-card input {
  display: none;
}
.wa-delivery-card.active,
.wa-delivery-card:has(input:checked) {
  border-color: #25D366;
  background: rgba(37, 211, 102, 0.05);
  box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.15);
}
.wa-dc-icon {
  font-size: 1.4rem;
}
.wa-dc-text {
  display: flex;
  flex-direction: column;
}
.wa-dc-text strong {
  font-size: 0.85rem;
  color: var(--text-dark);
}
.wa-dc-text span {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* Forms */
.wa-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.wa-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.wa-form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.wa-form-group label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-dark);
}
.wa-req {
  color: #EF4444;
}
.wa-opt {
  font-size: 0.7rem;
  color: #9CA3AF;
  font-weight: 400;
}
.wa-form-group input,
.wa-form-group select,
.wa-form-group textarea {
  height: 56px;
  padding: 14px 12px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm); /* 8px Airbnb rounded.sm */
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s ease;
  background: var(--canvas);
}

.wa-form-group textarea {
  height: auto;
  min-height: 80px;
}

.wa-form-group input:focus,
.wa-form-group select:focus,
.wa-form-group textarea:focus {
  border: 2px solid var(--ink); /* Airbnb focus state: border thickens to 2px ink */
  box-shadow: none;
}

.wa-form-group.has-error input,
.wa-form-group.has-error select {
  border-color: var(--error);
  box-shadow: none;
}
.wa-err-msg {
  font-size: 0.72rem;
  color: #EF4444;
  font-weight: 600;
  display: none;
}
.wa-err-msg.active {
  display: block;
}

.wa-notice-box {
  background: rgba(33, 61, 143, 0.05);
  border: 1px solid rgba(33, 61, 143, 0.15);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.78rem;
  color: var(--primary-dark);
  line-height: 1.4;
}
.wa-notice-pickup {
  background: rgba(37, 211, 102, 0.08);
  border-color: rgba(37, 211, 102, 0.25);
  color: #047857;
}

/* Payment Info Card */
.wa-payment-info-card {
  background: #F8FAFC;
  border: 1.5px dashed var(--border-color);
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.wa-pic-badge {
  font-size: 0.8rem;
  font-weight: 800;
  color: #059669;
}
.wa-pic-list {
  display: flex;
  gap: 12px;
  font-size: 0.72rem;
  color: #9CA3AF;
  font-weight: 600;
  flex-wrap: wrap;
}

.wa-modal-footer {
  padding: 16px 24px;
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  box-shadow: 0 -4px 16px rgba(0,0,0,0.04);
  z-index: 5;
  flex-shrink: 0;
}

/* WhatsApp Submit Button */
.wa-submit-btn {
  width: 100%;
  height: 56px;
  padding: 0 24px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff;
  border: none;
  border-radius: 16px;
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: var(--font-sans);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.02em;
  animation: waPulseGlow 3s infinite;
}

@keyframes waPulseGlow {
  0%, 100% {
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45);
  }
  50% {
    box-shadow: 0 14px 38px rgba(37, 211, 102, 0.7);
  }
}

.wa-btn-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.35) 50%,
    transparent 100%
  );
  transform: skewX(-25deg);
  transition: none;
  animation: waShimmer 4s infinite;
  pointer-events: none;
}

@keyframes waShimmer {
  0% { left: -100%; }
  20%, 100% { left: 200%; }
}

.wa-submit-btn:hover {
  transform: translateY(-3px) scale(1.015);
  box-shadow: 0 16px 40px rgba(37, 211, 102, 0.6);
  background: linear-gradient(135deg, #20BA56 0%, #0D746B 100%);
}

.wa-submit-btn:hover .wa-arrow-svg {
  transform: translateX(5px);
}

.wa-submit-btn:active {
  transform: translateY(0) scale(0.99);
}

.wa-sb-default,
.wa-sb-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 100%;
}

.wa-icon-svg {
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
  flex-shrink: 0;
}

.wa-btn-text {
  white-space: nowrap;
}

.wa-arrow-svg {
  transition: transform 0.25s ease;
  flex-shrink: 0;
}
.wa-spinner {
  animation: waSpin 0.9s linear infinite;
}
@keyframes waSpin {
  100% { transform: rotate(360deg); }
}

/* Success Modal Overlay */
.wa-success-modal {
  background: #ffffff;
  border-radius: 24px;
  max-width: 460px;
  width: 100%;
  padding: 28px 24px;
  text-align: center;
  position: relative;
  box-shadow: 0 25px 60px rgba(9,14,26,0.35);
  animation: waModalIn 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}
.wa-sm-icon {
  font-size: 2.8rem;
  margin-bottom: 8px;
}
.wa-sm-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--primary-dark);
  margin-bottom: 6px;
}
.wa-sm-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.wa-sm-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}
.wa-sm-btn-copy,
.wa-sm-btn-retry {
  width: 100%;
  padding: 11px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  font-family: var(--font-sans);
  transition: all 0.2s ease;
}
.wa-sm-btn-copy {
  background: rgba(37,211,102,0.12);
  color: #047857;
  border: 1px solid rgba(37,211,102,0.3);
}
.wa-sm-btn-copy:hover {
  background: #25D366;
  color: #fff;
}
.wa-sm-btn-retry {
  background: var(--bg-light);
  color: var(--primary);
  border: 1px solid var(--border-color);
}
.wa-sm-btn-retry:hover {
  background: var(--primary);
  color: #fff;
}

/* Mobile Modal & Responsive Enhancements */
@media (max-width: 640px) {
  .wa-modal-overlay {
    padding: 0;
    align-items: flex-end;
  }
  .wa-modal {
    max-height: 94vh;
    height: 94vh;
    border-radius: 24px 24px 0 0;
    border-bottom: none;
  }
  .wa-modal-body {
    padding: 18px 16px 24px;
    -webkit-overflow-scrolling: touch;
  }
  .wa-modal-footer {
    padding: 12px 16px max(16px, env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--border-light);
  }
  .wa-form-group input,
  .wa-form-group select,
  .wa-form-group textarea {
    font-size: 16px !important; /* Prevents auto-zoom on iOS Safari */
    min-height: 48px;
  }
  .wa-delivery-grid {
    grid-template-columns: 1fr;
  }
  .wa-form-row {
    grid-template-columns: 1fr;
  }
  .wa-submit-btn {
    height: 52px;
    font-size: 1rem;
    border-radius: 14px;
  }
}


