/* ================================================================
   Penerbit Inkspire Publisher — Custom CSS
   Brand: Vermillion #e63946 / #e34234
   ================================================================ */

:root {
  --ink:        #e63946;
  --ink-dark:   #c73529;
  --ink-light:  #fef5f3;
  --ink-footer: #2d2d2d;
  --header-h:   64px;
}

/* ---- Reset / Base ---- */
*, *::before, *::after { box-sizing: border-box; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: #111;
  background: #f0f0f0;
  margin: 0;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
h1,h2,h3,h4,h5,h6 { font-weight: 600; }
.fw-600 { font-weight: 600 !important; }

/* Scrollbar */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-thumb { background: var(--ink); border-radius: 3px; }

/* ================================================================
   HEADER
   ================================================================ */
.site-header {
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
  position: sticky;
  top: 0;
  z-index: 1040;
  height: var(--header-h);
  box-shadow: 0 1px 8px rgba(0,0,0,.07);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 100%;
  padding: 0 20px;
  max-width: 1440px;
  margin: 0 auto;
}

/* Brand / Logo */
.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-img  { height: 42px; width: auto; object-fit: contain; }
.logo-fallback {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--ink), var(--ink-dark));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}
.brand-name {
  font-size: .95rem;
  font-weight: 500;
  color: #111;
  white-space: nowrap;
  display: none;
}
@media (min-width: 640px) { .brand-name { display: inline; } }

/* Search */
.search-wrap {
  position: relative;
  flex: 1;
  min-width: 0;
}
.search-input {
  width: 100%;
  height: 38px;
  padding: 0 38px 0 14px;
  border: 1.5px solid #d0d0d0;
  border-radius: 8px;
  font-size: .88rem;
  outline: none;
  transition: border-color .2s;
  background: #fff;
}
.search-input:focus { border-color: var(--ink); }
.search-btn {
  position: absolute;
  right: 0; top: 0;
  width: 38px; height: 38px;
  border: none; background: transparent;
  color: #888; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: color .2s;
}
.search-btn:hover { color: var(--ink); }

/* Header actions */
.header-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

