.catalog-hero{padding:100px 0 96px;background:linear-gradient(125deg,#FDFBF3,#EDF6E8)}.catalog-hero h1{font-size:clamp(52px,6.3vw,90px);max-width:780px;margin:15px 0 24px}.catalog-hero em{color:#159A46;font-style:normal}.catalog-hero p{font-size:20px;line-height:1.75;max-width:720px;color:var(--muted);margin-bottom:28px}.catalog-section{background:white}.catalog-title{display:grid;grid-template-columns:1.15fr .85fr;gap:60px;align-items:end;margin-bottom:38px}.catalog-title h2{font-size:clamp(40px,4.2vw,62px);margin:0}.catalog-title h2 i,.catalog-outro h2 i{font-style:normal;color:#159A46}.catalog-title p{line-height:1.75;color:var(--muted);font-size:16px}.catalog-filters{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:18px}.filter{font:800 14px Lato,Arial,sans-serif;background:#F7F9F5;border:1px solid #E1E8DF;padding:13px 17px;color:var(--navy);border-radius:999px;cursor:pointer}.filter:hover{background:#EAF5DA}.filter.active{background:var(--navy);color:white;border-color:var(--navy)}.filter:focus-visible{outline:3px solid var(--green);outline-offset:3px}.catalog-count{font-size:14px;color:var(--muted);font-weight:700;margin:20px 0 24px}.catalog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:23px}.catalog-card{border:1px solid #E4E8DF;border-radius:17px;overflow:hidden;background:white;display:flex;flex-direction:column;box-shadow:0 12px 26px rgba(8,25,77,.035)}.catalog-card[hidden]{display:none}.book-visual{height:225px;padding:24px;display:flex;flex-direction:column;justify-content:space-between;background:#E5F1DE}.book-visual.explore{background:#FDF0BF}.book-visual.next{background:#E2E9FB}.book-visual.think{background:#D9F0EA}.visual-brand{font-size:10px;letter-spacing:1.7px;font-weight:900}.visual-symbol{font-size:70px;color:#0B9350;line-height:1;text-align:center}.visual-note{font-size:11px;color:#48546B;font-weight:700;text-align:center}.book-data{padding:26px;display:flex;flex-direction:column;flex:1}.book-stage{font-size:11px;text-transform:uppercase;letter-spacing:1.5px;font-weight:900;color:#168B46}.book-data h3{font-size:23px;line-height:1.23;margin:14px 0}.book-data p{font-size:14px;color:var(--muted);line-height:1.6;margin:0 0 23px}.book-status{margin-top:auto;border-top:1px solid #E6EAE6;padding-top:15px;color:#596981;font-size:12px;font-weight:700}.catalog-empty{border-radius:16px;background:#F3F6EF;padding:35px;text-align:center;margin-top:20px}.catalog-empty[hidden]{display:none}.catalog-empty p{line-height:1.6;color:var(--muted)}.catalog-empty .button{border:0;cursor:pointer}.catalog-outro{background:#F3F6EF;padding:85px 0}.outro-inner{display:flex;align-items:center;justify-content:space-between;gap:40px}.catalog-outro h2{font-size:clamp(40px,4.5vw,60px);margin:0}.catalog-outro p{color:var(--muted);margin-top:18px;font-size:17px}.outro-inner .button{white-space:nowrap}@media(max-width:900px){.catalog-title{grid-template-columns:1fr;gap:12px}.catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:640px){.catalog-hero{padding:65px 0}.catalog-hero p{font-size:17px}.catalog-section{padding:66px 0}.catalog-grid{grid-template-columns:1fr}.catalog-filters{gap:8px}.filter{font-size:12px;padding:11px 13px}.outro-inner{flex-direction:column;align-items:flex-start}.catalog-outro{padding:65px 0}.outro-inner .button{white-space:normal}}
.catalog-title-link{text-decoration:none;color:#08194D}.catalog-title-link:hover{color:#087F35;text-decoration:underline;text-decoration-color:#0DB148;text-underline-offset:4px}.catalog-title-link:focus-visible{outline:3px solid #0DB148;outline-offset:3px}.book-status span{color:#087F35}

.catalog-card-actions{display:flex;flex-direction:column;gap:12px;margin-top:auto;border-top:1px solid #E6EAE6;padding-top:14px}
.catalog-shop-link{display:block;background:#08194D;color:#fff;text-decoration:none;text-align:center;border-radius:9px;padding:13px;font-weight:900;font-size:14px;line-height:1.3}
.catalog-shop-link:hover,.catalog-shop-link:focus-visible{background:#0B8440;color:#fff}
.catalog-shop-link:focus-visible{outline:3px solid #FDC701;outline-offset:3px}
.catalog-card-actions .book-status{border-top:0;padding-top:0;text-align:center;color:#52607B;font-size:12px}
.book-visual.sprouts{background:#FCF0C5}

.catalog-card-actions{gap:0}.catalog-card-actions:empty{display:none}

.book-visual.book-visual-cover{height:330px;overflow:hidden;align-items:center;justify-content:center;padding:22px}
.book-visual-cover img{display:block;width:auto;max-width:100%;height:100%;object-fit:contain}

/* Distinct internal detail action above the Amazon purchase CTA. */
.catalog-details-link{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#08194D;text-decoration:none;font:900 14px Lato,Arial,sans-serif;padding:10px 4px 16px;min-height:44px}
.catalog-details-link:hover{color:#087F35;text-decoration:underline;text-underline-offset:4px}
.catalog-details-link:focus-visible{outline:3px solid #0DB148;outline-offset:3px;border-radius:5px}
.catalog-details-link span{font-size:19px;line-height:1}

/* Book-cover cards: fixed natural vertical flow across screen sizes.
   Never overlay descriptive content or crop approved cover artwork. */
.catalog-grid .catalog-card{display:flex;flex-direction:column;min-width:0;height:100%;overflow:hidden}
.catalog-grid .book-visual.book-visual-cover{box-sizing:border-box;position:relative;display:flex;flex:0 0 auto;height:auto;min-height:0;aspect-ratio:5/6;align-items:center;justify-content:center;overflow:hidden;padding:24px}
.catalog-grid .book-visual-cover img{display:block;position:static;width:auto;max-width:100%;height:auto;max-height:100%;object-fit:contain;object-position:center;flex:0 1 auto}
.catalog-grid .catalog-card .book-data{position:static;z-index:auto;display:flex;flex:1 1 auto;flex-direction:column;min-height:0;padding:22px 24px 24px;background:#fff}
.catalog-grid .catalog-card .book-data h3{overflow-wrap:anywhere;margin:12px 0}
.catalog-grid .catalog-card .catalog-card-actions{margin-top:auto;gap:8px}
@media(max-width:640px){.catalog-grid .book-visual.book-visual-cover{aspect-ratio:5/5.6;padding:20px}.catalog-grid .catalog-card .book-data{padding:20px}}

/* A filtered-out card must remain hidden despite the stronger grid flex selector. */
.catalog-grid .catalog-card[hidden]{display:none!important}


/* Premium library storefront. Keep functional catalog visibility guarantees. */
.catalog-hero{position:relative;overflow:hidden;padding:78px 0 82px;background:radial-gradient(circle at 8% 8%,#E1F8E7 0,transparent 27%),radial-gradient(circle at 78% 15%,#FFF0BD 0,transparent 36%),linear-gradient(132deg,#FFFCF4,#E9F7EF)}
.catalog-hero-grid{display:grid;grid-template-columns:1.04fr .96fr;align-items:center;gap:32px}
.catalog-hero h1{font-size:clamp(46px,5.2vw,78px);line-height:1.1;margin:14px 0 23px}
.catalog-hero .kicker{margin-bottom:15px}
.catalog-hero p{max-width:590px;font-size:19px;line-height:1.7}
.catalog-hero-promise{display:flex;flex-wrap:wrap;gap:12px;margin-top:32px;font-weight:900;font-size:12px;color:#246C42}
.catalog-hero-promise span{padding:10px 13px;background:#fff;border:1px solid #DCEADB;border-radius:999px}
.catalog-hero-gallery{height:440px;min-width:0;position:relative;isolation:isolate}
.catalog-hero-gallery:before{content:"";position:absolute;inset:3% 0 4%;background:#D9F3E2;border-radius:44% 56% 43% 57%/56% 42% 58% 44%;transform:rotate(-8deg)}
.catalog-feature-cover{position:absolute;top:18%;width:40%;aspect-ratio:7/10;background:#fff;border-radius:13px;padding:8px;border:1px solid #DCE2DB;box-shadow:0 20px 34px #08194D2B;overflow:hidden}
.catalog-feature-cover img{display:block;width:100%;height:100%;object-fit:contain;border-radius:5px}
.cover-one{left:1%;transform:rotate(-12deg);z-index:1}.cover-two{left:30%;top:9%;transform:rotate(2deg);z-index:3}.cover-three{right:0;transform:rotate(13deg);z-index:2}
.hero-orbit{position:absolute;z-index:4;font-size:42px;color:#FDC701}.orbit-one{left:9%;top:0}.orbit-two{right:2%;bottom:0;color:#0DB148}
.hero-spark{position:absolute;z-index:5;right:8%;bottom:1%;font-size:12px;letter-spacing:1.7px;font-weight:900;color:#08194D;background:#FDC701;padding:15px 18px;border-radius:999px;transform:rotate(-7deg)}
.catalog-section{background:radial-gradient(circle at 95% 1%,#FFF7D9 0,transparent 21%),#fff}
.catalog-title{align-items:center;margin-bottom:30px}
.catalog-title p{font-size:17px}
.catalog-filter-intro{font-size:12px;font-weight:900;letter-spacing:2px;color:#167E45;margin-bottom:16px}
.catalog-filter-intro span{color:#F4BF00;font-size:18px}
.catalog-filters{gap:12px;margin-bottom:22px}
.filter{border-width:2px;background:#fff;box-shadow:0 4px 0 #08194D0F;transition:transform .16s,background .16s}
.filter:hover{transform:translateY(-2px);background:#E7F8EA}
.filter.active{background:#08194D;border-color:#08194D;box-shadow:0 5px 0 #DDE6F1}
.catalog-count{font-weight:900;margin:18px 0 24px}
.catalog-grid{gap:26px}
.catalog-grid .catalog-card{border:1px solid #E0E7DB;border-radius:21px;box-shadow:0 9px 0 #E8EFE5,0 15px 28px #08194D0A}
.catalog-grid .catalog-card:first-child{border-color:#D6E8D8;box-shadow:0 9px 0 #DDEFE4,0 17px 31px #08194D12}
.catalog-grid .book-visual.book-visual-cover{padding:25px;aspect-ratio:5/6}
.catalog-grid .catalog-card .book-data{padding:24px 25px 28px}
.catalog-grid .book-visual.sprouts{background:radial-gradient(circle at 19% 15%,#fff8de 0,transparent 48%),#FFF0C2}
.catalog-grid .book-visual.think{background:radial-gradient(circle at 10% 15%,#EEFFF3,transparent 48%),#D8F3ED}
.catalog-grid .book-visual.explore{background:radial-gradient(circle at 85% 18%,#FFF7CD,transparent 48%),#FEF0C8}
.catalog-grid .catalog-card[hidden]{display:none!important}
.catalog-grid .catalog-card .book-stage{letter-spacing:1.25px}
.catalog-grid .catalog-card .book-data h3{font-size:22px;line-height:1.26}
.catalog-shop-link{border-radius:999px;box-shadow:0 4px 0 #DDE6F1}
.catalog-details-link{font-weight:900}
.catalog-outro{background:linear-gradient(125deg,#E7F8E8,#FFF3C8)}
@media(max-width:900px){.catalog-hero-grid{grid-template-columns:1fr;gap:0}.catalog-hero-gallery{height:310px;max-width:520px;width:100%;margin:20px auto 0}.catalog-feature-cover{width:30%;top:13%}.cover-two{left:35%;top:4%}.cover-three{right:5%}.cover-one{left:5%}.catalog-hero{padding:60px 0 65px}}
@media(max-width:640px){.catalog-hero h1{font-size:clamp(42px,10vw,61px)}.catalog-hero-gallery{height:270px}.catalog-feature-cover{width:38%;padding:5px}.cover-one{left:0}.cover-two{left:30%}.cover-three{right:0}.catalog-hero-promise{margin-top:23px}.catalog-grid .book-visual.book-visual-cover{aspect-ratio:5/5.6;padding:18px}}

/* Decorative artwork is separate from the eight product images counted in QA. */
.catalog-feature-cover .feature-art{display:block;width:100%;height:100%;border-radius:5px;background-size:contain;background-position:center;background-repeat:no-repeat}
.feature-wild{background-image:url("/assets/books/wild-little-worlds.webp")}
.feature-mazes{background-image:url("/assets/books/strategic-mazes-and-route-puzzles.webp")}
.feature-logic{background-image:url("/assets/books/logic-challenge-lab.webp")}


/* APPROVED STAGING DESIGN PASS 2026-10-22:
 * premium printed-book discovery desk; covers are the actual pinned KDP assets,
 * CSS supplies depth, physical edges and a restrained botanical/STEM environment.
 * No fake cover imagery, no pre-rendered text and no extra catalog img tags.
 */
.catalog-hero{padding:64px 0 64px;background:radial-gradient(ellipse 33% 52% at 8% 15%,#E4F8E9,transparent 85%),radial-gradient(ellipse 39% 45% at 94% 10%,#FFF1BF,transparent 80%),#FDFBF3}
.catalog-hero .shell{max-width:1480px;padding-inline:clamp(28px,4.5vw,75px)}
.catalog-hero-grid{grid-template-columns:minmax(0,.87fr) minmax(0,1.13fr);align-items:center;gap:clamp(12px,2vw,38px)}
.catalog-hero-copy{position:relative;z-index:3}
.catalog-hero-copy h1{font-size:clamp(42px,4.3vw,70px);line-height:1.08;letter-spacing:-.055em}
.catalog-hero-copy h1 em{color:#098D42}
.catalog-hero-copy p{max-width:505px;font-size:clamp(16px,1.3vw,19px);line-height:1.64}
.catalog-printed-library{position:relative;display:block;isolation:isolate;width:100%;min-width:0;height:490px;overflow:visible;perspective:1300px;filter:drop-shadow(0 15px 20px #08194D11)}
.catalog-printed-library:before{content:"";position:absolute;z-index:-2;inset:2% 0 9%;transform:rotate(-7deg);background:radial-gradient(circle at 50% 48%,#D6F1DF 0,#F4F3D6 64%,transparent 73%);border-radius:50%}
.discovery-sunlight{position:absolute;z-index:-1;width:68%;height:57%;right:3%;top:3%;border-radius:50%;background:radial-gradient(circle,#FFEFABAA 3%,transparent 70%);pointer-events:none}
.library-arc{position:absolute;z-index:0;width:81%;height:69%;top:16%;left:9%;border:2px solid #FFFFFF88;border-radius:50% 50% 47% 48%;transform:rotate(-11deg);pointer-events:none}
.library-desk{position:absolute;z-index:0;bottom:7%;left:0;right:-3%;height:18%;border-radius:45% 35% 19px 19px/20% 21% 14px 14px;
background:linear-gradient(180deg,#F9DC9C 0%,#C98C55 48%,#AD713E 53%,#E3B979 100%);
box-shadow:0 17px 22px #805D3B44,inset 0 5px 8px #FFF3D6A9;border:1px solid #B77B4B}
.library-desk:after{content:"";position:absolute;inset:17% 3% 53%;border-top:1px solid #FBE7B955;border-bottom:1px solid #A7693F44;border-radius:50%}
.printed-book{position:absolute;z-index:4;display:block;width:25%;aspect-ratio:7/10;box-sizing:border-box;border:3px solid #FFFEF6;background:#F5EEDC;border-radius:4px 7px 8px 4px;
box-shadow:-9px 14px 0 #8A694C66,-13px 22px 23px #08194D40,0 0 0 1px #08194D20;
transform-style:preserve-3d;transform-origin:bottom center;transition:transform .2s ease,filter .2s ease;filter:saturate(1.05)}
.printed-book:before{content:"";position:absolute;z-index:-1;left:-10px;top:5px;bottom:1px;width:9px;transform:skewY(37deg);transform-origin:top right;background:linear-gradient(90deg,#506C86,#B6B9A4 45%,#FDF7E5 90%);border-radius:2px 0 0 3px}
.printed-book:after{content:"";position:absolute;z-index:-1;bottom:-9px;left:1px;right:0;height:9px;transform:skewX(30deg);transform-origin:top left;background:repeating-linear-gradient(180deg,#FDF8EA 0 2px,#D6D0BE 2px 3px);border-radius:0 0 6px 3px}
.printed-cover{display:block;width:100%;height:100%;background-position:center;background-repeat:no-repeat;background-size:100% 100%;border-radius:2px 5px 4px 2px}
.printed-book:focus-visible{outline:4px solid #0DB148;outline-offset:8px}
.printed-book:hover{filter:saturate(1.13) brightness(1.035)}
.printed-maze{left:3%;top:32%;width:25%;z-index:3;transform:rotate(-11deg) rotateY(-8deg)}
.printed-maze:hover{transform:rotate(-8deg) rotateY(-5deg) translateY(-10px)}
.printed-pattern{left:20%;top:19%;width:27%;z-index:5;transform:rotate(-1deg) rotateY(-5deg)}
.printed-pattern:hover{transform:rotate(0deg) rotateY(-2deg) translateY(-10px)}
.printed-logic{left:43%;top:27%;width:27%;z-index:6;transform:rotate(4deg) rotateY(5deg)}
.printed-logic:hover{transform:rotate(3deg) rotateY(2deg) translateY(-10px)}
.printed-cryptograms{left:62%;top:19%;width:26%;z-index:4;transform:rotate(9deg) rotateY(9deg)}
.printed-cryptograms:hover{transform:rotate(6deg) rotateY(4deg) translateY(-10px)}
.printed-network{right:0;top:36%;width:23%;z-index:2;transform:rotate(15deg) rotateY(9deg)}
.printed-network:hover{transform:rotate(12deg) rotateY(5deg) translateY(-10px)}
.printed-maze .printed-cover{background-image:url("/assets/books/strategic-mazes-and-route-puzzles.webp")}
.printed-pattern .printed-cover{background-image:url("/assets/books/pattern-detective-sequences-and-rules.webp")}
.printed-logic .printed-cover{background-image:url("/assets/books/logic-challenge-lab.webp")}
.printed-cryptograms .printed-cover{background-image:url("/assets/books/cryptograms-codes-and-ciphers.webp")}
.printed-network .printed-cover{background-image:url("/assets/books/network-logic-lab.webp")}
.library-section-label{position:absolute;z-index:8;bottom:1.5%;padding:8px 13px;background:#FFFDF8;border:1px solid #DDD5B9;box-shadow:0 6px 0 #CCA97555,0 8px 13px #08194D18;
border-radius:9px;font:900 10px Lato,Arial,sans-serif;letter-spacing:.9px;color:#087A41;transform:rotate(-3deg);white-space:nowrap}
.library-section-label span{display:block;font-weight:700;font-size:9px;letter-spacing:.6px;color:#6E7A5E;margin-top:3px}
.library-section-label.young-label{left:19%}.library-section-label.curious-label{right:11%;transform:rotate(3deg);color:#08194D}
.library-prop{position:absolute;z-index:2;pointer-events:none}
.library-prop-globe{top:4%;left:1%;width:62px;height:85px}
.globe-glass{position:absolute;display:block;inset:0 4px 30px;width:52px;height:52px;border-radius:50%;background:radial-gradient(circle at 31% 27%,#D9FBFF,#81C5DF 70%,#2D8CB4 100%);border:4px solid #AD7944;box-shadow:inset 0 0 0 1px #FFFBE9,0 5px 10px #08194D22}
.globe-glass:after{content:"";position:absolute;inset:13px 10px;background:#4EBB7B;clip-path:polygon(0 16%,44% 2%,55% 20%,36% 40%,75% 52%,61% 89%,24% 80%,14% 50%);opacity:.88}
.globe-stand{position:absolute;bottom:8px;left:24px;width:12px;height:28px;background:#9A6538}
.globe-stand:after{content:"";position:absolute;bottom:-6px;left:-13px;width:40px;height:9px;border-radius:50%;background:#8D5A34}
.library-prop-magnifier{bottom:20%;left:2%;width:41px;height:41px;border-radius:50%;border:6px solid #1B4A5C;box-shadow:inset 0 0 0 2px #A9E6EF88,0 4px 12px #08194D22;transform:rotate(-35deg)}
.library-prop-magnifier:after{content:"";position:absolute;left:36px;top:33px;width:14px;height:63px;border-radius:7px;background:linear-gradient(90deg,#B9863E,#5C371E,#C08E40);transform:rotate(-17deg)}
.library-prop-pencil{right:1%;bottom:20%;width:13px;height:116px;background:linear-gradient(90deg,#D88C22 0 25%,#FFE46C 25% 70%,#D78F2B 70%);border-radius:5px;transform:rotate(52deg);box-shadow:0 5px 7px #08194D22}
.library-prop-pencil:after{content:"";position:absolute;left:-1px;bottom:-20px;width:15px;height:22px;background:#D8B98B;clip-path:polygon(0 0,100% 0,50% 100%)}
.library-prop-leaf{bottom:23%;right:7%;font-size:40px;color:#17A64F;transform:rotate(17deg)}
.library-prop-stars{top:6%;right:8%;font-size:47px;color:#FDC701;filter:drop-shadow(0 4px 3px #D8B74966)}
@media(max-width:1100px){
  .catalog-hero-grid{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)}
  .catalog-printed-library{height:400px}
  .library-prop-globe{transform:scale(.78);transform-origin:top left}
  .library-section-label{font-size:9px}
}
@media(max-width:900px){
  .catalog-hero-grid{grid-template-columns:1fr;gap:10px}
  .catalog-printed-library{height:400px;max-width:680px;width:100%;margin:25px auto 0}
  .catalog-hero{padding:54px 0 50px}
  .catalog-hero-copy h1{font-size:clamp(38px,7vw,60px)}
}
@media(max-width:640px){
  .catalog-hero .shell{padding-inline:20px}
  .catalog-hero{padding:42px 0 35px}
  .catalog-hero-copy h1{font-size:clamp(37px,9.4vw,56px);margin:11px 0 17px}
  .catalog-hero-copy p{font-size:15px}
  .catalog-printed-library{height:300px;max-width:480px;margin:28px auto 0}
  .printed-book{border-width:2px}
  /* Keep the rotated rightmost printed book fully inside narrow viewports. */
  .printed-network{right:4%}
  .printed-book:before{left:-6px;width:5px}
  .printed-book:after{bottom:-6px;height:6px}
  .library-desk{height:16%;bottom:11%}
  .library-section-label{font-size:7px;padding:6px 7px;bottom:5%}
  .library-section-label span{font-size:7px}
  .library-section-label.young-label{left:12%}.library-section-label.curious-label{right:5%}
  .library-prop-globe{transform:scale(.52);transform-origin:top left}
  .library-prop-magnifier{transform:scale(.55) rotate(-35deg);transform-origin:bottom left;left:0}
  .library-prop-pencil{transform:scale(.55) rotate(52deg);transform-origin:bottom right}
  .library-prop-leaf{font-size:25px}.library-prop-stars{font-size:27px}
  .printed-network{right:5%;transform:rotate(11deg) rotateY(7deg)}
}
@media(prefers-reduced-motion:reduce){.printed-book{transition:none!important}}


/* Tablet: the angled right-hand printed cover must fit without cropping. */
@media(min-width:641px) and (max-width:900px){
  .catalog-printed-library .printed-network{right:10%;transform:rotate(9deg) rotateY(7deg)}
}

/* Catalog discovery: accessible, private on-page search for the growing book library. */
.catalog-search{max-width:560px;margin:2px 0 22px}
.catalog-search label{display:block;margin:0 0 9px;color:#08194D;font:900 14px Lato,Arial,sans-serif}
.catalog-search-row{display:flex;align-items:center;gap:10px;min-width:0}
.catalog-search input[type="search"]{min-width:0;flex:1;width:100%;box-sizing:border-box;border:2px solid #C9D8C9;border-radius:13px;padding:14px 16px;background:#FFFDF8;color:#08194D;font:700 15px Lato,Arial,sans-serif;box-shadow:0 4px 0 #08194D0B}
.catalog-search input[type="search"]::placeholder{color:#64748B;opacity:1}
.catalog-search input[type="search"]:focus-visible{outline:3px solid #0DB148;outline-offset:3px}
#catalog-search-clear{flex:0 0 auto;min-height:47px;padding:10px 14px;border:2px solid #DDE5DA;border-radius:12px;background:#FFFFFF;color:#08194D;font:900 13px Lato,Arial,sans-serif;cursor:pointer}
#catalog-search-clear:hover{background:#EAF5DA}
#catalog-search-clear:focus-visible{outline:3px solid #0DB148;outline-offset:3px}
#catalog-search-clear[hidden]{display:none!important}
@media(max-width:480px){.catalog-search-row{gap:8px}.catalog-search input[type="search"]{padding:13px 12px;font-size:14px}#catalog-search-clear{padding:10px 11px}}

/* Keyboard-accessible detail links on real book covers; preserves the printed-book cards. */
.catalog-cover-link{display:block;flex:0 0 auto;min-width:0;width:100%;text-decoration:none}
.catalog-cover-link:focus-visible{outline:3px solid #0DB148;outline-offset:-3px;border-radius:12px}

/* User-initiated sharing of the current catalog search/age filter. */
#catalog-copy-link{flex:0 0 auto;min-height:47px;padding:10px 14px;border:2px solid #0DB148;border-radius:12px;background:#F1FAF0;color:#08194D;font:900 13px Lato,Arial,sans-serif;cursor:pointer;white-space:nowrap}
#catalog-copy-link:hover{background:#E0F5DF}
#catalog-copy-link:focus-visible{outline:3px solid #0DB148;outline-offset:3px}
@media(max-width:640px){.catalog-search-row{flex-wrap:wrap}#catalog-copy-link{margin-left:auto}}
@media(max-width:480px){#catalog-copy-link{padding:10px 11px}}

/* Empty-result recovery: preserve the query when another age group matches. */
.catalog-empty #catalog-search-all-ages{margin:0 12px 12px 0}
.catalog-empty #catalog-search-all-ages[hidden]{display:none!important}
@media(max-width:480px){.catalog-empty #catalog-search-all-ages{margin-right:0;width:100%}}
