@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500;1,600&display=swap");
:root {
  --bg: #07070c;
  --bg2: #0b0b13;
  --panel: rgba(255, 255, 255, 0.045);
  --panel2: rgba(255, 255, 255, 0.075);
  --stroke: rgba(255, 255, 255, 0.1);
  --stroke2: rgba(255, 255, 255, 0.2);
  --text: #ededf2;
  --muted: #9292a2;
  --gold: #c9a24b;
  --gold-lt: #f3de9c;
  --violet: #6c5ce7;
  --grad: linear-gradient(120deg, #c9a24b 0%, #f3de9c 45%, #c9a24b 100%);
  --ease: cubic-bezier(0.22, 0.7, 0.24, 1);
  --maxw: 1240px;
  --nav-h: 78px;
  --shadow: 0 30px 70px -25px rgba(0, 0, 0, 0.85);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
form{
  margin: 0px;
}
body.no-scroll,
body.nav-open {
  overflow: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea,
select {
  font: inherit;
}
button {
  cursor: pointer;
}
::selection {
  background: rgba(201, 162, 75, 0.32);
  color: #fff;
}
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #09090f;
}
::-webkit-scrollbar-thumb {
  background: #332d20;
  border-radius: 10px;
}
h1,
h2,
h3,
h4,
h5 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: auto;
  padding: 0 24px;
}
.section {
  padding: clamp(70px, 9vw, 50px) 0;
  position: relative;
}
.section-head,
.sec-head {
  margin-bottom: 42px;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow:before {
  content: "";
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.sec-title,
.section-head h1,
.section-head h2 {
  font-size: clamp(32px, 4.8vw, 56px);
  margin: 14px 0;
}
.sec-desc,
.section-head p {
  max-width: 650px;
  color: var(--muted);
  font-weight: 300;
}
.grad-text {
  background: var(--grad);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 5s linear infinite;
}
@keyframes shine {
  to {
    background-position: 200% 0;
  }
}
.bg-layer,
.bg-grid,
.bg-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
}
.bg-layer {
  z-index: -5;
  background: radial-gradient(
      1000px 650px at 8% 0,
      rgba(201, 162, 75, 0.14),
      transparent 62%
    ),
    radial-gradient(
      900px 700px at 95% 10%,
      rgba(108, 92, 231, 0.15),
      transparent 62%
    ),
    radial-gradient(
      900px 800px at 50% 110%,
      rgba(201, 162, 75, 0.08),
      transparent 65%
    ),
    linear-gradient(180deg, #07070c, #08080f 45%, #06060b);
}
.bg-grid {
  z-index: -4;
  opacity: 0.35;
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.027) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(255, 255, 255, 0.027) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: radial-gradient(circle at 50% 30%, #000, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 50% 30%, #000, transparent 78%);
}
.bg-noise {
  z-index: -3;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
}
.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  z-index: -2;
  pointer-events: none;
}
.orb.a {
  width: 430px;
  height: 430px;
  background: rgba(201, 162, 75, 0.2);
  top: -120px;
  left: -120px;
  animation: float1 18s ease-in-out infinite;
}
.orb.b {
  width: 500px;
  height: 500px;
  background: rgba(108, 92, 231, 0.18);
  top: 35%;
  right: -180px;
  animation: float2 22s ease-in-out infinite;
}
.orb.c {
  width: 360px;
  height: 360px;
  background: rgba(201, 162, 75, 0.13);
  bottom: -130px;
  left: 35%;
  animation: float3 25s ease-in-out infinite;
}
@keyframes float1 {
  50% {
    transform: translate(90px, 70px);
  }
}
@keyframes float2 {
  50% {
    transform: translate(-110px, 90px);
  }
}
@keyframes float3 {
  50% {
    transform: translate(70px, -90px);
  }
}
#preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #06060b;
  display: grid;
  place-items: center;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.7s var(--ease), visibility 0.7s;
}

#preloader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.preloader-inner {
  text-align: center;
}
.preloader-mark {
  font-family: "Playfair Display";
  font-size: clamp(38px, 8vw, 70px);
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 2s linear infinite;
}
.preloader-line {
  width: 190px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  margin: 22px auto;
  overflow: hidden;
}
.preloader-line i {
  display: block;
  width: 0;
  height: 100%;
  background: var(--grad);
  animation: load 1.5s var(--ease) forwards;
}
@keyframes load {
  to {
    width: 100%;
  }
}
.preloader-inner small {
  color: var(--muted);
  letter-spacing: 0.35em;
  text-transform: uppercase;
}

.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9998;
  pointer-events: none;
  border-radius: 50%;
  mix-blend-mode: difference;
}
.cursor-dot {
  width: 6px;
  height: 6px;
  background: #fff;
  transform: translate(-50%, -50%);
}
.cursor-ring {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease), height 0.3s var(--ease), background 0.3s;
}
.cursor-ring.grow {
  width: 68px;
  height: 68px;
  background: rgba(255, 255, 255, 0.1);
  border-color: transparent;
}
@media (hover: none), (max-width: 900px) {
  .cursor-dot,
  .cursor-ring {
    display: none;
  }
}
.fk-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 3000;
  display: flex;
  align-items: center;
  transition: 0.5s var(--ease);
}
.fk-nav:before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(7, 7, 12, 0.5);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: 0.5s;
}
.fk-nav.scrolled:before {
  background: rgba(7, 7, 12, 0.88);
  border-bottom-color: var(--stroke);
}
.fk-nav .container {
  position: relative;
  display: flex;
  align-items: center;
  gap: 22px;
}
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: "Playfair Display";
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  flex: none;
}
.navbar-brand img {
  width: 145px !important;
  height: auto;
}
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--grad);
  color: #08080d;
  font-family: "Playfair Display";
  font-size: 21px;
  font-weight: 700;
  box-shadow: 0 8px 22px -8px rgba(201, 162, 75, 0.9);
}
.brand-copy small {
  display: block;
  font: 500 9px Inter;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}
