/* ============================================================
   BOOKLER 2.0 — Design system
   Palette sampled from the live site screenshot (06-07-2026):
   white page · peach illustrated panels · coral CTAs ·
   hot-pink newsletter bands · yellow countdown · dark footer.
   ============================================================ */

:root {
  /* Brand tokens (sampled from live site) */
  --ink: #282828;          /* footer / dark text */
  --paper: #ffffff;        /* page background */
  --peach: #efc7ae;        /* illustrated panel background */
  --peach-soft: #f8e8da;   /* lighter peach tint */
  --coral: #f65e4e;        /* primary CTA + prices + headline accent */
  --coral-dark: #d94534;
  --coral-deep: #b23323;   /* small coral text on peach (contrast) */
  --pink: #fc0375;         /* newsletter bands + primary CTAs + pills */
  --pink-dark: #d6005f;
  --yellow: #fccc4c;       /* countdown pill */
  --card: #ffffff;
  --text: #3a3a3a;
  --muted: #706f6f;        /* grey (also the secondary button) */
  --line: #efe3d8;

  --font-display: "Poppins", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  --radius: 22px;          /* big friendly corners, like the live site */
  --radius-sm: 10px;
  --shadow: 0 2px 10px rgba(40, 40, 40, .07);
  --shadow-lg: 0 14px 34px rgba(40, 40, 40, .16);
  --maxw: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1,h2,h3,h4 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 .5em; color: var(--ink); font-weight: 700; }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); }