.icon-btn {
  position: relative;
  width: 38px; height: 38px;
  border: none; background: transparent;
  color: #333; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; cursor: pointer;
  transition: background .2s;
}
.icon-btn:hover { background: #f5f5f5; color: var(--ink); }

.cart-badge {
  position: absolute;
  top: -2px; right: -2px;
  width: 18px; height: 18px;
  background: var(--ink);
  color: #fff; font-size: .65rem; font-weight: 700;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

/* Ghost primary button */
.btn-ghost-primary {
  border: none;
  background: transparent;
  color: var(--ink);
  font-size: .88rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 6px;
  transition: background .2s;
  flex-shrink: 0;
}
.btn-ghost-primary:hover { background: var(--ink-light); }

/* User button */
.user-btn {
  display: flex; align-items: center; gap: 6px;
  border: 1.5px solid #e0e0e0;
  background: #fff;
  border-radius: 8px;
  padding: 4px 10px;
  cursor: pointer;
  font-size: .85rem;
  transition: border-color .2s;
}
.user-btn:hover { border-color: var(--ink); }
.avatar-circle {
  width: 30px; height: 30px;
  background: var(--ink);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: .75rem; font-weight: 700;
  flex-shrink: 0;
}

/* ================================================================
   BUTTONS
   ================================================================ */
.btn-ink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 7px 20px;
  font-size: .85rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition: background .2s, transform .15s;
  line-height: 1.4;
}
.btn-ink:hover { background: var(--ink-dark); color: #fff; }
.btn-ink:active { transform: scale(.97); }
.btn-ink.w-100 { border-radius: 8px; }

.btn-ink-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 50px;
  padding: 6px 20px;
  font-size: .85rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition: all .2s;
  line-height: 1.4;
}
.btn-ink-outline:hover { background: var(--ink); color: #fff; }

.btn-lg-ink { padding: 12px 28px; font-size: .95rem; }
.btn-sm-ink { padding: 5px 14px; font-size: .8rem; }
.btn-sm-ink.btn-ink-outline { border-radius: 50px; }

.link-ink { color: var(--ink); }
.link-ink:hover { color: var(--ink-dark); }

/* ================================================================
   PAGES — SPA routing
   ================================================================ */
.page { display: none; }
.page.active { display: block; }

/* ================================================================
   HOME PAGE
   ================================================================ */
#page-home {
  background: linear-gradient(135deg, #e2e2e2 0%, #fff 50%, #e2e2e2 100%);
}

/* Hero */
.hero-section {
  padding: 48px 24px 32px;
  max-width: 1200px;
  margin: 0 auto;
}
.hero-deco {
  display: flex;
  justify-content: space-between;
  margin-bottom: 24px;
  opacity: .25;
}
.deco-pill {
  width: 120px; height: 60px;
  background: linear-gradient(135deg, #fcd29f, #f5a623);
  border-radius: 60px;
}
.hero-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
}
@media (min-width: 768px) {
  .hero-body { flex-direction: row; text-align: left; }
  .hero-text { flex: 1; }
}
.hero-title {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  line-height: 1.2;
  color: #111;
  margin-bottom: 16px;
}
.hero-sub { color: #555; font-size: 1.05rem; margin-bottom: 24px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
@media (min-width: 768px) { .hero-ctas { justify-content: flex-start; } }

.hero-image-wrap {
  flex-shrink: 0;
  width: 100%;
  max-width: 360px;
}
.hero-image {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(0,0,0,.15);
}

/* Quote */
.quote-box {
  background: #fff;
  border: 1.5px solid #e5e5e5;
  border-radius: 14px;
  padding: 24px 56px;
  position: relative;
  box-shadow: 0 4px 16px rgba(0,0,0,.05);
  text-align: center;
  color: #333;
  font-style: italic;
}
.quote-box::before, .quote-box::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 18px; height: 72px;
  border-color: var(--ink);
  border-style: solid;
}
.quote-box::before {
  left: -4px;
  border-width: 3px 0 3px 3px;
  border-radius: 8px 0 0 8px;
}
.quote-box::after {
  right: -4px;
  border-width: 3px 3px 3px 0;
  border-radius: 0 8px 8px 0;
}

/* Book Showcase */
.book-showcase-section {
  padding: 32px 16px;
  overflow: hidden;
}
.book-showcase {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}
.bshow-img {
  border-radius: 8px;
  box-shadow: 0 8px 28px rgba(0,0,0,.2);
  object-fit: cover;
  width: auto;
}
.bshow-center { box-shadow: 0 12px 40px rgba(0,0,0,.3); }
@media (max-width: 500px) {
  .bshow-img { height: 120px !important; }
  .bshow-center { height: 155px !important; }
}

/* Features */
.features-section {
  padding: 32px 24px 64px;
}
.section-title {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  text-align: center;
  margin-bottom: 12px;
  color: #111;
}
.section-sub {
  text-align: center;
  color: #666;
  max-width: 580px;
  margin: 0 auto 40px;
  font-size: .95rem;
}
.feature-list { display: flex; flex-direction: column; gap: 20px; }
.feature-item { display: flex; gap: 16px; }
.feature-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--ink);
  margin-top: 5px;
  flex-shrink: 0;
}
.feature-title { font-size: .95rem; font-weight: 600; margin-bottom: 4px; color: #111; }
.feature-desc { font-size: .85rem; color: #666; margin: 0; line-height: 1.6; }

/* ================================================================
   BOOKS PAGE
   ================================================================ */
.category-bar-wrap {
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
  padding: 10px 0;
  overflow-x: auto;
}
.category-bar { display: flex; gap: 6px; flex-wrap: nowrap; white-space: nowrap; }
.cat-btn {
  display: inline-block;
  padding: 5px 16px;
  border-radius: 50px;
  border: 1.5px solid #ddd;
  font-size: .8rem;
  cursor: pointer;
  transition: all .18s;
  background: #fff;
  color: #555;
  white-space: nowrap;
}
.cat-btn:hover, .cat-btn.active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

/* Book card */
.book-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e8e8e8;
  transition: box-shadow .2s, transform .2s;
  cursor: pointer;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.book-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,.13); transform: translateY(-3px); }