.fk-nav-drawer {
  display: flex;
  align-items: center;
  gap: 22px;
  flex: 1;
  margin-left: auto;
}
.drawer-search {
  flex: 1;
  justify-content: center;
}
.search {
  display: flex;
  align-items: center;
  gap: 4px;
  width: min(430px, 100%);
  padding: 4px 4px 4px 16px;
  border: 1px solid var(--stroke);
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  transition: 0.35s;
}
.search:focus-within {
  border-color: rgba(201, 162, 75, 0.6);
  box-shadow: 0 0 0 5px rgba(201, 162, 75, 0.07);
}
.search input {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--text);
  outline: 0;
  padding: 9px 4px;
  font-size: 13px;
}
.search input::placeholder {
  color: #777788;
}
.search button {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 0;
  background: var(--grad);
  color: #0a0a0f;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  padding: 9px 12px;
  border-radius: 100px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: 0.35s;
}
.nav-link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}
.mobile-nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--stroke);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  margin-left: auto;
}
.drawer-head {
  display: none;
}
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 25px;
  border-radius: 100px;
  border: 1px solid transparent;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: 0.4s var(--ease);
  overflow: hidden;
}
.btn-primary,
.btn-gold {
  background: var(--grad);
  color: #0a0a0f;
  border: 0;
  box-shadow: 0 14px 36px -14px rgba(201, 162, 75, 0.8);
}
.btn-primary:hover,
.btn-gold:hover {
  color: #0a0a0f;
  transform: translateY(-3px);
  box-shadow: 0 22px 46px -14px rgba(201, 162, 75, 0.95);
}
.btn-dark {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--stroke);
  color: var(--text);
}
.btn-dark:hover {
  color: var(--gold-lt);
  border-color: var(--gold);
  transform: translateY(-3px);
}
.btn-outline-dark,
.btn-outline-secondary {
  background: transparent !important;
  color: var(--text) !important;
  border-color: var(--stroke2) !important;
}
.btn-outline-dark:hover,
.btn-outline-secondary:hover {
  border-color: var(--gold) !important;
  color: var(--gold-lt) !important;
}
.btn-light {
  background: var(--grad);
  color: #09090d;
}
.btn-link {
  color: var(--muted) !important;
}
.btn-link:hover {
  color: var(--gold-lt) !important;
}
main {
  padding-top: var(--nav-h);
  min-height: calc(100vh - var(--nav-h));
  position: relative;
}
.hero {
  position: relative;
  padding: clamp(55px, 8vw, 100px) 0 70px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(35px, 6vw, 75px);
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 15px 8px 10px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(10px);
  border-radius: 100px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
  margin-bottom: 25px;
}
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #43d98b;
  position: relative;
}
.pulse-dot:after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1px solid #43d98b;
  border-radius: 50%;
  animation: pulse 1.8s ease-out infinite;
}
@keyframes pulse {
  to {
    transform: scale(2);
    opacity: 0;
  }
}
.hero h1 {
  font-size: clamp(44px, 7vw, 88px);
  margin: 0 0 10px;
}
.hero h1 .line {
  display: block;
  overflow: hidden;
}
.hero h1 .line span {
  display: inline-block;
  animation: riseIn 0.9s var(--ease) both;
}
.hero h1 .line:nth-child(2) span {
  animation-delay: 0.12s;
}
.hero h1 .line:nth-child(3) span {
  animation-delay: 0.24s;
}
@keyframes riseIn {
  from {
    transform: translateY(110%);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}
.typed-wrap {
  font: italic clamp(19px, 2.5vw, 27px) "Playfair Display";
  color: var(--gold-lt);
  margin: 5px 0 22px;
  min-height: 1.5em;
}
.typed {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.caret {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: var(--gold);
  margin-left: 5px;
  vertical-align: -2px;
  animation: blink 1s steps(2) infinite;
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}
.hero-desc {
  max-width: 590px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 300;
  margin-bottom: 30px;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}
.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
}
.hero-books {
  width: min(100%, 440px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  transform: rotate(-2deg);
}
.hero-book {
  position: relative;
  aspect-ratio: 3/4;
  border: 1px solid var(--stroke2);
  border-radius: 24px;
  overflow: hidden;
  background: #11111a;
  box-shadow: var(--shadow);
  transition: 0.6s var(--ease);
}
.hero-book:first-child {
  transform: translateY(35px) rotate(-5deg);
}
.hero-book:last-child {
  transform: translateY(-30px) rotate(4deg);
}
.hero-book img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  transition: 0.7s;
}
.hero-book:hover img {
  transform: scale(1.06);
}
.hero-book:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.75));
}
.hero-book .hero-book-label {
  position: absolute;
  z-index: 2;
  left: 18px;
  right: 18px;
  bottom: 16px;
}
.hero-book-label small {
  color: var(--gold-lt);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}
.hero-book-label strong {
  display: block;
  font: 600 18px "Playfair Display";
  margin-top: 4px;
}
.ring {
  position: absolute;
  inset: -35px;
  border: 1px dashed rgba(201, 162, 75, 0.3);
  border-radius: 50%;
  animation: spin 26s linear infinite;
  pointer-events: none;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.section-dark {
  position: relative;
}
.category-card {
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  border: 1px solid var(--stroke);
  border-radius: 20px;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.055),
    rgba(255, 255, 255, 0.018)
  );
  overflow: hidden;
  transition: 0.4s var(--ease);
}
.category-card:after {
  content: "";
  position: absolute;
  width: 130px;
  height: 130px;
  right: -60px;
  bottom: -60px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 162, 75, 0.2), transparent 68%);
  transition: 0.4s;
}
.category-card:hover {
  transform: translateY(-7px);
  border-color: rgba(201, 162, 75, 0.4);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.category-card span {
  font: 600 20px "Playfair Display";
  position: relative;
  z-index: 1;
}
.category-card small {
  color: var(--muted);
  position: relative;
  z-index: 1;
}
.book-card {
  height: 100%;
  padding: 9px;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--stroke);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.22);
  transition: 0.45s var(--ease);
}
.book-card:hover {
  transform: translateY(-9px);
  border-color: rgba(201, 162, 75, 0.45);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4);
}
.cover,
.detail-cover {
  position: relative;
  display: block;
  overflow: hidden;
  background: #12121a;
  border-radius: 18px;
  height: 290px;
  border: 1px solid var(--stroke);
}
.cover img,
.detail-cover img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  transition: 0.65s var(--ease);
}
.book-card:hover .cover img {
  transform: scale(1.045);
}
.cover:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.35));
  pointer-events: none;
}
.cover-placeholder {
  height: 100%;
  display: grid;
  place-items: center;
  font-size: 55px;
  color: #666676;
}
.badge {
  position: absolute;
  top: 13px;
  left: 13px;
  z-index: 2;
  padding: 6px 10px;
  border-radius: 100px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.badge.free {
  background: rgba(67, 217, 139, 0.14);
  border: 1px solid rgba(67, 217, 139, 0.35);
  color: #7df0b2;
}
.badge.paid {
  background: rgb(184 135 32);
  border: 1px solid rgba(201, 162, 75, 0.4);
  color: #fff;
}
.cover-arrow {
  position: absolute;
  right: 13px;
  bottom: 13px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(8, 8, 13, 0.75);
  border: 1px solid var(--stroke2);
  opacity: 0;
  transform: translateY(8px);
  transition: 0.35s;
}
.book-card:hover .cover-arrow {
  opacity: 1;
  transform: none;
}
.book-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 18px 10px 10px;
}
.book-category {
  margin-bottom: 7px;
  color: var(--gold);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}
