/* ==========================================================
   Zenvora Digital - purple glass theme for ebook stores
   ========================================================== */

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background-color: var(--bg-2); }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  background-color: var(--bg-2);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Gradient lives on a fixed layer: works on iOS Safari and in full-page captures */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background: linear-gradient(160deg, var(--bg-1) 0%, var(--bg-2) 55%, var(--bg-3) 100%);
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: 'Sora', 'Inter', sans-serif; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.main { position: relative; z-index: 1; padding-bottom: 24px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); border: 0; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; color: #000; padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { left: 8px; }

:focus-visible { outline: 2px solid #d8b4fe; outline-offset: 3px; border-radius: 8px; }

.icon { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- Background glow orbs ---------- */
.bg-orbs { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.bg-orbs span { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; animation: orb 18s ease-in-out infinite alternate; }
.bg-orbs span:nth-child(1) { width: 480px; height: 480px; background: var(--accent); top: -120px; left: -100px; }
.bg-orbs span:nth-child(2) { width: 420px; height: 420px; background: #4f46e5; top: 35%; right: -140px; animation-duration: 22s; }
.bg-orbs span:nth-child(3) { width: 380px; height: 380px; background: #c026d3; bottom: -140px; left: 25%; opacity: .35; animation-duration: 26s; }
@keyframes orb { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(40px, 60px, 0) scale(1.15); } }

/* ---------- Glass ---------- */
.glass {
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(var(--blur)) saturate(150%);
  backdrop-filter: blur(var(--blur)) saturate(150%);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: var(--radius);
  box-shadow: 0 10px 40px rgba(var(--accent-rgb), .28), inset 0 1px 0 rgba(255, 255, 255, .28);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .9rem 1.7rem; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, .3);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff; font-weight: 600; font-size: 1rem; line-height: 1.2;
  box-shadow: 0 0 26px rgba(var(--accent-rgb), .55), inset 0 1px 0 rgba(255, 255, 255, .35);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 0 40px rgba(var(--accent-rgb), .85), inset 0 1px 0 rgba(255, 255, 255, .4); filter: brightness(1.08); }
.btn:active { transform: translateY(0); }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.btn--ghost { background: var(--glass-bg); -webkit-backdrop-filter: blur(var(--blur)); backdrop-filter: blur(var(--blur)); box-shadow: none; }
.btn--small { padding: .6rem 1.15rem; font-size: .9rem; }
.btn--block { width: 100%; }

.icon-btn {
  position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px;
  border-radius: 50%; background: transparent; border: 1px solid transparent; cursor: pointer; transition: background .2s, border-color .2s;
}
.icon-btn:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .25); }
.icon-btn .icon { width: 22px; height: 22px; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-block; margin: 0 0 .9rem; padding: .3rem .85rem; border-radius: 999px;
  font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #e9d5ff;
  background: rgba(var(--accent-rgb), .22); border: 1px solid rgba(255, 255, 255, .2);
}
.section { padding-block: 56px; }
.section--narrow { max-width: 820px; }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 32px; flex-wrap: wrap; }
.section__head--center { justify-content: center; text-align: center; }
.section__title { font-size: clamp(1.7rem, 4vw, 2.6rem); font-weight: 700; background: linear-gradient(180deg, #fff, #d9c7ff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.section__sub { color: var(--muted); max-width: 56ch; margin-top: .3rem; }
.section__head--center .section__sub { margin-inline: auto; }
.page-head { padding: 28px clamp(20px, 4vw, 40px); margin: 32px 0 28px; }
.page-head .section__title { margin-bottom: .2em; }

.rte p:last-child { margin-bottom: 0; }
.rte h2 { font-size: 1.4rem; }
.rte a { text-decoration: underline; color: #e9d5ff; }
.rte ul { list-style: disc; padding-left: 1.3em; margin-bottom: 1em; }
.rte ol { list-style: decimal; padding-left: 1.3em; margin-bottom: 1em; }
.prose { padding: clamp(20px, 4vw, 40px); }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-in, .design-mode .reveal { opacity: 1 !important; transform: none !important; }

/* ---------- Announcement bar ---------- */
.announce { position: relative; z-index: 2; text-align: center; padding: 9px 16px; font-size: .85rem; font-weight: 500; letter-spacing: .02em; background: linear-gradient(90deg, rgba(var(--accent-rgb), .55), rgba(79, 70, 229, .55)); border-bottom: 1px solid rgba(255, 255, 255, .18); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.announce__text { display: inline-flex; align-items: center; gap: .5rem; }

/* ---------- Header ---------- */
.header-wrap { position: relative; z-index: 50; padding-top: 14px; }
.header-wrap.is-sticky { position: sticky; top: 0; }
.header { display: flex; align-items: center; gap: 12px; padding: 8px 14px; border-radius: 999px; transition: box-shadow .3s, background .3s; }
.header-wrap.is-scrolled .header { background: rgba(20, 8, 48, .55); }
.header__brand { display: inline-flex; align-items: center; gap: 10px; margin-right: auto; }
.header__mark { width: 44px; height: auto; filter: drop-shadow(0 0 10px rgba(var(--accent-rgb), .8)); }
.header__logo { height: 48px; width: auto; }
.header__name { font-family: 'Sora', sans-serif; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .95rem; white-space: nowrap; }
.header__nav { display: none; }
.header__nav ul { display: flex; gap: 4px; }
.header__nav a { display: block; padding: 8px 16px; border-radius: 999px; font-weight: 500; font-size: .95rem; color: #e9defa; transition: background .2s, color .2s; }
.header__nav a:hover, .header__nav a[aria-current] { background: rgba(255, 255, 255, .14); color: #fff; }
.header__icons { display: flex; align-items: center; gap: 2px; }
.header__burger { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: transparent; border: 0; cursor: pointer; order: -1; }
.header__burger .when-open { display: none; }
.header__burger[aria-expanded='true'] .when-open { display: inline; }
.header__burger[aria-expanded='true'] .when-closed { display: none; }
.cart-count { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: linear-gradient(135deg, #f0abfc, var(--accent)); color: #1a0b2e; font-size: .7rem; font-weight: 700; display: grid; place-items: center; }
.cart-count.is-empty { display: none; }
.mobile-nav { margin-top: 10px; padding: 10px; }
.mobile-nav a { display: block; padding: 12px 16px; border-radius: 14px; font-weight: 500; }
.mobile-nav a:hover { background: rgba(255, 255, 255, .12); }

@media (min-width: 900px) {
  .header { padding: 8px 18px; }
  .header__nav { display: block; }
  .header__burger { display: none; }
  .header__brand { margin-right: 24px; }
  .header__icons { margin-left: auto; }
  .header__nav { margin-left: auto; margin-right: 8px; }
  .mobile-nav { display: none !important; }
}

/* ---------- Hero ---------- */
.hero { display: grid; gap: 40px; align-items: center; padding-block: 48px 40px; }
.hero__title { font-size: clamp(2.4rem, 7vw, 4.6rem); font-weight: 800; line-height: 1.05; margin-bottom: .35em; background: linear-gradient(180deg, #ffffff 10%, #cdb4ff 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero__sub { font-size: clamp(1rem, 2.4vw, 1.2rem); color: var(--muted); max-width: 46ch; margin-bottom: 1.6rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 1.8rem; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .95rem; border-radius: 999px; font-size: .85rem; font-weight: 500; box-shadow: none; }
.chip .icon { color: #d8b4fe; width: 1em; height: 1em; }

.hero__visual { display: grid; place-items: center; }
.book-stage { position: relative; width: min(100%, 420px); aspect-ratio: 1 / 1.05; display: grid; place-items: center; perspective: 1100px; }
.book-stage::before { content: ''; position: absolute; inset: 14% 8% 10%; border-radius: 50%; background: radial-gradient(circle, rgba(var(--accent-rgb), .6), transparent 68%); filter: blur(30px); }
.book { position: relative; width: 52%; aspect-ratio: 2 / 3; transform: rotateY(-22deg) rotateX(5deg); transform-style: preserve-3d; animation: bookfloat 6s ease-in-out infinite; z-index: 2; }
@keyframes bookfloat { 0%, 100% { transform: rotateY(-22deg) rotateX(5deg) translateY(0); } 50% { transform: rotateY(-16deg) rotateX(3deg) translateY(-14px); } }
.book__cover {
  position: absolute; inset: 0; overflow: hidden; border-radius: 6px 14px 14px 6px;
  background: linear-gradient(150deg, #3b1a85 0%, #1b0a45 60%, #0d0620 100%);
  border: 1px solid rgba(255, 255, 255, .28);
  box-shadow: 8px 0 0 #e7dcff, 11px 0 0 #bfa6ff, 34px 38px 60px rgba(0, 0, 0, .55), 0 0 60px rgba(var(--accent-rgb), .55);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 14px; gap: 8px;
}
.book__cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, rgba(255, 255, 255, .22), transparent 35%); pointer-events: none; }
.book__cover > img { width: 100%; height: 100%; object-fit: cover; }
.book__cover > img.book__mark { width: 62%; height: auto; object-fit: contain; filter: drop-shadow(0 0 14px rgba(var(--accent-rgb), .9)); }
.book__title { font-family: 'Sora', sans-serif; font-weight: 700; font-size: clamp(.95rem, 2.4vw, 1.3rem); line-height: 1.2; }
.book__tag { font-size: .65rem; letter-spacing: .16em; text-transform: uppercase; color: #cdb8f5; }
.pedestal { position: absolute; bottom: 6%; width: 78%; height: 11%; border-radius: 50%; background: radial-gradient(ellipse at center, rgba(255, 255, 255, .35), rgba(var(--accent-rgb), .25) 60%, transparent 72%); border: 1px solid rgba(255, 255, 255, .25); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 0 50px rgba(var(--accent-rgb), .7); }
.float-chip { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: .45rem; padding: .55rem .95rem; border-radius: 999px; font-size: .8rem; font-weight: 600; box-shadow: 0 8px 30px rgba(0, 0, 0, .3); animation: chipfloat 5s ease-in-out infinite; }
.float-chip .icon { color: #f5d0fe; width: 1em; height: 1em; }
.float-chip--1 { top: 8%; left: 0; }
.float-chip--2 { bottom: 20%; right: 0; animation-delay: -2.5s; }
@media (min-width: 900px) {
  .float-chip--1 { left: -2%; }
  .float-chip--2 { right: -2%; }
}
@keyframes chipfloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

@media (min-width: 900px) {
  .hero { grid-template-columns: 1.05fr .95fr; gap: 60px; padding-block: 72px 60px; }
}

/* ---------- Grids ---------- */
.grid { display: grid; gap: 18px; }
.grid--products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--features { grid-template-columns: 1fr; }
.grid--reviews { grid-template-columns: 1fr; }
@media (min-width: 600px) {
  .grid--products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
  .grid--features { grid-template-columns: repeat(2, 1fr); }
  .grid--reviews { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .grid--products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grid--features { grid-template-columns: repeat(4, 1fr); }
  .grid--reviews { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Product card ---------- */
.card { display: flex; flex-direction: column; overflow: hidden; transition: transform .3s ease, box-shadow .3s ease, border-color .3s; }
.card:hover { transform: translateY(-6px); border-color: rgba(255, 255, 255, .45); box-shadow: 0 18px 50px rgba(var(--accent-rgb), .5), inset 0 1px 0 rgba(255, 255, 255, .35); }
.card__media { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; background: rgba(255, 255, 255, .06); }
.card__media img, .card__placeholder { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card__placeholder { padding: 18%; fill: #c4a8ff; background: rgba(255, 255, 255, .05); }
.card:hover .card__media img { transform: scale(1.06); }
.card__body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 18px; flex: 1; }
.card__title { font-size: 1rem; font-weight: 600; margin: 0; line-height: 1.3; }
.card__title a:hover { color: #e9d5ff; }
.card__vendor { margin: 0; font-size: .8rem; color: var(--muted); }
.card .btn { margin-top: auto; align-self: flex-start; }
.badge { position: absolute; top: 10px; left: 10px; display: inline-flex; align-items: center; gap: .3rem; padding: .25rem .7rem; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #fff; background: rgba(20, 8, 48, .6); border: 1px solid rgba(255, 255, 255, .25); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.badge .icon { width: .95em; height: .95em; color: #f5d0fe; }
.badge--sale { background: linear-gradient(135deg, #ec4899, #a855f7); border-color: transparent; }
.badge--out { background: rgba(60, 60, 70, .75); }
.badge--inline { position: static; }

/* ---------- Price ---------- */
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; margin: 2px 0 10px; }
.price__now { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 1.15rem; color: #fff; }
.price__was { color: var(--muted); font-size: .9rem; }
.price__from { color: var(--muted); font-size: .8rem; }
.price--large .price__now { font-size: clamp(1.8rem, 4vw, 2.3rem); }
.price--large { align-items: center; }

/* ---------- Feature cards ---------- */
.feature { padding: 26px 22px; text-align: left; transition: transform .3s; }
.feature:hover { transform: translateY(-5px); }
.feature__icon { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; margin-bottom: 16px; color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: 0 0 26px rgba(var(--accent-rgb), .6), inset 0 1px 0 rgba(255, 255, 255, .4); }
.feature__icon .icon { width: 26px; height: 26px; }
.feature h3 { font-size: 1.1rem; }
.feature p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------- Signup ---------- */
.signup { display: grid; gap: 28px; align-items: center; padding: clamp(24px, 5vw, 56px); background: linear-gradient(135deg, rgba(var(--accent-rgb), .28), rgba(255, 255, 255, .08)); }
.signup__row { display: flex; flex-direction: column; gap: 12px; }
.signup input[type='email'], .searchbar input[type='search'] {
  width: 100%; padding: .95rem 1.3rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .3);
  background: rgba(10, 4, 28, .45); color: #fff; outline: none; transition: border-color .2s, box-shadow .2s;
}
.signup input::placeholder, .searchbar input::placeholder { color: #a794d3; }
.signup input:focus, .searchbar input:focus { border-color: #d8b4fe; box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .3); }
.signup__note { margin: 10px 4px 0; font-size: .8rem; color: var(--muted); }
.form-ok { display: flex; align-items: center; gap: .5rem; padding: 14px 18px; border-radius: 16px; background: rgba(34, 197, 94, .18); border: 1px solid rgba(134, 239, 172, .4); margin: 0; }
.form-error { padding: 10px 14px; border-radius: 12px; background: rgba(239, 68, 68, .2); border: 1px solid rgba(252, 165, 165, .4); font-size: .9rem; }
.form-error ul { list-style: none; }
@media (min-width: 760px) {
  .signup { grid-template-columns: 1fr 1fr; }
  .signup__row { flex-direction: row; }
  .signup__row .btn { white-space: nowrap; }
}

/* ---------- About ---------- */
.about { display: grid; gap: 28px; align-items: center; padding: clamp(22px, 4vw, 44px); }
.about__media { border-radius: calc(var(--radius) - 4px); overflow: hidden; border: 1px solid rgba(255, 255, 255, .25); box-shadow: 0 0 40px rgba(var(--accent-rgb), .4); }
.about__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
.about__copy .btn { margin-top: 1.2rem; }
@media (min-width: 800px) {
  .about:not(.about--noimg) { grid-template-columns: .8fr 1.2fr; gap: 48px; }
}

/* ---------- Reviews ---------- */
.review { margin: 0; padding: 26px 24px; display: flex; flex-direction: column; gap: 14px; }
.stars { display: flex; gap: 3px; color: rgba(255, 255, 255, .25); }
.stars .is-on { color: #fbbf24; filter: drop-shadow(0 0 6px rgba(251, 191, 36, .5)); }
.stars .icon { width: 18px; height: 18px; }
.review blockquote { margin: 0; font-size: 1rem; line-height: 1.6; }
.review figcaption { display: flex; flex-direction: column; margin-top: auto; }
.review figcaption span { color: var(--muted); font-size: .85rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq__item { padding: 0; overflow: hidden; }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; cursor: pointer; font-weight: 600; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__plus { position: relative; width: 22px; height: 22px; flex: none; }
.faq__plus::before, .faq__plus::after { content: ''; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; background: #d8b4fe; border-radius: 2px; transform: translate(-50%, -50%); transition: transform .3s; }
.faq__plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__plus::after { transform: translate(-50%, -50%) rotate(0); }
.faq__answer { padding: 0 22px 20px; color: var(--muted); }
.faq__answer p:last-child { margin: 0; }

/* ---------- Product page ---------- */
.product { display: grid; gap: 22px; padding-block: 28px 20px; align-items: start; }
.product__media { padding: 16px; }
.product__main-image { border-radius: calc(var(--radius) - 6px); overflow: hidden; aspect-ratio: 3 / 4; background: rgba(255, 255, 255, .05); display: grid; place-items: center; }
.product__main-image img { width: 100%; height: 100%; object-fit: cover; }
.product__thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.thumb { width: 64px; height: 80px; padding: 0; border-radius: 12px; overflow: hidden; border: 2px solid transparent; background: none; cursor: pointer; opacity: .7; transition: opacity .2s, border-color .2s; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.is-active, .thumb:hover { opacity: 1; border-color: #d8b4fe; }
.product__info { padding: clamp(20px, 4vw, 36px); }
.product__title { font-size: clamp(1.7rem, 4vw, 2.5rem); font-weight: 800; }
.perks { display: grid; gap: 8px; margin: 12px 0 22px; }
.perks li { display: flex; align-items: center; gap: 10px; color: #e9defa; }
.perks .icon { color: #86efac; width: 1.1em; height: 1.1em; }
.field { margin-bottom: 16px; }
.field label { display: block; margin-bottom: 6px; font-size: .85rem; font-weight: 600; color: var(--muted); }
.select { position: relative; }
.select select { width: 100%; appearance: none; -webkit-appearance: none; padding: .8rem 2.6rem .8rem 1.1rem; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .3); background: rgba(10, 4, 28, .5); cursor: pointer; }
.select select option { background: #1a0b2e; color: #fff; }
.select::after { content: ''; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; border-right: 2px solid #d8b4fe; border-bottom: 2px solid #d8b4fe; transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.product__buttons { display: grid; gap: 12px; }
.product__buttons .shopify-payment-button { margin: 0; }
.product__buttons .shopify-payment-button__button { border-radius: 999px !important; min-height: 50px; }
.product__buttons .shopify-payment-button__button--unbranded { background: var(--glass-bg) !important; border: 1px solid rgba(255, 255, 255, .35) !important; color: #fff !important; font-weight: 600; }
.product__buttons .shopify-payment-button__more-options { color: var(--muted) !important; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 22px 0; padding: 14px 0; border-block: 1px solid rgba(255, 255, 255, .15); color: var(--muted); font-size: .85rem; }
.trust li { display: inline-flex; align-items: center; gap: 6px; }
.trust .icon { color: #d8b4fe; }
.product__desc h2 { font-size: 1.15rem; }
.product__desc { color: #e5dbf7; }

.sticky-buy { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px 10px 18px; border-radius: 999px; background: rgba(20, 8, 48, .72); }
.sticky-buy div { display: flex; flex-direction: column; line-height: 1.25; font-size: .85rem; }
.sticky-buy strong { font-size: .85rem; }
.sticky-buy span { color: #d8b4fe; font-weight: 700; }

@media (min-width: 900px) {
  .product { grid-template-columns: .95fr 1.05fr; gap: 32px; padding-block: 44px 24px; }
  .product__media { position: sticky; top: 100px; }
  .sticky-buy { display: none !important; }
}

/* ---------- Collection / search ---------- */
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.toolbar p { margin: 0; }
.sort .select { min-width: 190px; }
.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.pagination a, .pagination span { display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border-radius: 999px; font-weight: 600; }
.pagination a:hover { background: rgba(255, 255, 255, .2); }
.pagination .is-current { background: linear-gradient(135deg, var(--accent), var(--accent-2)); border-color: transparent; }
.searchbar { display: flex; flex-direction: column; gap: 12px; margin-top: 14px; max-width: 640px; }
@media (min-width: 600px) { .searchbar { flex-direction: row; } }
.empty { padding: clamp(28px, 6vw, 60px); text-align: center; display: grid; justify-items: center; gap: 10px; margin-top: 24px; }
.empty p { margin: 0; }

/* ---------- Cart ---------- */
.cart { display: grid; gap: 20px; align-items: start; }
.cart__items { display: grid; gap: 14px; }
.cart__item { display: grid; grid-template-columns: 84px 1fr; gap: 6px 16px; padding: 14px; align-items: center; }
.cart__img { grid-row: span 2; border-radius: 12px; overflow: hidden; aspect-ratio: 3 / 4; background: rgba(255, 255, 255, .06); }
.cart__img img { width: 100%; height: 100%; object-fit: cover; }
.cart__name { font-weight: 600; font-family: 'Sora', sans-serif; }
.cart__info .price { margin: 4px 0; }
.cart__remove { font-size: .8rem; color: var(--muted); text-decoration: underline; }
.cart__qty input { width: 76px; padding: .55rem .7rem; text-align: center; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .3); background: rgba(10, 4, 28, .5); }
.cart__total { font-weight: 700; justify-self: end; }
.cart__item .cart__qty, .cart__item .cart__total { grid-column: 2; }
.cart__item { grid-template-areas: 'img info' 'img qty'; }
.cart__summary { padding: 24px; display: grid; gap: 14px; position: sticky; top: 100px; }
.cart__row { display: flex; justify-content: space-between; font-size: 1.15rem; }
@media (min-width: 900px) {
  .cart { grid-template-columns: 1.6fr .8fr; }
  .cart__item { grid-template-columns: 96px 1fr auto auto; }
  .cart__img { grid-row: auto; }
  .cart__item .cart__qty, .cart__item .cart__total { grid-column: auto; }
}

/* ---------- Footer ---------- */
.footer { position: relative; z-index: 1; padding-block: 40px 24px; }
.footer__glass { padding: clamp(24px, 4vw, 44px); }
.footer__grid { display: grid; gap: 32px; }
.footer__brand img { width: 150px; height: auto; margin-bottom: 8px; margin-left: -10px; }
.footer__tagline { color: var(--muted); max-width: 38ch; }
.social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.social .icon-btn { border-color: rgba(255, 255, 255, .25); }
.footer__col h3 { font-size: .9rem; letter-spacing: .12em; text-transform: uppercase; color: #e9d5ff; }
.footer__col ul { display: grid; gap: 10px; }
.footer__col a { color: var(--muted); transition: color .2s; }
.footer__col a:hover { color: #fff; }
.footer__points li { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.footer__points .icon { color: #d8b4fe; }
.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .15); color: var(--muted); font-size: .85rem; }
.footer__bottom p { margin: 0; }
.payments { display: flex; flex-wrap: wrap; gap: 6px; }
.payment-icon { width: 38px; height: 24px; }
@media (min-width: 800px) {
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
/* Actual featured ebook cover in the existing floating hero book */
.book__cover--image{padding:0;display:block;background:#06142a;border-radius:6px 14px 14px 6px;overflow:visible}
.book__cover--image::after{border-radius:inherit;z-index:2}
.book__cover--image .book__art{position:relative;display:block;width:100%;height:100%;object-fit:cover;object-position:center;border-radius:inherit}

/* Static catalogue cover fallback: uses the same glass-card language as the Shopify theme. */
.catalogue-cover{width:100%;height:100%;min-height:180px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:18px;text-align:center;background:radial-gradient(circle at 50% 30%,rgba(168,85,247,.5),transparent 55%),linear-gradient(150deg,#3b1a85 0%,#1b0a45 60%,#0d0620 100%);color:#f5f0ff;font-family:'Sora',sans-serif;font-weight:700;letter-spacing:.06em}
.catalogue-cover img{width:35%;height:auto;object-fit:contain;filter:drop-shadow(0 0 12px rgba(168,85,247,.8))}
.catalogue-cover span{font-size:clamp(.75rem,1.5vw,1rem);line-height:1.3}
.card__description{font-size:.85rem;color:var(--muted);line-height:1.5;margin:0 0 8px}


/* Removed the sample-chapter promotion at the owner's request. */
.hero__actions a[href="#sample"],
#sample {
  display: none !important;
}

/* Conversion, accessibility and mobile refinements */
.hero__title{max-width:12ch;font-size:clamp(2.6rem,7vw,5.4rem);line-height:1.02;letter-spacing:-.055em}
.hero__highlight{color:#d8b4fe;text-shadow:0 0 28px rgba(168,85,247,.32)}
.hero__sub{max-width:52ch;font-size:clamp(1rem,1.6vw,1.2rem);line-height:1.75}
.btn,.icon-btn,.header__burger,.qty button,.remove{min-height:44px}
.btn:focus-visible,.icon-btn:focus-visible,a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #f0abfc;outline-offset:3px}
.card__media img{width:100%;height:100%;object-fit:cover;aspect-ratio:3/4}
.card{overflow:hidden;transition:transform .2s ease,border-color .2s ease}
.card:hover{transform:translateY(-3px);border-color:rgba(216,180,254,.55)}
.empty{min-height:150px}
@media (max-width: 480px){.container{width:min(100% - 24px,1200px)}.hero__title{font-size:clamp(2.4rem,12vw,3.4rem)}.hero__actions .btn{width:100%}.section{margin-block:42px}.header__logo{width:138px;height:auto}}
@media (prefers-color-scheme: light){html[data-theme="system"]{color-scheme:dark}}
@media (prefers-reduced-motion: reduce){.bg-orbs span{animation:none!important}.card:hover,.feature:hover,.btn:hover{transform:none}}


/* Zenvora storefront consistency fixes: keep homepage cards compact and all theme surfaces dark */
#new-release-products .card__description,
#bestseller-products .card__description{display:none!important}
#new-release-products .card__body,
#bestseller-products .card__body{gap:8px}
html,body.template-index{background-color:#10072a}