.book-card-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
}
.book-card-body { padding: 10px 12px 14px; flex: 1; display: flex; flex-direction: column; }
.book-card-title {
  font-size: .83rem;
  font-weight: 600;
  color: #111;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 36px;
  margin-bottom: 4px;
}
.book-card-author { font-size: .73rem; color: #888; margin-bottom: 6px; }
.star-rating { color: #f59e0b; font-size: .78rem; }
.book-price { font-size: .88rem; font-weight: 600; color: var(--ink); margin-top: 6px; }
.book-price-orig { font-size: .72rem; color: #bbb; text-decoration: line-through; }
.oos-badge {
  display: inline-block;
  font-size: .68rem;
  background: #fee2e2;
  color: #dc2626;
  padding: 2px 8px;
  border-radius: 4px;
  margin-top: 4px;
}

/* ================================================================
   PRODUCT DETAIL
   ================================================================ */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .88rem;
  color: #555;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 7px 14px;
  margin-bottom: 20px;
  cursor: pointer;
  transition: all .2s;
  text-decoration: none;
}
.back-link:hover { border-color: var(--ink); color: var(--ink); }

.detail-card {
  background: #fff;
  border-radius: 14px;
  border: 1px solid #e8e8e8;
  padding: 28px;
  box-shadow: 0 4px 16px rgba(0,0,0,.05);
}
.detail-img {
  width: 100%;
  max-width: 240px;
  border-radius: 10px;
  box-shadow: 0 8px 28px rgba(0,0,0,.16);
  display: block;
  margin: 0 auto;
}

.detail-cat {
  display: inline-block;
  background: var(--ink-light);
  color: var(--ink);
  font-size: .78rem;
  font-weight: 600;
  padding: 3px 12px;
  border-radius: 50px;
  margin-bottom: 12px;
}
.detail-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 4px; color: #111; }
.detail-author { font-size: .9rem; color: #777; margin-bottom: 12px; }

.detail-price-main { font-size: 2rem; font-weight: 700; color: var(--ink); }
.detail-price-orig { font-size: .9rem; color: #bbb; text-decoration: line-through; margin-left: 10px; }
.detail-discount {
  display: inline-block;
  background: #fff3cd;
  color: #92600a;
  font-size: .75rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 8px;
}

.fmt-btn {
  display: inline-block;
  padding: 5px 14px;
  border: 1.5px solid #ddd;
  border-radius: 6px;
  font-size: .8rem;
  cursor: pointer;
  transition: all .18s;
  margin: 3px;
  background: #fff;
  color: #555;
}
.fmt-btn.active, .fmt-btn:hover {
  border-color: var(--ink);
  color: var(--ink);
  background: var(--ink-light);
}

.qty-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.qty-ctrl { display: flex; align-items: center; gap: 0; border: 1.5px solid #ddd; border-radius: 8px; overflow: hidden; }
.qty-btn-c {
  width: 36px; height: 38px;
  background: #f9f9f9; border: none;
  font-size: 1.1rem; cursor: pointer; color: #555;
  transition: all .15s;
  display: flex; align-items: center; justify-content: center;
}
.qty-btn-c:hover { background: var(--ink-light); color: var(--ink); }
.qty-num {
  width: 44px; text-align: center;
  font-weight: 600; font-size: .95rem;
  border-left: 1px solid #e8e8e8;
  border-right: 1px solid #e8e8e8;
  line-height: 38px;
}

.buy-box {
  background: var(--ink-light);
  border: 1.5px solid #fccccf;
  border-radius: 12px;
  padding: 20px;
}
.in-stock  { color: #16a34a; font-size: .88rem; font-weight: 600; }
.out-stock { color: var(--ink); font-size: .88rem; font-weight: 600; }

/* ================================================================
   AUTH PAGES
   ================================================================ */
.auth-page {
  background: linear-gradient(135deg, #e2e2e2, #fff, #e2e2e2);
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
}
.auth-container { width: 100%; max-width: 440px; }

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: none; border: none;
  color: #666; font-size: .88rem;
  cursor: pointer; margin-bottom: 20px;
  padding: 0;
  transition: color .2s;
}
.back-btn:hover { color: var(--ink); }

.auth-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 16px;
  padding: 36px;
  box-shadow: 0 8px 40px rgba(0,0,0,.08);
}
.auth-logo { height: 52px; margin: 0 auto 16px; object-fit: contain; }
.auth-logo-fb {
  width: 52px; height: 52px;
  background: var(--ink);
  border-radius: 12px;
  color: #fff; font-weight: 700; font-size: 1.1rem;
  align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.auth-title { font-size: 1.6rem; font-weight: 700; color: #111; margin-bottom: 4px; }
.auth-sub   { color: #888; font-size: .88rem; margin-bottom: 0; }

.form-control:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(230,57,70,.12);
}
.form-check-input:checked {
  background-color: var(--ink);
  border-color: var(--ink);
}

.input-icon-wrap { position: relative; }
.input-icon-wrap .form-control { padding-right: 40px; }
.input-icon-btn {
  position: absolute; right: 0; top: 0;
  width: 38px; height: 100%;
  background: none; border: none;
  color: #aaa; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: color .2s;
}
.input-icon-btn:hover { color: var(--ink); }

.divider-or {
  display: flex; align-items: center; gap: 10px;
  color: #ccc; font-size: .82rem; margin: 16px 0;
}
.divider-or::before, .divider-or::after {
  content: ''; flex: 1; height: 1px; background: #eee;
}

.social-btn {
  width: 100%;
  display: flex; align-items: center; justify-content: center;
  gap: 8px;
  border: 1.5px solid #e0e0e0;
  background: #fff;
  border-radius: 8px;
  padding: 10px;
  font-size: .88rem;
  cursor: pointer; color: #333;
  transition: all .18s;
}
.social-btn:hover { border-color: var(--ink); background: var(--ink-light); }

.auth-legal { text-align: center; font-size: .75rem; color: #aaa; margin-top: 16px; }

/* ================================================================
   DASHBOARD
   ================================================================ */
#page-dashboard {
  display: flex;
  min-height: calc(100vh - var(--header-h));
  background: #f5f5f5;
  position: relative;
}

/* Sidebar */
.sidebar {
  width: 252px;
  background: #fff;
  border-right: 1px solid #eee;
  position: fixed;
  top: var(--header-h);
  bottom: 0;
  left: 0;
  overflow-y: auto;
  z-index: 100;
  flex-direction: column;
}
.sidebar-nav { padding: 12px 8px; }
.sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 16px;
  border-radius: 10px;
  font-size: .88rem;
  color: #555;
  transition: all .18s;
  text-decoration: none;
  margin-bottom: 2px;
}
.sidebar-link i { font-size: 1.05rem; flex-shrink: 0; }
.sidebar-link:hover, .sidebar-link.active {
  background: var(--ink-light);
  color: var(--ink);
}
.sidebar-link.danger:hover { background: #fff0f0; color: #dc2626; }
.sidebar-divider {
  height: 1px; background: #eee;
  margin: 10px 8px;
}

/* Dashboard main */
.dash-main {
  flex: 1;
  margin-left: 252px;
  padding: 28px 28px 96px;
  min-height: calc(100vh - var(--header-h));
}
@media (max-width: 991px) {
  .dash-main { margin-left: 0; padding: 20px 16px 100px; }
}

.dash-welcome { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.dash-welcome-title { font-size: clamp(1.3rem, 3vw, 1.8rem); margin-bottom: 4px; }

/* Stat cards */
.stat-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 20px;
  cursor: pointer;
  transition: box-shadow .2s, transform .2s;
}
.stat-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,.1); transform: translateY(-2px); }
.stat-icon {
  width: 46px; height: 46px;
  background: var(--ink-light);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.stat-icon i { color: var(--ink); font-size: 1.2rem; }
.stat-number { font-size: 1.9rem; font-weight: 700; color: #111; line-height: 1; }
.stat-label  { font-size: .78rem; color: #999; margin-top: 4px; }

/* Tabs */
.dash-tabs {
  display: flex;
  gap: 4px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 5px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.dash-tab-btn {
  padding: 8px 18px;
  border-radius: 8px;
  border: none;
  background: transparent;
  font-size: .83rem;
  color: #666;
  cursor: pointer;
  transition: all .18s;
  font-weight: 500;
}
.dash-tab-btn.active { background: var(--ink); color: #fff; }
.dash-tab-btn:not(.active):hover { background: #f5f5f5; }

.dash-tab-content  { display: none; }
.dash-tab-content.active { display: block; }

.tab-content-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

/* Library book card */
.lib-book { cursor: pointer; }
.lib-book-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,.12);
  transition: transform .22s;
  display: block;
}
.lib-book:hover .lib-book-img { transform: scale(1.04); }
.lib-book-title {
  font-size: .78rem; font-weight: 600; color: #111;
  margin: 8px 0 2px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 30px;
}
.lib-book-author { font-size: .7rem; color: #999; }

/* Mobile bottom nav */
.mobile-nav {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #fff;
  border-top: 1px solid #eee;
  z-index: 200;
  height: 60px;
}
.mobile-nav-link {
  flex: 1;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 2px;
  font-size: .62rem;
  color: #999;
  padding: 6px 0;
  text-decoration: none;
  transition: color .18s;
}
.mobile-nav-link i { font-size: 1.15rem; }
.mobile-nav-link.active, .mobile-nav-link:hover { color: var(--ink); }
.mobile-nav-link.danger:hover { color: #dc2626; }
@media (max-width: 991px) {
  .mobile-nav { display: flex; }
}

/* ================================================================
   CART OFFCANVAS
   ================================================================ */
.cart-item-img {
  width: 58px; height: 78px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}
.cart-item-title { font-size: .84rem; font-weight: 600; color: #111; }
.cart-item-price { color: var(--ink); font-weight: 600; font-size: .9rem; }

.cart-qty-ctrl { display: flex; align-items: center; gap: 4px; }
.cart-qty-btn {
  width: 28px; height: 28px;
  border: 1px solid #ddd; background: #fff;
  border-radius: 5px; font-size: .9rem;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  color: #555; transition: all .15s;
}
.cart-qty-btn:hover { border-color: var(--ink); color: var(--ink); }
.cart-qty-num { min-width: 28px; text-align: center; font-weight: 600; font-size: .85rem; }

/* ================================================================
   FOOTER
   ================================================================ */
#main-footer { background: var(--ink-footer); color: #d0d0d0; }
.footer-heading { color: #fff; font-size: .88rem; margin-bottom: 14px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: #aaa; font-size: .83rem; transition: color .18s; }
.footer-links a:hover { color: #fff; }
.marketplace-badge {
  background: #fff; border-radius: 6px;
  padding: 3px 10px; font-size: .75rem; font-weight: 700;
}
.social-icon {
  width: 34px; height: 34px;
  background: rgba(255,255,255,.08);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: #aaa; font-size: 1rem;
  transition: all .18s;
}
.social-icon:hover { background: var(--ink); color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 40px; padding-top: 20px;
  text-align: center;
}
.copyright-bar {
  background: var(--ink);
  color: #fff;
  text-align: center;
  font-size: .8rem;
  padding: 10px;
}

.wa-contact-btn {
  display: flex; align-items: center; gap: 10px;
  background: #25d366;
  color: #fff;
  border-radius: 10px;
  padding: 10px 16px;
  text-decoration: none;
  transition: background .2s;
}
.wa-contact-btn:hover { background: #1ebe5d; color: #fff; }
.wa-contact-btn i { font-size: 1.4rem; }

.promo-footer-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--ink);
  color: #fff;
  border-radius: 10px;
  padding: 10px 16px;
  text-decoration: none;
  font-size: .85rem;
  font-weight: 500;
  transition: background .2s;
}
.promo-footer-btn:hover { background: var(--ink-dark); color: #fff; }

/* ================================================================
   FLOATING BUTTON & TOAST
   ================================================================ */
.wa-float {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 52px; height: 52px;
  background: #25d366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.4rem;
  box-shadow: 0 4px 20px rgba(0,0,0,.22);
  z-index: 9000;
  text-decoration: none;
  transition: transform .2s, background .2s;
}
.wa-float:hover { background: #1ebe5d; transform: scale(1.08); color: #fff; }

.toast-msg {
  position: fixed;
  bottom: 88px; right: 20px;
  background: #111;
  color: #fff;
  padding: 12px 18px;
  border-radius: 10px;
  font-size: .85rem;
  z-index: 9999;
  display: none;
  align-items: center; gap: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,.2);
  animation: slideUp .25s ease;
}
.toast-msg.show { display: flex; }
@keyframes slideUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ================================================================
   MISC
   ================================================================ */
@media (max-width: 575px) {
  .auth-card { padding: 24px 18px; }
  .detail-card { padding: 18px 14px; }
  .quote-box { padding: 20px 36px; }
}