.book-title {
  font: 600 21px/1.25 "Playfair Display";
  color: var(--text);
  transition: 0.25s;
}
.book-title:hover {
  color: var(--gold-lt);
}
.book-author {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
}
.book-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 16px;
}
.book-price {
  font-size: 15px;
  font-weight: 800;
  color: var(--gold-lt);
}
.free-price {
  color: #75e8aa;
}
.book-arrow-bottom {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--grad);
  color: #08080d;
  transition: 0.35s;
}
.book-arrow-bottom:hover {
  transform: rotate(8deg) scale(1.08);
  color: #08080d;
}
.book-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
  padding-top: 16px;
}
.book-actions .btn {
  font-size: 10px;
  padding: 10px 14px;
}
.user-book-card .book-card-body {
  min-height: 170px;
}
.listing-hero,
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 42px;
  border: 1px solid var(--stroke);
  border-radius: 28px;
  background: linear-gradient(
    135deg,
    rgba(201, 162, 75, 0.1),
    rgba(108, 92, 231, 0.08) 55%,
    rgba(255, 255, 255, 0.025)
  );
  box-shadow: var(--shadow);
  margin-bottom: 26px;
}
.listing-hero:after,
.page-hero:after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -100px;
  top: -120px;
  border: 1px solid rgba(201, 162, 75, 0.2);
  border-radius: 50%;
  box-shadow: 0 0 0 50px rgba(201, 162, 75, 0.025),
    0 0 0 100px rgba(201, 162, 75, 0.015);
}
.listing-hero h1,
.page-hero h1 {
  font-size: clamp(38px, 5.5vw, 70px);
  margin: 12px 0;
}
.listing-hero p,
.page-hero p {
  color: var(--muted);
  margin: 0;
}
.listing-hero > i {
  position: absolute;
  right: 45px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 85px;
  color: var(--gold);
  opacity: 0.16;
}
.page-toolbar {
  margin-bottom: 18px;
}
.page-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border: 1px solid var(--stroke);
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: 0.35s;
}
.page-back:hover {
  color: #0a0a0f;
  background: var(--grad);
  border-color: transparent;
  transform: translateX(-3px);
}
.filter-form {
  display: flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  padding: 6px;
  border: 1px solid var(--stroke);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.035);
  margin-bottom: 24px;
}
.filter-input {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  padding-left: 8px;
}
.filter-input i {
  color: var(--gold);
}
.filter-form input,
.filter-form select {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--text);
  padding: 11px;
  outline: 0;
}
.filter-form select {
  width: auto;
  border-left: 1px solid var(--stroke);
}
.filter-form option {
  background: #101018;
  color: #fff;
}
.empty {
  padding: 80px 25px;
  text-align: center;
  border: 1px dashed var(--stroke2);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted);
}
.empty > i {
  font-size: 42px;
  color: var(--gold);
}
.empty h4 {
  color: var(--text);
  font-size: 25px;
}
.content-body,
.reader-content {
  color: #d0d0d8;
  line-height: 1.95;
  font-size: 16px;
}
.content-body img,
.reader-content img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
}
.detail-cover {
  height: 520px;
  max-width: 420px;
  margin: auto;
  box-shadow: var(--shadow);
}
.detail-meta {
  color: var(--muted);
}
.detail-meta strong {
  color: var(--text);
}
.reader-top {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 15px;
}
.reader-content {
  max-width: 880px;
  margin: 30px auto;
  font-size: 17px;
}
.reader-content h1,
.reader-content h2,
.reader-content h3 {
  color: var(--text);
}
.comment {
  padding: 18px 0;
  border-bottom: 1px solid var(--stroke);
}
.comment b {
  color: var(--gold-lt);
}
.progress {
  background: rgba(255, 255, 255, 0.08) !important;
}
.progress-bar {
  background: var(--grad) !important;
}
.checkout-card,
.info-card,
.policy-card {
  max-width: 900px;
  margin: auto;
  padding: 40px;
  border: 1px solid var(--stroke);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: var(--shadow);
  backdrop-filter: blur(15px);
}
.checkout-card h1,
.info-card h3,
.policy-card h3 {
  color: var(--text);
}
.checkout-card p,
.info-card p,
.policy-card p {
  color: var(--muted);
}
.price-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--stroke);
  border-bottom: 1px solid var(--stroke);
  padding: 20px 0;
  margin: 25px 0;
  font-size: 20px;
}
.price-line strong {
  color: var(--gold-lt);
}
.contact-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: var(--grad);
  color: #09090d;
  font-size: 24px;
  margin-bottom: 18px;
}
.contact-line {
  display: flex;
  gap: 13px;
  align-items: center;
  margin-top: 20px;
}
.contact-line > i {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(201, 162, 75, 0.1);
  color: var(--gold);
}
.contact-line small,
.contact-line strong {
  display: block;
}
.contact-line small {
  color: var(--muted);
}
.contact-form label {
  font-size: 11px;
  font-weight: 700;
  color: var(--gold-lt);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.form-control,
.form-select {
  border: 1px solid var(--stroke) !important;
  background: rgba(255, 255, 255, 0.035) !important;
  color: var(--text) !important;
  border-radius: 14px;
  padding: 0.8rem 1rem;
}
.form-control::placeholder {
  color: #707080;
}
.form-control:focus,
.form-select:focus {
  border-color: rgba(201, 162, 75, 0.65) !important;
  box-shadow: 0 0 0 4px rgba(201, 162, 75, 0.08) !important;
}
.notification-list {
    width: 100%;
    max-width: none;
}

.notification {
    width: 100%;
    display: grid;
    grid-template-columns: 75px 48px 1fr 24px;
    align-items: center;
    gap: 18px;
    padding: 18px 22px;
    margin-bottom: 12px;
    background: #fff;
    border: 1px solid var(--stroke);
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(31,38,60,.06);
    transition: .35s ease;
}

.notification:hover {
    transform: translateY(-3px);
    border-color: rgba(184,135,32,.35);
    box-shadow: 0 18px 40px rgba(31,38,60,.10);
}

.notification-time {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 16px;
    border-right: 1px solid var(--stroke);
}

.notification-time strong {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 25px;
    line-height: 1;
    color: var(--gold);
}

.notification-time span {
    margin-top: 4px;
    font-size: 10px;
    color: var(--text);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.notification-time small {
    margin-top: 3px;
    font-size: 10px;
    color: var(--muted);
}

.notification-icon {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: rgba(184,135,32,.10);
    color: var(--gold);
    font-size: 19px;
}

.notification-content {
    min-width: 0;
}

.notification-content b {
    display: block;
    color: var(--text);
    font-size: 14px;
    font-weight: 700;
}

.notification-content p {
    margin: 3px 0 0;
    color: var(--muted);
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.notification-arrow {
    color: var(--muted);
    font-size: 14px;
    transition: .3s ease;
}

.notification:hover .notification-arrow {
    color: var(--gold);
    transform: translateX(3px);
}

@media (max-width: 575px) {
    .notification {
        grid-template-columns: 58px 42px 1fr 16px;
        gap: 11px;
        padding: 14px;
        border-radius: 15px;
    }

    .notification-time {
        padding-right: 9px;
    }

    .notification-time strong {
        font-size: 20px;
    }

    .notification-time span {
        font-size: 8px;
    }

    .notification-time small {
        font-size: 8px;
    }

    .notification-icon {
        width: 42px;
        height: 42px;
        font-size: 16px;
    }

    .notification-content b {
        font-size: 12px;
    }

    .notification-content p {
        font-size: 11px;
    }
}
footer {
  border-top: 1px solid var(--stroke);
  margin-top: auto;
  background: rgba(7, 7, 12, 0.7);
  padding: 28px 0 22px;
  color: var(--muted);
  font-size: 11px;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
}
.footer-links a {
  transition: 0.25s;
}
.footer-links a:hover {
  color: var(--gold-lt);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  flex-wrap: wrap;
  border-top: 1px solid var(--stroke);
  padding-top: 15px;
}
.scroll-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--grad);
  box-shadow: 0 0 14px rgba(201, 162, 75, 0.65);
}
#toTop {
  position: fixed;
  right: 22px;
  bottom: 24px;
  z-index: 2900;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--stroke2);
  color: var(--gold-lt);
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: 0.4s;
}
#toTop.show {
  opacity: 1;
  visibility: visible;
  transform: none;
}
#toTop:hover {
  background: var(--grad);
  color: #08080d;
  border-color: transparent;
}
.fade-up {
  animation: fadeUp 0.8s var(--ease) both;
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.reveal.left {
  transform: translateX(-45px);
}
.reveal.right {
  transform: translateX(45px);
}
.reveal.zoom {
  transform: scale(0.93);
}
.reveal.in.left,
.reveal.in.right,
.reveal.in.zoom {
  transform: none;
}
.d1 {
  transition-delay: 0.09s;
}
.d2 {
  transition-delay: 0.18s;
}
.d3 {
  transition-delay: 0.27s;
}
.d4 {
  transition-delay: 0.36s;
}
.fk-swal {
  border: 1px solid var(--stroke) !important;
  background: #101018 !important;
  color: var(--text) !important;
}
.fk-swal .swal2-title {
  font-family: "Playfair Display";
  color: var(--text);
}
.fk-swal .swal2-html-container {
  color: var(--muted);
}
@media (max-width: 1180px) {
  .fk-nav-drawer {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    padding: 35px;
    background: rgba(6, 6, 11, 0.97);
    backdrop-filter: blur(28px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px);
    transition: 0.45s var(--ease);
    margin: 0;
  }
  .fk-nav-drawer.open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }
  .drawer-head button {
    width: 42px;
    height: 42px;
    border: 1px solid var(--stroke);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
  }
  .drawer-search {
    width: 100%;
  }
  .search {
    max-width: 650px;
    margin: auto;
  }
  .nav-actions {
    width: 100%;
    flex-direction: column;
  }
  .nav-actions .nav-link,
  .nav-actions .btn,
  .nav-actions form {
    width: min(650px, 100%);
    justify-content: center;
  }
  .mobile-nav-toggle {
    display: grid;
    place-items: center;
  }
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-copy {
    max-width: 760px;
  }
  .hero-visual {
    max-width: 620px;
    margin: auto;
  }
  .hero h1 {
    font-size: clamp(46px, 9vw, 80px);
  }
}
@media (max-width: 900px) {
  .container {
    padding: 0 18px;
  }
  .section {
    padding: 65px 0;
  }
  .section-head {
    align-items: start;
    flex-direction: column;
  }
  .hero {
    padding-top: 45px;
  }
  .hero-books {
    max-width: 390px;
  }
  .listing-hero,
  .page-hero {
    padding: 30px;
  }
  .listing-hero > i {
    display: none;
  }
  .filter-form {
    flex-wrap: wrap;
  }
  .filter-input,
  .filter-form select,
  .filter-form .btn {
    width: 100%;
  }
  .filter-form select {
    border-left: 0;
    border-top: 1px solid var(--stroke);
  }
  .detail-cover {
    height: 440px;
  }
  .reader-top {
    align-items: start;
    flex-direction: column;
  }
  .checkout-card,
  .info-card,
  .policy-card {
    padding: 27px;
  }
}
@media (max-width: 575px) {
  :root {
    --nav-h: 70px;
  }
  .navbar-brand img {
    width: 128px !important;
  }
  .hero h1 {
    font-size: clamp(42px, 14vw, 64px);
  }
  .hero-desc {
    font-size: 14px;
  }
  .hero-books {
    gap: 9px;
  }
  .hero-book:first-child {
    transform: translateY(20px) rotate(-4deg);
  }
  .hero-book:last-child {
    transform: translateY(-18px) rotate(3deg);
  }
  .cover {
    height: 250px;
  }
  .book-card-body {
    padding: 16px 9px 9px;
  }
  .book-title {
    font-size: 19px;
  }
  .detail-cover {
    height: 350px;
  }
  .listing-hero h1,
  .page-hero h1 {
    font-size: 40px;
  }
  .footer-links {
    justify-content: flex-start;
    gap: 12px 18px;
  }
  .footer-bottom {
    font-size: 10px;
  }
  .page-back {
    padding: 9px 13px;
  }
  .notification {
    padding: 15px;
  }
  .checkout-card,
  .info-card,
  .policy-card {
    padding: 22px;
  }
}
.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}
.mobile-nav-backdrop.show {
  opacity: 1;
  visibility: visible;
}

