/* =========================================================
   new-lite.css  (for MAX landing page)
   Minimal Bootstrap-like helpers actually used on test-b.html
   ======================================================= */

/* ---- Global reset bits you were relying on ---- */

html {
  box-sizing: border-box;
}

*, *::before, *::after {
  box-sizing: inherit;
}

img {
  max-width: 100%;
  height: auto;
  border-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ---- Containers ---- */

.container,
.container-fluid {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-right: 15px;
  padding-left: 15px;
}

/* responsive max-width like Bootstrap 4 */
.container {
  max-width: 100%;
}

@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

/* ---- Grid: row + cols ---- */

.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}

[class^="col-"],
[class*=" col-"] {
  position: relative;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
}

/* col-md-6: 2-up from 768px+ */
@media (min-width: 768px) {
  .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* col-lg-4: 3-up from 992px+ */
@media (min-width: 992px) {
  .col-lg-4 {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

/* Align helper used on .row */
.align-items-stretch {
  align-items: stretch !important;
}

/* ---- Navbar ---- */

.navbar {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: .5rem 1rem;
}

/* brand */
.navbar-brand {
  display: inline-flex;
  align-items: center;
  margin-right: 1rem;
  font-size: 1.25rem;
  line-height: 1.2;
}

.navbar-light .navbar-brand {
  color: rgba(0, 0, 0, 0.9);
}

.navbar-light .navbar-brand:hover,
.navbar-light .navbar-brand:focus {
  color: rgba(0, 0, 0, 0.9);
}

/* nav list */
.navbar-nav {
  display: flex;
  flex-direction: row;
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
}

/* ---- Buttons ---- */

.btn {
  display: inline-block;
  font-weight: 400;
  color: #666;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  user-select: none;
  border: 1px solid transparent;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 0.25rem;
  transition:
    background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out,
    box-shadow 0.15s ease-in-out,
    transform 0.15s ease-in-out;
  cursor: pointer;
}

.btn-primary {
  color: #fff;
  background-color: #17a2b8;
  border-color: #17a2b8;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #138496;
  border-color: #117a8b;
}

/* ---- Spacing utilities ---- */

.p-3 {
  padding: 1rem !important;
}

.pb-3 {
  padding-bottom: 1rem !important;
}

.pt-5 {
  padding-top: 3rem !important;
}

.py-0 {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.mx-auto {
  margin-left: auto !important;
  margin-right: auto !important;
}

.mb-4 {
  margin-bottom: 1.5rem !important;
}

/* ---- Text & font utilities ---- */

.text-center {
  text-align: center !important;
}

.text-primary {
  color: #17a2b8 !important;
}

.text-secondary {
  color: #00394f !important;
}

.text-white {
  color: #fff !important;
}

.font-weight-bold {
  font-weight: 700 !important;
}

/* ---- Misc helpers ---- */

.shadow {
  box-shadow: 0 .5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.position-relative {
  position: relative !important;
}

/* ---- Special fix: copyright line shouldn't be white on white ---- */
/* This targets ONLY the p.text-center.text-white immediately after the <hr> */
hr + p.text-center.text-white {
  color: #233756 !important;
}

/* Fix vertical alignment for logo + "Where's my Max books?" */
.navbar .where {
  display: block;
  margin-top: -4px;   /* pulls text UP to original Bootstrap position */
  line-height: 1.1;
}
.navbar img {
  vertical-align: middle;
}


/* NEW FROM INDEX */

body{
  margin:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial;
  color:var(--ink);
  background:
    linear-gradient(rgba(255,255,255,.65), rgba(255,255,255,.65)),
    url(../img/bg/confetti-s.webp),
    #ddd;
  background-size:12% auto;
}


h1 {
  font-family: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 800;
  text-align: center;
  margin: 40px auto 22px auto;
  letter-spacing: -0.5px;
  color: #d41414;
}


h2 strong{
  font-weight: 700;
  color: #344866;
}


.hero-promise{
  width:min(78vw, 500px);
  margin:18px auto 18px;
  text-align:center;
}

.hero-promise h2{
  margin:0;
  padding:14px 18px 15px;

  font-size:clamp(16.5px, 2vw, 20px);
  line-height:1.45;
  font-style:italic;
  font-weight:400;
  color:#3f5068;

  background:
    linear-gradient(
      to right,
      rgba(255,255,255,0),
      rgba(255,255,255,.60) 13%,
      rgba(255,255,255,.60) 87%,
      rgba(255,255,255,0)
    );

  border-top:2px solid rgba(138,79,19,.32);
  border-bottom:2px solid rgba(138,79,19,.32);
  border-radius:0;
  box-shadow:none;
}

.hero-themes{
  margin:-12px auto 22px;

  text-align:center;

  font-family:"Nunito", Arial, sans-serif;
  font-size: clamp(14px, 1.3vw, 16.5px);
  font-weight:750;
  font-style:italic;

  color:#75603b;

  letter-spacing:.15px;

  opacity:.92;

  text-shadow:
    0 1px 0 rgba(255,255,255,.6);
}
.hero-themes .theme-dot{
  padding:0 .55em;
 
}






h3 { 
  margin: 0 0 2px;
  color: #c00 !important;
  font-weight: 500; 
  font-size: clamp(14px, 4.1vw, 24px) !important;
  line-height: 1.15; 
  }

/* Remove Bootstrap gutters so the nav background reaches screen edges */
.container-fluid.vibrant-nav { padding-left: 0 !important; padding-right: 0 !important; }
.container-fluid.vibrant-nav > .navbar { padding-left: 0 !important; padding-right: 0 !important; }

.container-fluid.vibrant-nav > .navbar > .container,
.container-fluid.vibrant-nav > .navbar {
  padding-left: 15px !important;
  padding-right: 15px !important;
}


/* Layout safety */
.row > [class*="col-"]{ min-width:0; }
.card{ max-width:100%; }
html, body{ max-width:100%; overflow-x:hidden; }











/* ===== BOOK CARDS ===== */

.book-card{
  width:100%;
  box-sizing:border-box;
  overflow:hidden;
}

/* Float covers in cards */
.book-card .book-cover-float{
  float:left;
  margin:0 18px 14px 0;
  padding-top:10px;
}

.book-card .book-top::after{
  content:"";
  display:block;
  clear:both;
}

/* 3D tilt cover */
.cover-3d{
  display:inline-block;
  perspective:900px;
  position:relative;
}

.cover-3d-img{
  transform:rotateY(-18deg) rotateZ(-4deg);
  transition:transform .25s ease, box-shadow .25s ease;
  width:11em;
  box-shadow:4px 4px 10px #000;
}

.cover-3d-img:hover{
  transform:rotateY(-14deg) rotateZ(-2deg) translateY(-3px);
  box-shadow:6px 6px 16px rgba(0,0,0,.7);
}

@media (max-width:480px){
  .cover-3d-img{
    width: calc(11em - 20px);
    transform:rotateZ(-4deg);
  }
}

/* Beige card background */
.bg-book-card{
  background:linear-gradient(
    180deg,
    #fde7c2 0%,
    #fcd49a 18%,
    #fbbb6c 42%,
    #fcd49a 68%,
    #fde7c2 100%
  ) !important;
}

/* ===== BUTTONS ===== */

.btn-read {
  display:inline-block; 
  background: linear-gradient(#ffd89a,#ff8a4c); 
  color: #231a00; 
  font-weight: 700; 
  padding: 3px 12px; 
  border-radius: 10px; 
  text-decoration: none; 
  font-size: 11px;
  box-shadow: 1px 1px 10px #777;
  width:120px;
  margin: 0 10px;
}

.btn-buy{
  display:inline-block;
  padding:3px 15px 3px;
  font-size:17px !important;
  font-weight:600;
  color:#fff;
  border-radius:22px;
  text-decoration:none;
  background:linear-gradient(#3ac77b,#0b8f4d);
  text-shadow:0 1px 2px rgba(0,0,0,.25);
 box-shadow: 1px 1px 10px #000;
}
.btn-listen{
  background:linear-gradient(#4aa2d9,#1c6ca2);
  display:inline-block;
    color:#fff;
  border-radius:22px;
  font-weight: 700; 
  padding: 3px 12px; 
  border-radius: 10px; 
  text-decoration: none; 
  font-size: 11px;
  box-shadow: 1px 1px 10px #777;
  width:120px;
  margin: 0 10px;
}



.btn-listen:hover,
.btn-buy:hover
{
  color:#fff;
  transform:translateY(-1px);
  box-shadow: 1px 1px 10px #000;
  text-shadow: 1px 1px 1px #000;
}

.btn-read:hover {
  color:#000;
  transform:translateY(-1px);
  box-shadow: 1px 1px 10px #000;
  

}

/* Gentle float animation for the 3-book-aa.webp banner */
.threebookfloat {
  animation: threeBookFloat 3.0s ease-in-out infinite;
  display: block;
  margin-left: auto;
  margin-right: auto;
  transform-origin: center;
}

@keyframes threeBookFloat {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-8px); }
  100% { transform: translateY(0); }
}





/* ===== FOOTER / LOWER STAR SECTION LEFT INTACT ===== */
/* (unchanged on purpose – only hero was stripped) */

.bg-stars{
  position:relative;
  top: 50px;
/*  background-color:#c00; */

background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,.18), transparent 45%),
    radial-gradient(circle at 70% 40%, rgba(255,255,255,.12), transparent 50%),
    linear-gradient(180deg,
      #0f3c4c 0%,
      #0b5a6a 55%,
      #137a78 100%
    );
  overflow:hidden;
 
}

.bg-stars::before{
  content:"";
  position:absolute;
  inset:0;
  background-image:url(../img/bg/tiny-b.png);
  background-size:200px;
  background-repeat:repeat;
  opacity:.65;
  pointer-events:none;
}

.bg-stars > *{
  position:relative;
  z-index:1;
}




.freeread {font-family: arial, sans-serif; font-size:11px; margin: 20px auto 10px auto; color: #003; font-weight: 500;
  }



/* 4-line squiggly underline for KIDS */
.kids-squiggle{
  position: relative;
  display: inline-block;
  padding-bottom: 8px;   /* space for squiggles */

  background-repeat: repeat-x;
  background-position: left bottom;
  background-size: 24px 10px;

  background-image:
    url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' width='24' height='10' viewBox='0 0 24 10'>\
<path d='M0 3 Q6 0 12 3 T24 3' stroke='%23fff3d6' stroke-width='2' fill='none'/>\
<path d='M0 7 Q6 4 12 7 T24 7' stroke='%23fff3d6' stroke-width='2' fill='none'/>\
</svg>");
}



/* Wrapper for positioning the CTA */
.hero-cover-wrap{
  position:relative;
  display:inline-block;
}




/* Smooth float 
@keyframes ctaFloat{
  0%   { transform: rotate(-5deg) translateY(0); }
  50%  { transform: rotate(-5deg) translateY(-6px); }
  100% { transform: rotate(-5deg) translateY(0); }
}
*/
/* Stop motion on interaction 
.hero-cover-link:hover .cover-cta{
  animation:none;
}
*/


/* buy-321 badge */
.buy-321{ 
  position:relative;
  z-index: 100;
  
  font-size:16px;
  font-weight:700;
  padding:6px 12px;
  border-radius:8px;
  width: 250px;
  margin: 5px auto;
  background: #228822;
  color:#fff;
  text-shadow: 1px 1px 0 #000;

   box-shadow:
  0 0 0 3px rgba(255, 255, 180, 0.9),   /* bright yellow halo ring */
  0 0 18px rgba(255, 255, 90, 0.95),    /* inner glow */
  0 0 38px rgba(255, 235, 0, 0.85),     /* main bright glow */
  0 0 70px rgba(255, 215, 0, 0.6);      /* outer radiance */

  white-space:nowrap;

}



/* ===== Sticky CTA (mobile) ===== */
.sticky-cta{
  display:flex; justify-content:center;
  padding:8px 12px;
  
  border-top:1px solid rgba(255,255,255,.12);
}

/* Sticky CTA trigger ONLY (keeps amber glow) */
.sticky-cta .buy-trigger{
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  border-radius: 12px;
  padding: 12px 18px;
  box-shadow:
    0 0 0 2px #ffb300,
    0 6px 14px rgba(0,0,0,.35);
  text-decoration: none;
}

/* Dropdown links – single source of truth (navbar + sticky) */
.buy-dropdown a{
  display:block;
  padding:8px 10px;
  text-decoration:none;
  color:#0c2b5a;
  font-weight:700;        /* matches navbar bold look */
  font-size:14px;         /* consistent size everywhere */
  background:none;
  box-shadow:none;
  border-radius:6px;
}

.buy-dropdown a:hover{
  background:rgba(12,43,90,.06);
}


/* ===== NAVBAR BUY DROPDOWNS ONLY ===== */

.buy-dropdown-n{
  display:none;
  position:absolute;
  top: calc(100% + 10px);
  left:50%;
  transform:translateX(-50%);

  background:#fff;
  color:#0c2b5a;

  border:1px solid #cfd8e3;
  border-radius:10px;

  padding:10px 8px;
  min-width:200px;

  box-shadow:0 12px 24px rgba(0,0,0,.12);

  font-size:13px;      /* slightly smaller */
  line-height:1.35;
  font-weight:400;     /* non-bold */

  text-align:left;
  white-space:nowrap;
  z-index:99999;
}

.buy-dropdown-n a{
  display:block;
  padding:8px 12px;

  font-size:13px;
  font-weight:400;     /* explicitly non-bold */
  color:#0c2b5a;
  text-decoration:none;

  border-radius:6px;
}

/* spacing between rows */
.buy-dropdown-n a + a{
  margin-top:4px;
}

/* hover */
.buy-dropdown-n a:hover{
  background:rgba(12,43,90,.06);
}








/* optional: a tiny hover lift, but no bounce */
.sticky-cta .buy-trigger:hover{
  transform: translateY(-1px) !important;
}

/* ===== Back to Top (single source of truth) ===== */
.back-to-top{
  position:fixed;
  right:16px;
  bottom:5px;               /* exactly where it was */
  z-index:10001;            /* above sticky bottom bar (z-index:9999) */
  display:none;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:0;
  width:44px;
  height:56px;
  padding:6px 0;
  border-radius:999px;
  background:#6ff;
  color:#000;
  text-decoration:none;
  box-shadow:0 8px 18px rgba(0,0,0,.28);
  user-select:none;
}
.back-to-top svg{ display:block; }
.back-to-top span{ display:block; font-size:10px; line-height:1; margin-top:2px; }
.back-to-top.show{ display:flex; }
/* ===== Footer / Newsletter ===== */
.footer-grid{ display:grid; gap:24px; grid-template-columns:1fr; align-items:stretch; max-width:900px; margin:0 auto; padding:0 16px; color:#fff; }
@media (min-width:700px){ .footer-grid{ grid-template-columns:1fr 1fr; } }
.footer-card{
  background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.1);
  border-radius:10px; padding:20px 22px; 
  color:#fff; display:flex; flex-direction:column; justify-content:center; text-align:center;
}
.footer-card a{ color:#6ff; text-decoration:none; font-weight:600; }
.footer-card a:hover{ text-decoration:underline; }

.footer-card-newsletter{
  background: transparent;
  border: none;
  padding: 0;
  max-width: 350px;
  margin: 0 auto; 
}

.email-label{ color:#6ff; font-weight:600; }
.email-box{ display:inline-block; margin-top:8px; padding:8px 10px; border-radius:6px; background:rgba(0,0,0,.2); letter-spacing:.5px; font-size:17px; color:#6ff; cursor:pointer; }

.news-wrap{
   background: linear-gradient(
    180deg,
    #358dbd,
    #286ea0
  );
  border-radius:12px; padding:18px; text-align:center; box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 6px 16px rgba(0,0,0,.25);
  width:100%; max-width:480px; margin:0 auto;
}
.news-wrap label{ display:block; margin-bottom:10px; font-size:clamp(14px,1.9vw,16px); }
.news-wrap form{ display:grid; gap:10px; grid-template-columns:minmax(320px,1fr) auto; align-items:center; max-width:420px; margin:0 auto; }
.news-wrap input[type="email"]{
  width:100%; min-width:220px; padding:10px 12px; border-radius:10px; border:1px solid rgba(255,255,255,.3);
  background:rgba(255,255,255,.9); color:#123; font-size:16px; outline:none; box-sizing:border-box;
}
.news-wrap button{
  padding:10px 14px; margin:0 auto !important; border:none; border-radius:10px; background:#ffd166; color:#222;
  font-weight:700; font-style:italic; cursor:pointer; transition:transform .12s ease, filter .12s ease; white-space:nowrap;
}
.news-wrap button:hover{ transform:translateY(-1px); filter:brightness(1.05); }
@media (max-width:860px){ .news-wrap form{ grid-template-columns:1fr; } .news-wrap input[type="email"]{ min-width:0; } }

/* ===== NEWSLETTER (CLEAN / SINGLE SOURCE OF TRUTH) ===== */

/* image left, content right */
.news-two-col{
  display:grid;
  grid-template-columns: 100px 1fr;
  gap:20px;
  align-items:center;
}

.news-left img{
  width:100px;
  height:100px;
  object-fit:contain;
  display:block;
}

/* right side */
.news-right{
  display:flex;
  flex-direction:column;
  gap:8px;
}

.news-right form{
  display:grid;
  grid-template-columns: 1fr auto;
  gap:10px;
  align-items:center;
  max-width:420px;
  margin:0 auto;
}

.news-right input[type="email"]{
  width:100%;
  min-width:0;
}

.news-right button{
  margin:0 !important;
  width:fit-content;
}

@media (max-width:520px){
  /* keep same 2-col layout, just scaled down */
  .news-wrap{
    padding:10px;
    max-width: 100%;
  }

  .news-two-col{
    grid-template-columns: 56px 1fr; /* small icon + content */
    gap:10px;
    align-items:center;
  }

  .news-left img{
    width:56px;
    height:56px;
  }

  .news-right{
    gap:4px;
  }

  .news-right label{
    font-size:13px;
    line-height:1.25;
    margin:0 0 2px;
  }

  /* keep email + button on one line when possible */
  .news-right form{
    grid-template-columns: 1fr auto;
    gap:8px;
    max-width: 100%;
    margin:0;
  }

  .news-right input[type="email"]{
    padding:7px 9px;
    font-size:15px;
  }

  .news-right button{
    padding:7px 10px;
    font-size:14px;
    white-space:nowrap;
  }
}

/* like button */

.like-btn{
  cursor:pointer;
  padding:3px 7px;
  font-size:15px;
  border-radius:6px;
  border:1px solid #ccc;
  background:#00f;
  box-shadow:1px 1px 6px #000;
  transform:rotate(-10deg) scale(0.8); 
  opacity: 0.85;

  color:#fff; font-weight:normal;
       
}

.like-btn:hover{
  background: #000;
}

.like-symbol{
  font-size:19px;
}

.like-count{
  margin-left:3px;
}


/* ===== NAV BRAND-FACE-LOGO-WHERE ROW (correct) ===== */


.nav-brand-row{
  /* center the whole trio */
  margin: 0 auto;

  /* THIS controls how much of the navbar width the trio occupies */
  width: min(96vw, 1100px);   /* phones ≈ full width, large screens capped */

  display:grid;
  grid-template-columns: auto auto auto;
  align-items:center;

  /* spacing between the three images */
  column-gap: clamp(14px, 3vw, 60px);
}


/* sizes scale naturally */
.nav-face img{
  width: clamp(44px, 8vw, 90px);
}

.nav-logo img{
  height: clamp(56px, 9vw, 120px);
  width:auto;
}

/*.nav-where{
  width: clamp(180px, 30vw, 360px);
  max-width: 360px;
}
*/

.nav-where{
  width: clamp(108px, 18vw, 216px);
  max-width: 216px;

}

/* Wrap is the positioning context */
.nav-where-wrap{
  position: relative;
  display: inline-block;
  overflow: visible;
}

.nav-where{
  display: block;
  width: clamp(108px, 18vw, 216px);
  max-width: 216px;
  height: auto;
}

.nav-buyhere{
  position: absolute;
  z-index: 8;

  left: 70%;
  top: calc(100% - 6px);
  transform: translateX(-50%) rotate(-4deg);
  
  width: clamp(72px, 42%, 96px);
  height: auto;
  cursor: pointer;
}

@media (max-width: 420px){
  .nav-buyhere{
    top: calc(100% + 2px);
    width: clamp(64px, 46%, 84px);
    transform: translateX(-50%) rotate(5deg);
  }
}




/* cant decide */

.cant-decide-wrap{
  text-align:center;
  margin: -10px auto 30px;
}

.cant-decide-head{
  display:inline-block;
  padding:10px 22px;
  margin-bottom:10px;

  font-size:clamp(28px, 5vw, 38px);
  font-weight:900;
  letter-spacing:.5px;

  color:#fff;
  background:
    linear-gradient(135deg,#ff0066,#ff8c00,#ffe600);

  border-radius:16px;
  text-shadow:
    2px 2px 0 #000,
    0 0 14px rgba(255,255,0,.8);

  box-shadow:
    0 8px 20px rgba(0,0,0,.45),
    inset 0 2px 0 rgba(255,255,255,.35);

  transform: rotate(-1.5deg);
}

.cant-decide-sub{
  font-size:clamp(20px, 4.1vw, 26px);
  font-weight:800;
  color:#ffe96b;

  text-shadow:
    2px 2px 0 #000,
    0 0 10px rgba(255,180,0,.6);
}



/* ===== NAV + MAIN SPACING (single source of truth) ===== */
.vibrant-nav{
  height: var(--navH);
}

.vibrant-nav > .navbar{
  height: 100%;
  align-items: center;
  padding-top: var(--navPad) !important;
  padding-bottom: var(--navPad) !important;
}

.vibrant-nav .navbar-brand{
  padding: 0 !important;
  margin: 0 auto !important;
  font-size: 0 !important;  /* prevents brand text metrics from inflating height */
  line-height: 1 !important;
}

/* keep the three images inside the navbar from forcing extra height */
.nav-brand-row{
  align-items: center;
}
.nav-brand-row img{
  max-height: calc(var(--navH) - (var(--navPad) * 2));
  width: auto;
}

/* main always starts below the fixed navbar (plus a consistent gap) */
main{
  position: relative;
  padding-top: calc(var(--navH) + 12px);
}

/* Top stack rhythm */
.like-bar{
  display:flex;
  justify-content:flex-start;
  width:min(96vw, 1100px);
  margin: -4px auto -10px auto;
  padding: 6px 0 10px;

  position: relative;
  z-index: 1;            
  pointer-events: none;  
}

/* re-enable clicks for the actual like button(s) inside */
.like-bar a,
.like-bar button,
.like-bar input,
.like-bar .like-button,
.like-bar .like-btn{
  pointer-events: auto;
}

.top-stack{
  width: 100%;
}




@media (max-width: 600px){
  main{ padding-top: calc(var(--navH) + 10px); }
  .like-bar{ width: min(94vw, 1100px); }
  
}



/* ===== HERO SAMPLE (ABOVE THE FOLD) ===== */


.hero-momkid{
  width:100%;
  height:auto;
  display:block;
  border-radius: 16px;
  box-shadow: 0 10px 22px rgba(0,0,0,.35);
}


/*  3-WAYS */

.hero-sample-3ways{
  width:min(95vw, 430px);
  margin:42px auto -40px;
}

.three-ways-wrap{
  position:relative;
  display:block;
  width:100%;
}

.three-ways-wrap img{
  width:100%;
  height:auto;
  display:block;
  border-radius:16px;
  box-shadow:0 10px 22px rgba(0,0,0,.35);
}

.three-way-link{
  position:absolute;
  top:43%;
  height:50%;
  border-radius:18px;
  cursor:pointer;
  z-index:5;
  text-decoration:none;
}

.three-way-link:hover{
  background:rgba(255,255,255,.13);
  outline:2px solid rgba(255,255,255,.55);
}

.three-way-ebooks{
  left:3%;
  width:31%;
}

.three-way-paperbacks{
  left:34.5%;
  width:31%;
}

.three-way-audiobooks{
  left:66%;
  width:31%;
}

.three-ways-note{
  margin:10px auto 0;
  text-align:center;
  font-family:"Nunito", Arial, sans-serif;
  font-size:clamp(15px, 3.6vw, 21px);
  font-weight:800;
  color:#174d78;
  text-shadow:0 1px 0 #fff;
}

.hero-cta-row{
  display:flex;
  justify-content:center;
  align-items:center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 26px auto 10px;
}

.hero-cta-row .hero-cta{
  min-width: 168px;
  text-align:center;
}

/* Rotating single-line testimonial */
.hero-rotator{
  margin: 45px auto -25px auto !important;
  padding: 0 10px;
  text-align: center;
  position: relative;
}

/*
.hero-rotator::before{
  content:"";
  display:block;
  width: min(58%, 340px);
  height: 1px;
  margin: 0 auto 14px;

  background: linear-gradient(
    to right,
    transparent,
    rgba(138,79,19,.24),
    transparent
  );
}
*/

.hero-quote {
  text-align:center;
  font-family: "Nunito", Arial, sans-serif;
  font-size: clamp(16px, 3.6vw, 19px);
  font-style: italic;
  font-weight: 500;
  color: #8a4f13; 
  line-height: 1.25;
  opacity: 1;
  transition: opacity 950ms ease;
}

.hero-quote span {
  position: relative;
  display: inline-block;
  padding: 0 22px;
  background: none;
  border-radius: 0;
  box-shadow: none;
  animation: quoteSettle 950ms ease both;
}

@keyframes quoteSettle {
  0% {
    opacity: 0;
    transform: translateY(5px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-quote span::before,
.hero-quote span::after {
  position: absolute;
  top: -14px;
  font-size: 45px;
  line-height: 1;
  color: rgba(170, 116, 36);
  font-family: Georgia, serif;
  font-style: normal;
}

.hero-quote span::before {
  content: "“";
  left: 0;
}

.hero-quote span::after {
  content: "”";
  right: 0;
}

.hero-byline{
  margin-top: 6px;
  font-size: 14px;
  color: #555;
  opacity: 1;
  transition: opacity 950ms ease;
}

/*
.hero-byline span {
    background: #fafafa;
    padding: 1px 2px;
    border-radius: 5px;
    
}
*/

.hero-love{
/*  margin: 100px auto -5px; */
  margin: 50px auto 45px;
  padding: 40px 8px 34px 8px;
  font-family: "Nunito", Arial, sans-serif;
  font-size: clamp(23.46px, 6.76vw, 28.98px);
  font-weight: 800;
  color: #286e9a;
  text-shadow:
    0 1px 0 #ffffff,
    0 -1px 0 #ffffff,
    1px 0 0 #ffffff,
    -1px 0 0 #ffffff,
    0 0 6px #7fd6ff,
    0 0 12px #7fd6ff;
  position: relative;
  border-top: 2px solid #286e9a;
  
}

.hero-love::before{
  content:"";
  position:absolute;
  left:14%;                   
  top: calc(100% - 42px);       
  width:42px;                   
  height:42px;
  z-index: 10;                 

  background:url(../img/bl_arrow_left.webp) no-repeat center/contain;

  transform:rotate(-95deg); /* rotate downward */
}

.hero-love::after{
  content:"";
  position:absolute;
  right:14%;                   
  top: calc(100% - 42px);       
  width:42px;                   
  height:42px;                 
  z-index: 10; 
  background:url(../img/bl_arrow_right.webp) no-repeat center/contain;

  transform:rotate(90deg); /* rotate downward */
}



/* ===== AUDIOBOOK (DIRECT) BUTTON + STRIP ===== */

/* Panel: slightly calmer so it doesn't compete with the hero CTAs */
.audio-strip{
  width:85%;
  margin: 60px auto 10px;
  padding: 12px 12px 0;
  text-align:center;
  max-width: 750px;

  background: linear-gradient(135deg,#fbf7ff,#f0e6ff);
  border-radius:16px;
  border:1px solid rgba(185,140,255,.75);
  box-shadow: 0 6px 16px rgba(0,0,0,.16);
}

.audio-strip .audio-title{
  font-size: clamp(17px, 3.6vw, 20px);
  font-weight: 900;
  color:#286e9a;
  margin-bottom:4px;
}

.audio-strip .audio-sub{
  font-size:14px;
  line-height:1.45;
  color:#233756;
  max-width:650px;
  margin: -20px auto 30px;
}

.audio-graphic{
  margin:2px auto 2px;
  text-align:center;
}

.audio-graphic img{
  display:block;

  width:min(51vw, 268px);
  height:auto;
  margin:0 auto;
 
  filter:
    drop-shadow(0 2px 4px rgba(0,0,0,.10));
  transform:translateY(-4px) scaleY(.75);
}





.audio-inline{
  display:table;          /* shrink-wraps the badge */
  margin-left:auto;       /* pushes it flush right */
  margin-top:4px;

  padding:3px 7px;
  font-size:11px;
  line-height:1;

  font-weight:800;
  color:#1a1200;

  background:linear-gradient(#ffe2c2,#ffb77a);
  border-radius:7px;
  box-shadow:0 2px 2px rgba(0,0,0,.75);

  white-space:nowrap;
}

/* MAX PEEKING */


.hero-momkid{
  display: block;
  width: 100%;
  height: auto;
}



/* NEW RELEASE BADGE */

.release-badge {
    position: absolute;
    top: -75px;
    left: 55%;
    margin-left: -55px;
    transform: translate(-30%, -30%) rotate(-10deg);
    width: 150px;
    height: 135px;
    border-radius: 50%;
    z-index: 10;
}

@media (min-width: 768px) and (max-width: 992px){
  .book-card{
    padding: 20px 10px;
  }
}


.look-inside{
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;

  background: #ffeb3b;
  color: #000;
  font-weight: 500;
  font-size: 12px;

  padding: 3px 8px;
  border-radius: 6px;

  box-shadow: 0 2px 6px rgba(0,0,0,.4);
  white-space: nowrap;
}

@media (min-width: 1200px){
  .row > .col-lg-4{
    flex: 0 0 31%;
    max-width: 31%;
  }

  .row{
    justify-content: space-between;
  }
}







.audio-choice-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(135px, 1fr));
  gap:10px;
  margin:14px auto 0;
  width:100%;
  max-width:100%;
  box-sizing:border-box;
}

.audio-choice-card{
  background:
    linear-gradient(
      to bottom,
      #fffef0 0%,
      #fff9cf 55%,
      #fff3b8 100%
    );

  border:2px solid #caa43a;

  border-radius:16px;

  padding:10px;

  text-align:center;

  box-shadow:
    0 3px 10px rgba(0,0,0,.10),
    inset 0 1px 0 rgba(255,255,255,.85);

  box-sizing:border-box;
  min-width:0;
  position:relative;

  transition:
    transform .18s ease,
    box-shadow .18s ease;
}

.audio-choice-card:hover{
  transform:translateY(-2px);

  box-shadow:
    0 6px 18px rgba(0,0,0,.16),
    inset 0 1px 0 rgba(255,255,255,.9);
}

.audio-choice-card img{
  box-shadow:
    0 3px 10px rgba(40,110,154,.45);

  border-radius:8px;
}

.audio-new-badge{
  position:absolute;
  top:8px;
  left:5px;
  transform:rotate(-12deg);
  z-index:3;

  background:#f00;
  color:#fff;
  font-size:13px;
  font-weight:900;
  line-height:1;
  padding:4px 8px;
  border-radius:5px;
  border:1px solid #fff;
  box-shadow:0 2px 5px rgba(0,0,0,.28);
  text-shadow:none;
}


.audio-choice-card img{
  width:54px;
  height:auto;
  display:block;
  margin:0 auto 6px;
}

.audio-choice-title{
  min-height:38px;
  color:#c00;
  font-size:14px;
  font-weight:700;
  line-height:1.05;
}

.audio-card-actions{
  display:flex;
  gap:6px;
  justify-content:center;
  margin-top:8px;
}

.audio-sample,
.audio-buy{
  display:inline-block;
  padding:5px 8px;
  border-radius:8px;
  font-size:12px;
  font-weight:800;
  text-decoration:none;
  line-height:1;
}

.audio-sample{
  background:linear-gradient(#4aa2d9,#1c6ca2);
  color:#fff;
}

.audio-buy{
  background:linear-gradient(#ffd89a,#ff8a4c);
  color:#231a00;
}

.audio-sample:hover,
.audio-buy:hover{
  transform:translateY(-1px);
  box-shadow:1px 1px 7px rgba(0,0,0,.35);
}

@media (max-width:420px){
  .audio-choice-grid{
    grid-template-columns:1fr;
  }

  .audio-choice-card{
    display:grid;
    grid-template-columns:60px 1fr;
    align-items:center;
    text-align:left;
    gap:8px;
  }

  .audio-choice-card img{
    margin:0;
  }

  .audio-card-actions{
    justify-content:flex-start;
  }
}

.audio-bundle-row{
  margin:34px auto 0;
  text-align:center;
}

.audio-bundle-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:14px;

  width:min(340px, calc(100% - 24px));
  max-width:100%;
  min-height:96px;
  padding:14px 18px;
  background:
    radial-gradient(circle at top left, rgba(255,255,255,.85), transparent 38%),
    linear-gradient(135deg,#fff7d7 0%,#ffd36f 48%,#f6a83e 100%);
  border:3px solid #9f6b00;
  border-radius:18px;
  box-shadow:
    0 7px 20px rgba(0,0,0,.22),
    0 0 0 5px rgba(255,211,111,.28),
    inset 0 1px 0 rgba(255,255,255,.9);
  text-decoration:none;
  box-sizing:border-box;
  position:relative;
  overflow:hidden;

  transform:scale(1.02);
  transition:transform .18s ease, box-shadow .18s ease;
}

.audio-bundle-btn:hover{
  transform:scale(1.045) translateY(-2px);
  box-shadow:
    0 10px 26px rgba(0,0,0,.28),
    0 0 0 6px rgba(255,211,111,.35),
    inset 0 1px 0 rgba(255,255,255,.95);
    text-decoration: none;
    
}

.audio-bundle-btn::before{
  content:"BEST VALUE";
  position:absolute;
  top:12px;
  right:-18px;
  width:112px;
  height:22px;
  display:flex;
  align-items:center;
  justify-content:center;
  transform:rotate(35deg);
  background:#286e9a;
  color:#fff;
  font-size:10px;
  font-weight:900;
  letter-spacing:.6px;
  line-height:1;
  padding:0;
  box-shadow:0 2px 5px rgba(0,0,0,.22);
  padding-left:10px; 
}

.audio-bundle-btn img{
  width:82px;
  height:auto;
  flex:0 0 auto;
  filter:drop-shadow(0 3px 5px rgba(0,0,0,.25));
}

.audio-bundle-btn span{
  color:#5f2800;
  font-weight:900;
  font-size:19px;
  line-height:1.12;
  text-align:center;
  text-shadow:0 1px 0 rgba(255,255,255,.65);
   transition:
    color .22s ease,
    text-shadow .22s ease;
}

.audio-bundle-btn:hover span{
  color:#286e9a;

  text-shadow:
    0 1px 0 rgba(255,255,255,.75),
    0 0 5px rgba(40,110,154,.18);
}

.audio-bundle-btn .bundle-stars{
  display:block;
  color:#fff6a8 !important;
  font-size:23px;
  line-height:1;
  letter-spacing:3px;
  margin:0 auto 7px;
  text-shadow:
    0 1px 1px #7a3200,
    0 0 4px rgba(122,50,0,.45) !important;
}

@media (max-width:380px){
  .audio-bundle-btn{
    gap:9px;
    min-height:86px;
    padding:12px 12px;
  }

  .audio-bundle-btn img{
    width:68px;
  }

  .audio-bundle-btn span{
    font-size:17px;
  }

  .audio-bundle-btn .bundle-stars{
    font-size:20px;
    letter-spacing:2px;
  }
}