h3 { font-size: 1.15rem; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.section { padding: 64px 0; }
.section--tight { padding: 40px 0; }
.section-head { display:flex; align-items:end; justify-content:space-between; gap:16px; margin-bottom: 28px; }
.section-head p { margin: 0; color: var(--muted); }
.center { text-align: center; }
.muted { color: var(--muted); }
.eyebrow {
  display:inline-block; font-size:.78rem; letter-spacing:.12em; text-transform:uppercase;
  font-weight:700; color: var(--coral); margin-bottom: 10px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 600; font-size: .95rem; font-family: var(--font-display);
  cursor: pointer; text-decoration: none; transition: all .18s ease; white-space: nowrap;
}
.btn--gold { background: var(--pink); color: #fff; }                      /* primary CTA (pink, matches the pills) */
.btn--gold:hover { background: var(--pink-dark); transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #3d3d3d; transform: translateY(-1px); }
.btn--grey { background: var(--muted); color: #fff; }                    /* secondary (grey, like "Authors: Promote") */
.btn--grey:hover { background: var(--ink); }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--ghost-light { border-color: rgba(255,255,255,.6); color: #fff; background: transparent; }
.btn--ghost-light:hover { border-color: #fff; background: rgba(255,255,255,.12); }
.btn--sm { padding: 8px 18px; font-size: .85rem; }
.btn--block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

/* ---------- Header (white, like live site) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff; color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; gap: 28px; height: 70px; }
.logo { display:flex; align-items:center; gap:10px; text-decoration:none; color:var(--ink); }
.logo__mark {
  width: 36px; height: 36px; border-radius: 10px; background: var(--ink);
  display:flex; align-items:center; justify-content:center;
  font-family: var(--font-display); font-weight: 800; color: #fff; font-size: 1.2rem;
}
.logo__text { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; letter-spacing: .01em; }
.logo__img { height: 40px; width: auto; }
.logo__img--footer { height: 52px; border-radius: 8px; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }

/* Dropdown menu (top right) — keeps the header focused on the funnel */
.menu-dd { position: relative; }
.menu-dd__btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: none; border: 1.5px solid var(--line); border-radius: 999px;
  padding: 9px 18px; font-family: var(--font-display); font-weight: 600; font-size: .9rem;
  color: var(--ink); cursor: pointer; transition: all .15s ease;
}
.menu-dd__btn:hover { border-color: var(--ink); }
.menu-dd__icon { font-size: 1rem; line-height: 1; }
.menu-dd__panel {
  display: none; position: absolute; right: 0; top: calc(100% + 10px);
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow-lg); padding: 8px; min-width: 240px; z-index: 60;
}
.menu-dd__panel.open { display: block; }
.menu-dd__panel a {
  display: block; padding: 10px 16px; border-radius: 10px;
  text-decoration: none; font-size: .92rem; font-weight: 500; color: var(--text);
}
.menu-dd__panel a:hover { background: var(--peach-soft); color: var(--ink); }
.menu-dd__panel a.active { color: var(--coral); font-weight: 700; }
.cart-link { position: relative; color: var(--ink); text-decoration: none; font-size: 1.25rem; }
.cart-count {
  position: absolute; top: -7px; right: -11px; background: var(--pink); color: #fff;
  font-size: .68rem; font-weight: 700; min-width: 17px; height: 17px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center; padding: 0 4px;
}
/* footer logo sits on dark background */
.site-footer .logo { color: #fff; }

/* ---------- Hero (rounded peach panel, like live site) ---------- */
.hero { padding: 26px 0 10px; }
.hero .container {
  background: linear-gradient(90deg, rgba(252,243,235,.93) 0%, rgba(252,243,235,.8) 44%, rgba(252,243,235,0) 72%),
    var(--peach) url("../assets/hero-cat.jpg") no-repeat right center;   /* pale wash keeps text readable over the cat */
  background-size: cover;
  border-radius: var(--radius);
  padding: 64px 56px;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center;
  position: relative; overflow: hidden; min-height: 380px;
}
.hero--authors .container { background-image: url("../assets/authors-hero.jpg"); background-position: right bottom; }
.hero h1 { color: #f0006c; font-size: clamp(2.6rem, 5.6vw, 4rem); letter-spacing: -.02em; text-shadow: 0 0 18px rgba(250,238,228,.85); }
.hero h1 em { font-style: normal; color: var(--ink); }
.hero p.lead { font-size: 1.18rem; font-weight: 600; color: #1c1c1c; max-width: 50ch; text-wrap: balance; text-shadow: 0 0 14px rgba(250,238,228,.95), 0 0 4px rgba(250,238,228,.9); }
.hero .eyebrow { color: #1f3a68; font-size: .82rem; text-shadow: 0 0 10px rgba(250,238,228,.95); }
.hero__visual { position: relative; min-height: 300px; }
.hero__badge {
  position: absolute; top: 28px; right: 28px; background: var(--pink); color: #fff;
  font-weight: 700; font-size: .8rem; padding: 8px 14px; border-radius: 999px;
  transform: rotate(4deg); box-shadow: var(--shadow-lg); z-index: 2;
}

/* ---------- Email capture ---------- */
.email-capture { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; max-width: 460px; margin-top: 26px; }
.email-capture input { min-width: 0; height: 48px; }
.email-capture .btn { flex: 0 0 auto; height: 48px; padding-top: 0; padding-bottom: 0; border-radius: 999px; white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; }
.email-capture .form-msg { flex: 0 0 100%; width: 100%; margin: 2px 0 0; padding: 0 6px; text-align: left; line-height: 1.4; }
.band .email-capture .form-msg { text-align: center; }
.hero .email-capture .form-msg--ok { color: #1c1c1c; text-shadow: 0 0 10px rgba(250,238,228,.95); }
.email-capture .btn:focus-visible { outline: 3px solid var(--pink-dark); outline-offset: 2px; }
.email-capture input {
  flex: 1; padding: 13px 18px; border-radius: 999px; border: 1px solid transparent;
  background: #fff; color: var(--text); font-size: .95rem; outline: none; box-shadow: var(--shadow);
}
.email-capture input::placeholder { color: var(--muted); }
.email-capture input:focus { border-color: var(--coral); }
.form-note { font-size: .82rem; font-weight: 500; color: rgba(40,40,40,.62); margin-top: 10px; }
.hero .form-note { color: #1c1c1c; font-weight: 600; text-shadow: 0 0 10px rgba(250,238,228,.95); }
.form-msg { font-size: .9rem; margin-top: 10px; font-weight: 600; }
.form-msg--ok { color: var(--coral-dark); }
.band .form-msg--ok { color: var(--yellow); }
.form-msg--err { color: var(--coral-dark); }

/* ---------- Book cards ---------- */
.book-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 26px; }
.book-grid--featured { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.book-card {
  background: var(--card); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .18s ease;
  display: flex; flex-direction: column; position: relative; text-decoration: none;
}
.book-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.book-card__cover { aspect-ratio: 3/4; background: var(--peach-soft); position: relative; overflow: hidden; }
.book-card__cover img { width: 100%; height: 100%; object-fit: cover; }
.cover-placeholder {
  width:100%; height:100%; display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap: 8px; color: var(--ink); text-align:center; padding: 18px;
  background: linear-gradient(160deg, var(--peach-soft), var(--peach));
  font-family: var(--font-display); font-size: 1.05rem; font-weight: 600;
}
.deal-badge {
  position: absolute; top: 12px; left: 12px; background: var(--coral); color: #fff;
  font-size: .75rem; font-weight: 700; padding: 5px 11px; border-radius: 999px; z-index: 2;
}
.deal-badge--free { background: var(--pink); }
.book-card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.book-card__title { font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; color: var(--ink); margin: 0; }
.book-card__author { font-size: .85rem; color: var(--muted); margin: 0; }
.price-row { display: flex; align-items: baseline; gap: 8px; margin-top: auto; padding-top: 8px; flex-wrap: wrap; }
.price { font-weight: 800; color: var(--coral); font-size: 1.05rem; font-family: var(--font-display); }
.price--free { color: var(--pink); }
.price-was { color: var(--muted); text-decoration: line-through; font-size: .88rem; }
.countdown {                                              /* yellow pill, like live site */
  display: inline-block; background: var(--yellow); color: var(--ink);
  font-size: .74rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; margin-top: 6px;
}

/* ---------- Generic panels & forms ---------- */
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px; }
.form-grid { display: grid; gap: 16px; }
.form-grid label { font-weight: 600; font-size: .9rem; display: block; margin-bottom: 6px; color: var(--ink); }
.form-grid input, .form-grid textarea, .form-grid select {
  width: 100%; padding: 11px 14px; border-radius: var(--radius-sm); border: 1px solid var(--line);
  font-family: var(--font-body); font-size: .95rem; background: #fff; outline: none;
}
.form-grid input:focus, .form-grid textarea:focus, .form-grid select:focus { border-color: var(--coral); }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.checkbox-row { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--muted); }
.checkbox-row input { width: auto; margin-top: 3px; }

/* ---------- Steps / features ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.step { background: var(--peach-soft); border-radius: var(--radius); padding: 28px; }
.step__num {
  width: 42px; height: 42px; border-radius: 999px; background: var(--coral); color: #fff;
  display:flex; align-items:center; justify-content:center; font-weight: 800; font-family: var(--font-display);
  font-size: 1.15rem; margin-bottom: 14px;
}
.step p { color: var(--text); font-size: .94rem; margin: 0; }

/* ---------- Testimonials ---------- */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.testimonial { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.testimonial blockquote { margin: 0 0 14px; font-family: var(--font-display); font-size: 1rem; color: var(--ink); }
.testimonial cite { font-style: normal; font-size: .85rem; color: var(--muted); }

/* ---------- Bands: pink = newsletter (like live), peach = general CTA ---------- */
.band { background: var(--pink); color: #fff; border-radius: var(--radius); padding: 52px; text-align: center; }
.band h2 { color: #fff; }
.band p { color: rgba(255,255,255,.88); max-width: 56ch; margin: 0 auto 8px; }
.band .email-capture { margin: 22px auto 0; justify-content: center; }
.band .eyebrow { color: var(--yellow); }
.band .btn--gold { background: var(--yellow); color: var(--ink); }
.band .btn--gold:hover { background: #ffd968; }
.band--peach { background: var(--peach); color: var(--ink); }
.band--peach h2 { color: var(--ink); }
.band--peach p { color: #1c1c1c; font-weight: 600; text-shadow: 0 0 12px rgba(250,238,228,.95); }
.band--peach h2 { text-shadow: 0 0 16px rgba(250,238,228,.9); }
.band--peach .eyebrow { color: var(--coral-deep); }
.band--peach .btn--gold { background: var(--pink); color: #fff; }
.band--peach .btn--gold:hover { background: var(--pink-dark); }
.band--authors {                       /* "Submit your Work" panel with the writing cat */
  background: linear-gradient(90deg, rgba(250,238,228,.8) 0%, rgba(250,238,228,.6) 45%, rgba(250,238,228,0) 72%),
    var(--peach) url("../assets/submit-work.jpg") no-repeat right center;
  background-size: cover; text-align: left; min-height: 300px;
  display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start;
}
.band--authors p { margin: 0 0 8px; max-width: 44ch; }
@media (max-width: 920px) { .band--authors { background-image: none; background-color: var(--peach); } }

/* ---------- Shop layout ---------- */
.page-head { padding: 26px 0 10px; }
.page-head .container { background: var(--peach); border-radius: var(--radius); padding: 44px 56px; }
.page-head h1 { color: var(--ink); margin: 0; font-size: clamp(1.8rem, 4vw, 2.5rem); }
.page-head h1 + p, .page-head p { color: rgba(40,40,40,.75); margin: 8px 0 0; }
.page-head a { color: var(--coral); }
.shop-toolbar {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
  padding: 18px 0; margin-bottom: 24px; border-bottom: 1px solid var(--line);
}
.shop-toolbar select, .shop-toolbar input[type="search"] {
  padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
  font-family: var(--font-body); font-size: .9rem; outline: none;
}
.toggle-pill { display:inline-flex; align-items:center; gap:8px; font-size:.9rem; font-weight:600; cursor:pointer;
  padding: 9px 16px; border-radius:999px; border:1px solid var(--line); background:#fff; user-select:none; }
.toggle-pill input { accent-color: var(--coral); }
.results-count { margin-left: auto; font-size: .85rem; color: var(--muted); }

/* ---------- Book detail ---------- */
.book-detail { display: grid; grid-template-columns: 380px 1fr; gap: 48px; align-items: start; }
.book-detail__cover { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); position: relative; aspect-ratio: 3/4; background: var(--peach-soft); }
.book-detail__cover img { width:100%; height:100%; object-fit: cover; }
.book-detail .price-row { padding: 14px 0; }
.book-detail .price { font-size: 1.7rem; }
.genre-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.genre-tag { font-size: .78rem; font-weight: 600; background: #fff; border: 1px solid var(--line); padding: 5px 12px; border-radius: 999px; color: var(--muted); text-decoration: none; }
.genre-tag:hover { border-color: var(--coral); color: var(--coral); }
.format-note { font-size: .85rem; color: var(--muted); margin-top: 14px; }

/* ---------- Cart ---------- */
.cart-item { display: grid; grid-template-columns: 80px 1fr auto auto; gap: 18px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cart-item img, .cart-item .cover-placeholder { width: 80px; aspect-ratio: 3/4; object-fit: cover; border-radius: 6px; font-size:.7rem; }
.cart-item__remove { background: none; border: 0; color: var(--coral); cursor: pointer; font-size: .85rem; font-weight: 600; }
.cart-total { display: flex; justify-content: space-between; font-size: 1.2rem; font-weight: 700; padding: 22px 0; color: var(--ink); }

/* ---------- Tables (admin / account) ---------- */
.table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.table th { text-align: left; padding: 10px 12px; border-bottom: 2px solid var(--line); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.table td { padding: 12px; border-bottom: 1px solid var(--line); }
.pill { display:inline-block; padding: 3px 10px; border-radius: 999px; font-size: .75rem; font-weight: 700; }
.pill--green { background: #e6f4ea; color: #2e7d4f; }
.pill--red { background: #fde5e1; color: var(--coral-dark); }
.pill--gold { background: #fdf3d4; color: #9a7a14; }
.pill--grey { background: #eee; color: var(--muted); }

/* ---------- Admin ---------- */
.admin-layout { display: grid; grid-template-columns: 220px 1fr; gap: 36px; align-items: start; }
.admin-nav { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 4px; }
.admin-nav button {
  text-align: left; background: none; border: 0; padding: 11px 16px; border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: .93rem; font-weight: 600; color: var(--muted); cursor: pointer;
}
.admin-nav button.active, .admin-nav button:hover { background: var(--ink); color: #fff; }
.admin-panel { display: none; }
.admin-panel.active { display: block; }

/* ---------- FAQ ---------- */
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 12px; }
.faq-item summary { padding: 18px 22px; font-weight: 600; font-family: var(--font-display); font-size: 1.02rem; cursor: pointer; color: var(--ink); list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::after { content: "+"; font-size: 1.3rem; color: var(--coral); }
.faq-item[open] summary::after { content: "–"; }
.faq-item div { padding: 0 22px 20px; color: var(--muted); }

/* ---------- Placeholder helper ---------- */
.placeholder-box {
  border: 2px dashed var(--coral); background: #fff4f2; border-radius: var(--radius);
  padding: 22px; text-align: center; color: var(--coral-dark); font-size: .9rem; font-weight: 600;
}


/* ---------- Friendly empty state ---------- */
.empty-note {
  grid-column: 1 / -1; background: var(--peach-soft); border-radius: var(--radius);
  padding: 22px 26px; color: var(--text); font-size: .95rem; line-height: 1.5;
}
.empty-note strong { font-family: var(--font-display); color: var(--ink); }

/* ---------- Carousel ---------- */
.carousel { position: relative; }
.carousel__track {
  display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; padding: 6px 2px 18px; -webkit-overflow-scrolling: touch;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track .book-card { flex: 0 0 200px; scroll-snap-align: start; }
.carousel__track .empty-note { flex: 1; }
.carousel__btn {
  position: absolute; top: 38%; transform: translateY(-50%); z-index: 3;
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: #fff; color: var(--ink); font-size: 1.6rem; line-height: 1;
  box-shadow: var(--shadow-lg); display: flex; align-items: center; justify-content: center;
}
.carousel__btn:hover { background: var(--pink); color: #fff; }
.carousel__btn--prev { left: -14px; }
.carousel__btn--next { right: -14px; }
@media (max-width: 920px) {
  .carousel__btn { display: none; }
  .carousel__track .book-card { flex-basis: 160px; }
}


/* ---------- Claimed (post free-claim download page) ---------- */
.claimed { display: grid; grid-template-columns: 200px 1fr; gap: 32px; align-items: center; text-align: left; margin: 28px auto; max-width: 620px; }
.claimed__cover { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 3/4; background: var(--peach-soft); }
.claimed__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.claimed__body h2 { margin: 0 0 4px; }
.claimed__downloads { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.claimed__cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 8px; }
@media (max-width: 600px) { .claimed { grid-template-columns: 1fr; text-align: center; } .claimed__cover { max-width: 200px; margin: 0 auto; } .claimed__downloads { justify-content: center; } }

.book-card__cover { display: block; text-decoration: none; color: inherit; }
.book-card__title a { text-decoration: none; }
.book-card__title a:hover { text-decoration: underline; }
.dl-row { display: flex; flex-wrap: wrap; gap: 8px; }
.dl-row .dl-btn { flex: 1 1 auto; }

/* ---------- Footer (dark, like live site) ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.72); margin-top: 80px; }
.site-footer .container { padding-top: 56px; padding-bottom: 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; }
.site-footer a { color: rgba(255,255,255,.72); text-decoration: none; font-size: .9rem; }
.site-footer a:hover { color: var(--yellow); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; font-size: .82rem; color: rgba(255,255,255,.5); flex-wrap: wrap; gap: 10px; }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .hero .container { grid-template-columns: 1fr; padding: 44px 28px; }
  .hero__visual { display: none; }
  .page-head .container { padding: 36px 28px; }
  .steps, .testimonials { grid-template-columns: 1fr; }
  .book-detail { grid-template-columns: 1fr; }
  .book-detail__cover { max-width: 320px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-nav { position: static; flex-direction: row; flex-wrap: wrap; }
  .header-actions .btn--gold { padding: 8px 12px; font-size: .78rem; }
  .menu-dd__btn span.menu-dd__icon { font-size: 1.1rem; }
  .logo__img { height: 32px; }
  .hero .container { background-image: none; background-color: var(--peach); }
  .hero--authors .container { background-image: none; }
  .form-row-2 { grid-template-columns: 1fr; }
  .cart-item { grid-template-columns: 60px 1fr auto; }
}

.owned-note { font-weight: 600; color: #1f7a45; margin-bottom: 4px; }

/* Cookie banner */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 200; max-width: 640px; margin: 0 auto;
  display: flex; gap: 16px; align-items: center; flex-wrap: wrap; justify-content: space-between;
  background: #fff; border: 1px solid #efe3d8; border-radius: 22px; padding: 16px 20px; box-shadow: 0 12px 40px rgba(40,40,40,.18); }
.cookie-banner p { margin: 0; font-size: .88rem; flex: 1 1 260px; }
.cookie-banner a { color: var(--pink); }
.cookie-banner__btns { display: flex; gap: 8px; }