/* Funnykart Light Theme */
:root {
  --bg: #f7f8fc;
  --bg2: #ffffff;
  --panel: rgba(255, 255, 255, 0.82);
  --panel2: rgba(255, 255, 255, 0.96);
  --stroke: rgba(25, 32, 50, 0.10);
  --stroke2: rgba(25, 32, 50, 0.18);
  --text: #171a24;
  --muted: #687083;
  --gold: #b88720;
  --gold-lt: #e0b94f;
  --violet: #6756d8;
  --grad: linear-gradient(120deg, #b88720 0%, #e4c263 45%, #b88720 100%);
  --shadow: 0 24px 60px -25px rgba(31, 38, 60, 0.22);
}

body {
  background: var(--bg);
  color: var(--text);
}

::selection {
  background: rgba(184, 135, 32, 0.22);
  color: var(--text);
}

::-webkit-scrollbar-track {
  background: #eef0f5;
}

::-webkit-scrollbar-thumb {
  background: #c6cad5;
}

.page-bg,
.bg-grid,
.background-grid {
  opacity: .55;
}

.site-nav {
  background: rgba(255, 255, 255, 0.78);
  border-bottom-color: var(--stroke);
  box-shadow: 0 10px 35px rgba(31, 38, 60, 0.06);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nav-links a,
.nav-brand,
.search input,
.search button {
  color: var(--text);
}

.search {
  background: rgba(245, 246, 250, 0.9);
  border-color: var(--stroke);
}

.search input::placeholder {
  color: #9198a8;
}

.hero,
.page-hero {
  background: transparent;
}

.hero:before,
.hero:after,
.page-hero:after {
  opacity: .45;
}

.hero-book,
.book-card,
.category-card,
.checkout-card,
.info-card,
.policy-card,
.contact-form,
.notification-card,
.trash-card {
  background: rgba(255, 255, 255, 0.88);
  border-color: var(--stroke);
  box-shadow: var(--shadow);
}

.book-card:hover,
.category-card:hover,
.hero-book:hover {
  box-shadow: 0 30px 70px -25px rgba(31, 38, 60, 0.30);
}

.book-card-body,
.book-card-footer,
.category-card span,
.category-card small {
  color: var(--text);
}

.book-author,
.book-category,
.sec-desc,
.section-head p,
.hero-desc,
.page-hero p,
.contact-line small,
.checkout-card p,
.info-card p,
.policy-card p {
  color: var(--muted);
}

.filter-form input,
.filter-form select,
.filter-input,
.contact-form input,
.contact-form textarea,
.contact-form select,
.checkout-card input,
.checkout-card select {
  background: #fff;
  color: var(--text);
  border-color: var(--stroke2);
}

.filter-form select option {
  background: #fff;
  color: var(--text);
}

.filter-form input::placeholder,
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #9299a8;
}

.btn-outline,
.btn-ghost {
  color: var(--text);
  border-color: var(--stroke2);
  background: rgba(255, 255, 255, 0.72);
}

.btn-outline:hover,
.btn-ghost:hover {
  color: var(--gold);
  border-color: rgba(184, 135, 32, 0.55);
  background: #fff;
}

.badge.free {
  background: rgb(11 119 63);
  color: #fff;
  border-color: rgba(67, 217, 139, 0.30);
}



.reader-content {
  background: #fff;
  color: var(--text);
  border-color: var(--stroke);
  box-shadow: var(--shadow);
}

.reader-content h1,
.reader-content h2,
.reader-content h3,
.reader-content h4,
.reader-content h5,
.reader-content strong {
  color: var(--text);
}

.reader-content blockquote {
  background: #f7f5ef;
  border-left-color: var(--gold);
}

.contact-line > i,
.contact-icon {
  background: rgba(184, 135, 32, 0.10);
  color: var(--gold);
}

.footer {
  background: #eef0f5;
  border-top-color: var(--stroke);
  color: var(--text);
}

.footer-links a {
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top-color: var(--stroke);
  color: #7b8291;
}

.mobile-nav-backdrop {
  background: rgba(20, 24, 35, 0.28);
}

.mobile-nav {
  background: rgba(255, 255, 255, 0.98);
  color: var(--text);
  border-left-color: var(--stroke);
  box-shadow: -20px 0 60px rgba(31, 38, 60, 0.16);
}

.mobile-nav a {
  color: var(--text);
  border-bottom-color: var(--stroke);
}

#preloader {
  background: #f7f8fc;
}

