/*
Theme Name: AK Digital Bookshelf
Author: AK Digital
Description: An English-language digital bookstore theme with a WooCommerce-powered homepage.
Version: 1.0.1
Requires at least: 5.2
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: akdigital-bookshelf
*/
:root{--ink:#15372f;--paper:#faf8f2;--accent:#a64129;--line:#d6d8cb}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font:1.05rem/1.65 system-ui,"Nirmala UI",sans-serif}.wrap{width:min(1180px,90%);margin:auto}a{color:inherit;text-underline-offset:.22em}.mast,.foot,.sectionhead,.mast nav,.menu{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}.mast{padding:1.15rem 0;border-bottom:1px solid var(--line)}.brand,.foot strong{font:bold 1.65rem Georgia,serif}.brand{display:inline-flex;align-items:center;gap:.7rem;text-decoration:none}.mark{display:grid;place-items:center;width:2rem;height:2rem;border-radius:50% 50% 4px 4px;background:var(--ink);color:white;font:italic bold 1.8rem Georgia}.menu{padding:0;margin:0;list-style:none}.mast nav a{text-decoration:none}.cart{border:1px solid var(--line);border-radius:3rem;padding:.3rem 1rem}.hero{display:grid;grid-template-columns:1.1fr 1fr;gap:6%;align-items:center;padding:clamp(2rem,6vw,5rem) 0}.kicker,.book small{font-weight:700;letter-spacing:.11em;font-size:.82rem}.intro h1{font:700 clamp(2.7rem,5.3vw,5rem)/1.24 Georgia,"Nirmala UI",serif;margin:.28em 0}.intro em{color:var(--accent);font-style:normal}.intro>p:not(.kicker){max-width:34rem}.cta,.woocommerce a.button,.woocommerce button.button{display:inline-block;background:var(--ink);color:white;border-radius:5px;padding:.7rem 1.25rem;text-decoration:none;font-weight:650}.art{min-height:295px;height:clamp(295px,29vw,400px);position:relative;isolation:isolate;overflow:hidden;background:repeating-linear-gradient(90deg,transparent 0 41px,#ffffff10 42px 43px),#d6ddcc}.book,.backbook{position:absolute;left:28%;top:12%;height:76%;width:45%;border-radius:2px 6px 6px 2px;box-shadow:6px 12px 14px #17292135}.backbook{background:#bd573b;transform:translate(20%,5%) rotate(13deg);border-right:6px double #f0cbae}.book{background:#164c40;color:#fff2cf;border-left:8px double #e3cf8a77;transform:rotate(-9deg);padding:5%;display:flex;flex-direction:column;justify-content:space-between}.book small{font-size:clamp(.65rem,1vw,.9rem)}.book b{font-size:clamp(2rem,4vw,3.9rem);line-height:1.24}.book i{height:12%;border-block:3px double #ddc58c;transform:skewY(-8deg)}#collection{border-top:1px solid var(--line);padding:2rem 0 4rem}.sectionhead{margin-bottom:1rem}.sectionhead h2{font-size:2rem;margin:0}.empty{border-block:1px dashed var(--line);padding:2rem 0}.woocommerce ul.products li.product img{aspect-ratio:4/5;object-fit:contain;background:#eeeee5}.woocommerce ul.products li.product .price{color:var(--ink)}.content{padding-block:3rem;min-height:55vh}.content img{max-width:100%;height:auto}.foot{border-top:1px solid var(--line);padding:1.5rem 0}.skip{position:absolute;left:-9999px}.skip:focus{left:1rem;background:white;z-index:99}a:focus-visible,button:focus-visible{outline:3px solid var(--accent);outline-offset:4px}@media(max-width:700px){.hero{grid-template-columns:1fr;gap:2rem}.art{height:280px;min-height:0}.mast nav{gap:.6rem}.brand{font-size:1.4rem}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