.empty-state {
  background: rgba(255, 255, 255, 0.82);
  border-color: var(--stroke);
  color: var(--text);
}

.pagination .page-link {
  background: #fff;
  color: var(--text);
  border-color: var(--stroke);
}

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

@media (max-width: 768px) {
  .site-nav {
    background: rgba(255, 255, 255, 0.92);
  }
}

:root {
  --bg: #f7f8fc;
  --bg2: #ffffff;
  --panel: rgba(255,255,255,.88);
  --panel2: #ffffff;
  --stroke: rgba(25,32,50,.10);
  --stroke2: rgba(25,32,50,.18);
  --text: #171a24;
  --muted: #687083;
  --gold: #b88720;
  --gold-lt: #d6aa3e;
  --violet: #6756d8;
  --grad: linear-gradient(120deg,#b88720 0%,#e4c263 45%,#b88720 100%);
  --shadow: 0 24px 60px -25px rgba(31,38,60,.18);
}

html,
body {
  background: var(--bg) !important;
  color: var(--text) !important;
}

body {
  background: #f7f8fc !important;
}

.bg-layer {
  background:
    radial-gradient(900px 600px at 5% 0,rgba(201,162,75,.14),transparent 62%),
    radial-gradient(800px 600px at 95% 10%,rgba(108,92,231,.09),transparent 62%),
    radial-gradient(800px 650px at 50% 100%,rgba(201,162,75,.08),transparent 65%),
    linear-gradient(180deg,#ffffff 0%,#f7f8fc 48%,#f4f5f9 100%) !important;
}

.bg-grid {
  opacity: .28 !important;
  background-image:
    linear-gradient(rgba(25,32,50,.035) 1px,transparent 1px),
    linear-gradient(90deg,rgba(25,32,50,.035) 1px,transparent 1px) !important;
}

.bg-noise {
  opacity: .015 !important;
  mix-blend-mode: multiply !important;
}

.orb.a {
  background: rgba(201,162,75,.10) !important;
}

.orb.b {
  background: rgba(108,92,231,.07) !important;
}

.orb.c {
  background: rgba(201,162,75,.06) !important;
}

#preloader {
  background: #f7f8fc !important;
  color: var(--text);
}

.preloader-line {
  background: rgba(25,32,50,.10) !important;
}

.preloader-inner small {
  color: var(--muted) !important;
}

.fk-nav:before {
  background: rgba(255,255,255,.78) !important;
  border-bottom-color: var(--stroke) !important;
  box-shadow: 0 10px 35px rgba(31,38,60,.06);
}

.fk-nav.scrolled:before {
  background: rgba(255,255,255,.94) !important;
  border-bottom-color: var(--stroke) !important;
}

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

.brand-copy small {
  color: var(--gold) !important;
}

.nav-link {
  color: #697184 !important;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text) !important;
  background: rgba(184,135,32,.08) !important;
}

.search {
  background: rgba(245,246,250,.95) !important;
  border-color: var(--stroke) !important;
}

.search input {
  color: var(--text) !important;
}

.search input::placeholder {
  color: #9198a8 !important;
}

.mobile-nav-toggle {
  background: #fff !important;
  color: var(--text) !important;
  border-color: var(--stroke) !important;
}

.btn-dark {
  background: #fff !important;
  color: var(--text) !important;
  border-color: var(--stroke2) !important;
}

.btn-dark:hover {
  color: var(--gold) !important;
  background: #fff !important;
}

.btn-outline-dark,
.btn-outline-secondary {
  background: #fff !important;
  color: var(--text) !important;
  border-color: var(--stroke2) !important;
}

.btn-outline-dark:hover,
.btn-outline-secondary:hover {
  color: var(--gold) !important;
  background: #fff !important;
}

.hero {
  background: transparent !important;
}

.hero h1 {
  color: var(--text) !important;
}

.hero-desc {
  color: var(--muted) !important;
}

.hero-badge {
  background: rgba(255,255,255,.78) !important;
  border-color: var(--stroke) !important;
  color: var(--muted) !important;
}

.typed-wrap {
  color: var(--gold) !important;
}

.hero-book {
  background: #fff !important;
  border-color: var(--stroke) !important;
  box-shadow: var(--shadow) !important;
}

.hero-book:after {
  background: linear-gradient(180deg,transparent 45%,rgba(0,0,0,.20)) !important;
}

.hero-book-label small {
  color: var(--gold) !important;
}

.category-card {
  background: linear-gradient(145deg,#fff,#f7f8fc) !important;
  border-color: var(--stroke) !important;
  color: var(--text) !important;
  box-shadow: var(--shadow);
}

.category-card span {
  color: var(--text) !important;
}

.category-card small {
  color: var(--muted) !important;
}

.category-card:hover {
  box-shadow: 0 25px 60px rgba(31,38,60,.14) !important;
}

.book-card {
  background: #fff !important;
  border-color: var(--stroke) !important;
  box-shadow: var(--shadow) !important;
}

.book-card:hover {
  box-shadow: 0 30px 70px rgba(31,38,60,.16) !important;
}

.cover,
.detail-cover {
  background: #eef0f5 !important;
  border-color: var(--stroke) !important;
}

.cover:after {
  background: linear-gradient(180deg,transparent 45%,rgba(0,0,0,.18)) !important;
}

.book-category {
  color: var(--gold) !important;
}

.book-title {
  color: var(--text) !important;
}

.book-title:hover {
  color: var(--gold) !important;
}

.book-author {
  color: var(--muted) !important;
}

.book-price {
  color: var(--gold) !important;
}

.book-card-body {
  color: var(--text) !important;
}

.cover-arrow {
  background: rgba(255,255,255,.92) !important;
  color: var(--text) !important;
  border-color: var(--stroke2) !important;
}

.listing-hero,
.page-hero {
  background: linear-gradient(
    135deg,
    rgba(201,162,75,.10),
    rgba(108,92,231,.06) 55%,
    rgba(255,255,255,.85)
  ) !important;
  border-color: var(--stroke) !important;
  box-shadow: var(--shadow) !important;
}

.listing-hero p,
.page-hero p {
  color: var(--muted) !important;
}

.page-back {
  background: #fff !important;
  color: var(--muted) !important;
  border-color: var(--stroke) !important;
}

.page-back:hover {
  color: #fff !important;
}

.filter-form {
  background: rgba(255,255,255,.90) !important;
  border-color: var(--stroke) !important;
  box-shadow: 0 12px 35px rgba(31,38,60,.06);
}

.filter-form input,
.filter-form select {
  color: var(--text) !important;
  background: #fff !important;
}

.filter-form option {
  background: #fff !important;
  color: var(--text) !important;
}

.empty {
  background: #fff !important;
  color: var(--muted) !important;
  border-color: var(--stroke2) !important;
}

.empty h4 {
  color: var(--text) !important;
}

.content-body,
.reader-content {
  color: #343a48 !important;
}

.reader-content {
  background: #fff !important;
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
  padding: 35px;
  border-radius: 24px;
}

.reader-content h1,
.reader-content h2,
.reader-content h3,
.reader-content h4,
.reader-content h5,
.reader-content strong {
  color: var(--text) !important;
}

.comment {
  border-color: var(--stroke) !important;
}

.comment b {
  color: var(--gold) !important;
}

.checkout-card,
.info-card,
.policy-card {
  background: #fff !important;
  border-color: var(--stroke) !important;
  box-shadow: var(--shadow) !important;
}

.checkout-card h1,
.info-card h3,
.policy-card h3 {
  color: var(--text) !important;
}

.checkout-card p,
.info-card p,
.policy-card p {
  color: var(--muted) !important;
}

.price-line {
  border-color: var(--stroke) !important;
}

.price-line strong {
  color: var(--gold) !important;
}

.form-control,
.form-select {
  background: #fff !important;
  color: var(--text) !important;
  border-color: var(--stroke2) !important;
}

.form-control::placeholder {
  color: #9299a8 !important;
}

.notification {
  background: #fff !important;
  border-color: var(--stroke) !important;
  color: var(--text) !important;
  box-shadow: 0 10px 30px rgba(31,38,60,.06);
}

.notification p {
  color: var(--muted) !important;
}

.notification small {
  color: #7b8291 !important;
}

.notification-icon {
  background: rgba(184,135,32,.10) !important;
  color: var(--gold) !important;
}

.contact-line > i,
.contact-icon {
  background: rgba(184,135,32,.10) !important;
  color: var(--gold) !important;
}

.contact-line small {
  color: var(--muted) !important;
}

.contact-form label {
  color: var(--gold) !important;
}

footer {
  background: #eef0f5 !important;
  border-top-color: var(--stroke) !important;
  color: var(--muted) !important;
}

.footer-links a {
  color: var(--muted) !important;
}

.footer-links a:hover {
  color: var(--gold) !important;
}

.footer-bottom {
  border-top-color: var(--stroke) !important;
  color: #7b8291 !important;
}

#toTop {
  background: #fff !important;
  color: var(--gold) !important;
  border-color: var(--stroke2) !important;
  box-shadow: 0 10px 30px rgba(31,38,60,.12);
}

#toTop:hover {
  color: #fff !important;
}

.mobile-nav-backdrop {
  background: rgba(20,24,35,.20) !important;
}

.fk-nav-drawer {
  background: rgba(255,255,255,.98) !important;
  color: var(--text) !important;
}

.fk-nav-drawer .nav-link {
  color: var(--text) !important;
}

.drawer-head button {
  background: #fff !important;
  color: var(--text) !important;
  border-color: var(--stroke) !important;
}

.progress {
  background: #e9ebf0 !important;
}

.fk-swal {
  background: #fff !important;
  color: var(--text) !important;
  border-color: var(--stroke) !important;
}

.fk-swal .swal2-title {
  color: var(--text) !important;
}

.fk-swal .swal2-html-container {
  color: var(--muted) !important;
}

@media (max-width: 1180px) {
  .fk-nav-drawer {
    background: rgba(255,255,255,.98) !important;
  }
}

 .mybook-tabs {
        display: flex;
        gap: 10px;
        padding: 6px;
        background: #fff;
        border: 1px solid var(--stroke);
        border-radius: 18px;
        width: fit-content;
        box-shadow: 0 10px 30px rgba(31, 38, 60, .06);
    }

    .mybook-tab {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 11px 20px;
        border-radius: 13px;
        color: var(--muted);
        font-size: 12px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: .06em;
        transition: .3s ease;
    }

    .mybook-tab:hover {
        color: var(--gold);
        background: rgba(184, 135, 32, .08);
    }

    .mybook-tab.active {
        color: #fff;
        background: var(--grad);
        box-shadow: 0 8px 20px rgba(184, 135, 32, .25);
    }

    @media(max-width:575px) {
        .mybook-tabs {
            width: 100%;
        }

        .mybook-tab {
            flex: 1;
            justify-content: center;
            padding: 11px 8px;
            font-size: 10px;
        }
    }

  .popular-rank {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: 100px;
    background: var(--grad);
    color: #17120a;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    box-shadow: 0 8px 20px rgba(184,135,32,.25);
}

.sales-count {
    position: absolute;
    left: 18px;
    bottom: 18px;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 10px;
    border-radius: 100px;
    background: rgba(255,255,255,.94);
    border: 1px solid var(--stroke);
    color: var(--gold);
    font-size: 10px;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(31,38,60,.10);
}

.sales-count i {
    font-size: 11px;
}

@media (max-width: 575px) {
    .popular-rank {
        top: 15px;
        left: 15px;
    }

    .sales-count {
        left: 15px;
        bottom: 15px;
    }
}

.mybook-tabs {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    padding: 5px;
    background: #fff;
    border: 1px solid var(--stroke);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(31,38,60,.06);
}

.mybook-tab {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 11px 14px;
    border-radius: 11px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    white-space: nowrap;
    transition: .3s ease;
}

.mybook-tab:hover {
    color: var(--gold);
    background: rgba(184,135,32,.08);
}

.mybook-tab.active {
    color: #fff;
    background: var(--grad);
    box-shadow: 0 7px 18px rgba(184,135,32,.22);
}

.mybook-tab.recycle-tab {
    color: #dc5a5a;
}

.mybook-tab.recycle-tab:hover {
    color: #c73f3f;
    background: rgba(220,90,90,.08);
}

.book-mark-badge {
    position: absolute;
    top: 13px;
    right: 13px;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 10px;
    border-radius: 100px;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    backdrop-filter: blur(10px);
}

.book-mark-badge.marked {
    background: rgba(184,135,32,.95);
    color: #fff;
    box-shadow: 0 7px 18px rgba(184,135,32,.25);
}

.book-mark-badge.unmarked {
    background: rgba(255,255,255,.92);
    color: var(--muted);
    border: 1px solid var(--stroke);
}

.book-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.book-actions .btn {
    flex: 1 1 auto;
}

.book-actions form {
    margin: 0;
    flex: 1 1 auto;
}

.book-actions form .btn {
    width: 100%;
}

@media (max-width: 767px) {
    .mybook-tabs {
        width: 100%;
    }

    .mybook-tab {
        padding: 10px 8px;
        font-size: 9px;
    }

    .mybook-tab i {
        font-size: 12px;
    }

    .filter-form {
        width: 100%;
    }
}

@media (max-width: 575px) {
    .mybook-tab {
        gap: 4px;
        padding: 10px 5px;
        font-size: 8px;
    }

    .mybook-tab i {
        font-size: 11px;
    }

    .book-actions .btn,
    .book-actions form {
        width: 100%;
        flex: 0 0 100%;
    }

    .book-mark-badge {
        top: 10px;
        right: 10px;
        padding: 5px 8px;
        font-size: 8px;
    }
}

.pagination{
    gap:5px;
}

.pagination .page-item .page-link{
    min-width:38px;
    height:38px;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:0 11px;
    border:1px solid #e5e7eb;
    border-radius:10px;
    background:#fff;
    color:#5f6675;
    font-size:12px;
    font-weight:600;
    box-shadow:none;
    transition:.25s ease;
}

.pagination .page-item .page-link:hover{
    color:#171a24;
    background:#f4f5f7;
    border-color:#d8dbe2;
}

.pagination .page-item.active .page-link{
    color:#fff;
    background:#171a24;
    border-color:#171a24;
}

.pagination .page-item.disabled .page-link{
    color:#b7bbc4;
    background:#f7f8fa;
    border-color:#e8eaf0;
}

.pagination .page-link:focus{
    box-shadow:none;
}


@media (max-width: 1180px) {
    .mobile-nav-backdrop {
        position: fixed;
        inset: 0;
        background: rgba(24, 27, 39, .42);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity .3s ease, visibility .3s ease;
    }

    .mobile-nav-backdrop.show {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .fk-nav-drawer {
        position: fixed !important;
        top: 10px !important;
        right: 10px !important;
        bottom: 10px !important;
        left: auto !important;
        z-index: 9999;
        width: min(365px, calc(100vw - 20px)) !important;
        max-width: 100%;
        height: auto !important;
        max-height: none !important;
        padding: 20px 16px 16px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        gap: 0 !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        background: #fff !important;
        border: 1px solid rgba(25, 32, 50, .09);
        border-radius: 25px !important;
        box-shadow: 0 25px 80px rgba(24, 27, 39, .20);
        transform: translateX(calc(100% + 25px));
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
        transition: transform .35s cubic-bezier(.22, 1, .36, 1), opacity .25s ease, visibility .25s ease;
    }

    .fk-nav-drawer.open {
        transform: translateX(0);
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
    }

    .drawer-head {
        flex: 0 0 auto;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 12px;
        padding: 2px 0 18px !important;
        margin: 0 !important;
        border-bottom: 1px solid #edf0f5;
    }

    .drawer-head .navbar-brand {
        display: inline-flex;
        align-items: center;
        gap: 11px;
        min-width: 0;
        margin: 0 !important;
    }

    .drawer-head .brand-mark {
        width: 43px;
        height: 43px;
        flex: 0 0 43px;
        display: grid;
        place-items: center;
        border-radius: 14px;
        font-size: 22px;
        box-shadow: 0 7px 18px rgba(190, 145, 42, .20);
    }

    .drawer-head .brand-copy {
        color: #202331 !important;
        font-size: 20px;
        line-height: 1.15;
    }

    .drawer-head .brand-copy small {
        display: block;
        margin-top: 4px;
        font-size: 9px;
        letter-spacing: .19em;
    }

    #mobileNavClose {
        width: 40px;
        height: 40px;
        flex: 0 0 40px;
        display: grid;
        place-items: center;
        border: 1px solid #e7e9ef;
        border-radius: 13px;
        background: #fff;
        color: #505666;
        font-size: 17px;
        transition: .25s ease;
    }

    #mobileNavClose:hover {
        background: #fff4e5;
        color: #a97712;
        border-color: #f0d9a6;
        transform: rotate(90deg);
    }

    .drawer-search {
        flex: 0 0 auto;
        width: 100% !important;
        margin: 16px 0 19px !important;
        padding: 0 !important;
    }

    .drawer-search .search {
        width: 100% !important;
        min-height: 47px;
        display: flex !important;
        align-items: center;
        gap: 7px;
        padding: 5px 5px 5px 14px !important;
        border: 1px solid #e5e8f0 !important;
        border-radius: 16px !important;
        background: #f7f8fc !important;
        box-shadow: inset 0 1px 2px rgba(20, 25, 40, .02);
    }

    .drawer-search .search input {
        width: 100%;
        min-width: 0;
        height: 35px;
        padding: 0 4px;
        border: 0 !important;
        outline: 0 !important;
        background: transparent !important;
        color: #252938 !important;
        font-size: 12px;
        box-shadow: none !important;
    }

    .drawer-search .search input::placeholder {
        color: #969daf;
    }

    .drawer-search .search button {
        width: 35px;
        height: 35px;
        flex: 0 0 35px;
        display: grid;
        place-items: center;
        border: 0;
        border-radius: 12px;
        background: var(--grad);
        color: #241b08;
        font-size: 14px;
    }

    .nav-actions {
        flex: 0 0 auto;
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        gap: 7px !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .nav-actions > .nav-link {
        position: relative;
        width: 100%;
        min-height: 47px;
        display: flex !important;
        align-items: center;
        justify-content: flex-start !important;
        gap: 13px;
        padding: 0 15px !important;
        margin: 0 !important;
        border: 1px solid transparent;
        border-radius: 14px;
        color: #52596b !important;
        background: transparent;
        font-size: 12px !important;
        font-weight: 700;
        letter-spacing: .035em;
        text-decoration: none;
        transition: background .22s ease, color .22s ease, transform .22s ease;
    }

    .nav-actions > .nav-link i {
        width: 21px;
        flex: 0 0 21px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: #898fa0;
        font-size: 17px;
        transition: color .22s ease;
    }

    .nav-actions > .nav-link:hover {
        background: #f7f5ef;
        color: #98701b !important;
        transform: translateX(2px);
    }

    .nav-actions > .nav-link:hover i {
        color: #b88720;
    }

    .nav-actions > .nav-link.active {
        color: #9a7018 !important;
        background: #faf5e9;
        border-color: #f0e5ca;
    }

    .nav-actions > .nav-link.active i {
        color: #b88720;
    }

    .nav-actions > .nav-link.active::after {
        content: "";
        position: absolute;
        top: 12px;
        bottom: 12px;
        left: 0;
        width: 3px;
        border-radius: 0 4px 4px 0;
        background: #c49a35;
    }

    .nav-actions > .btn {
        width: 100%;
        min-height: 47px;
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 9px;
        margin: 0 !important;
        padding: 12px 16px !important;
        border-radius: 15px !important;
        font-size: 11px;
        font-weight: 800;
        letter-spacing: .07em;
        text-decoration: none;
        transition: transform .22s ease, box-shadow .22s ease;
    }

    .nav-actions > .btn-gold {
        margin-top: 8px !important;
        color: #211908 !important;
        box-shadow: 0 8px 20px rgba(190, 145, 42, .19);
    }

    .nav-actions > .btn-dark {
        background: #fff !important;
        color: #424858 !important;
        border: 1px solid #e1e4eb !important;
    }

    .nav-actions > .btn:hover {
        transform: translateY(-2px);
    }

    .nav-actions > form {
        width: 100%;
        margin: 0 !important;
    }

    .nav-actions > form > button {
        width: 100%;
    }

    .nav-actions > form .btn-dark {
        min-height: 45px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 9px;
        border-radius: 15px !important;
        background: #fff !important;
        color: #424858 !important;
        border: 1px solid #e1e4eb !important;
        font-size: 11px;
        font-weight: 800;
        letter-spacing: .07em;
    }

    

    .mobile-nav-toggle {
        width: 43px;
        height: 43px;
        display: grid !important;
        place-items: center;
        border: 1px solid rgba(25, 32, 50, .10) !important;
        border-radius: 14px !important;
        background: #fff !important;
        color: #252938 !important;
        box-shadow: 0 6px 20px rgba(20, 25, 40, .06);
        font-size: 22px;
    }

    body.nav-open,
    body:has(.fk-nav-drawer.open) {
        overflow: hidden;
    }
}

@media (max-width: 420px) {
    .fk-nav-drawer {
        top: 7px !important;
        right: 7px !important;
        bottom: 7px !important;
        width: calc(100vw - 14px) !important;
        padding: 17px 14px 14px !important;
        border-radius: 22px !important;
    }

    .drawer-search {
        margin: 14px 0 15px !important;
    }

    .nav-actions {
        gap: 5px !important;
    }

    .nav-actions > .nav-link {
        min-height: 44px;
    }

    .nav-actions > .btn {
        min-height: 45px;
    }
}

.mobile-bottom-nav,
.drawer-policies {
    display: none;
}

@media (max-width: 767px) {
    footer {
        display: none !important;
    }

    .mobile-bottom-nav {
        position: fixed;
        z-index: 9990;
        left: 10px;
        right: 10px;
        bottom: calc(8px + env(safe-area-inset-bottom, 0px));

        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 3px;
        padding: 8px 5px;
        min-height: 70px;

        background: rgba(255,255,255,.96);
        border: 1px solid rgba(29,35,51,.09);
        border-radius: 23px;
        box-shadow: 0 10px 35px rgba(25,31,46,.10);

        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
    }

    .mobile-bottom-item {
        position: relative;
        min-width: 0;
        min-height: 52px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        border-radius: 15px;

        color: #858b99;
        text-decoration: none;
        transition: .22s ease;
    }

    .mobile-bottom-item i {
        font-size: 20px;
        line-height: 1;
    }

    .mobile-bottom-item span {
        font-size: 10px;
        line-height: 1.2;
        font-weight: 700;
        white-space: nowrap;
    }

    .mobile-bottom-item.active {
        color: #997016;
        background: #faf4e5;
    }

    .mobile-bottom-item.active i {
        color: #b88720;
    }

    .mobile-bottom-item.active::before {
        content: "";
        position: absolute;
        top: 2px;
        left: 50%;
        transform: translateX(-50%);
        width: 17px;
        height: 3px;
        border-radius: 5px;
        background: #b88720;
    }

    main {
        padding-bottom: calc(94px + env(safe-area-inset-bottom, 0px));
    }

    .drawer-policies {
        display: flex;
        flex-direction: column;
        gap: 3px;
        flex-shrink: 0;
        margin-top: 20px;
        padding-top: 17px;
        border-top: 1px solid #edf0f5;
    }

    .drawer-policies-title {
        padding: 0 12px 9px;
        color: #969baa;
        font-size: 9px;
        font-weight: 800;
        letter-spacing: .15em;
    }

    .drawer-policies a {
        min-height: 41px;
        display: flex;
        align-items: center;
        gap: 11px;
        padding: 0 12px;
        border-radius: 12px;
        color: #606779;
        text-decoration: none;
        font-size: 11px;
        font-weight: 600;
    }

    .drawer-policies a > i:first-child {
        width: 18px;
        color: #b88720;
        font-size: 15px;
    }

    .drawer-policies a > i:last-child {
        margin-left: auto;
        color: #a5aab6;
        font-size: 10px;
    }

    .drawer-policies a:hover {
        color: #98701b;
        background: #faf5e9;
    }
}

@media (max-width: 360px) {
    .mobile-bottom-nav {
        left: 6px;
        right: 6px;
        padding: 7px 3px;
    }

    .mobile-bottom-item i {
        font-size: 18px;
    }

    .mobile-bottom-item span {
        font-size: 9px;
    }
}
@media (max-width: 767px) {
    .mobile-bottom-nav {
        position: fixed !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;

        width: 100% !important;
        margin: 0 !important;

        border-radius: 0 !important;
        border-left: 0 !important;
        border-right: 0 !important;
        border-bottom: 0 !important;
        border-top: 1px solid rgba(29, 35, 51, .10);

        padding: 8px 5px calc(8px + env(safe-area-inset-bottom, 0px)) !important;
        min-height: 70px;

        background: rgba(255, 255, 255, .98);
        box-shadow: 0 -5px 22px rgba(25, 31, 46, .08);

        z-index: 9990;
    }

   

    main {
        padding-bottom: calc(90px + env(safe-area-inset-bottom, 0px)) !important;
    }
}