/* DEJOIY Joy — Nexus (library, reader, cart, LMS) in the 2026 look.
   Nexus keeps its markup and JS; this layer swaps its purple/pink gradients for the dejoiy.com palette:
   ground #F3F2EE, ink #121212, Nexus sky #9FD8FF, lime #D4FF3A for highlights. */

body.dejoiy-nexus-active,body.dejoiy-library-active,body.dlu-screen,.dlu-root,.dlu-cart-panel,.dlu-wishlist-panel,.dlu-hdr,.dlu-hdr-drawer,.dlu-preview-modal{
	--dlu-bg:#F3F2EE;--dlu-card:#FFFFFF;--dlu-border:#E6E4DD;--dlu-text:#121212;--dlu-text-secondary:#2C2C29;--dlu-text-muted:#55554F;
	--dlu-purple:#121212;--dlu-purple-light:#9FD8FF;--dlu-pink:#121212;--dlu-cyan:#9FD8FF;--dlu-blue:#121212;--dlu-gold:#FFD43B;
	--dlu-gradient:#121212;--dlu-gradient-hero:#121212;--dlu-shadow:none;--dlu-shadow-hover:none;--dlu-success:#1F8F5F;
}
body.dejoiy-nexus-active,body.dejoiy-library-active,body.dlu-screen{background:#F3F2EE !important}
.dlu-root,.dlu-root p,.dlu-root li,.dlu-root span,.dlu-root a,.dlu-root button,.dlu-root input,.dlu-cart-panel,.dlu-wishlist-panel,.dlu-hdr,.dlu-hdr-drawer,.dlu-preview-modal{font-family:'DM Sans',system-ui,sans-serif}
.dlu-root{background:#F3F2EE !important;color:#121212}
.dlu-root h1,.dlu-root h2,.dlu-root h3,.dlu-root .dlu-sec-title,.dlu-cart-panel h2,.dlu-wishlist-panel h2{font-family:'Bricolage Grotesque',sans-serif !important;letter-spacing:-.04em;color:#121212}
.dlu-root h2,.dlu-root .dlu-sec-title{font-size:clamp(32px,4vw,56px) !important;line-height:.95 !important;font-weight:800 !important}

/* Nexus bar (their header) under the dejoiy.com header */
body.djx-swap #dlu-hdr{display:block !important;position:relative !important;top:auto !important;background:#9FD8FF !important;border:0 !important;box-shadow:none !important;z-index:50 !important}
body.djx-swap #dlu-hdr .dlu-hdr-in{max-width:1360px;margin:0 auto;padding:10px 32px !important;display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px}
body.djx-swap #dlu-hdr .dlu-brand{display:none !important}
body.djx-swap #dlu-hdr .dlu-hdr-bar{background:transparent !important;border:0 !important;padding:0 !important;min-height:0 !important}
body.djx-swap #dlu-hdr .dlu-hdr-bar::before{content:'Nexus';font-family:'Bricolage Grotesque',sans-serif;font-weight:800;font-size:22px;letter-spacing:-.04em;color:#121212}
body.djx-swap #dlu-hdr .dlu-search-wrap{flex:1 1 260px;max-width:420px;order:3}
body.djx-swap #dlu-hdr .dlu-hdr-search{background:#fff !important;border:0 !important;border-radius:999px !important;box-shadow:none !important;min-height:44px}
body.djx-swap #dlu-hdr .dlu-hdr-search input{background:transparent !important;border:0 !important;font-size:15px;color:#121212}
body.djx-swap #dlu-hdr .dlu-nav{display:flex !important;gap:4px;overflow-x:auto;scrollbar-width:none;order:2;flex:1 1 auto}
body.djx-swap #dlu-hdr .dlu-nav a{color:#121212 !important;font-weight:600;font-size:15px;padding:8px 12px;border-radius:999px;white-space:nowrap;text-decoration:none}
body.djx-swap #dlu-hdr .dlu-nav a:hover,body.djx-swap #dlu-hdr .dlu-nav a:focus-visible{background:rgba(255,255,255,.6);color:#121212 !important}
body.djx-swap #dlu-hdr .dlu-hdr-tools{display:flex;gap:8px;align-items:center;order:4}
body.djx-swap #dlu-hdr .dlu-icon-btn,body.djx-swap #dlu-hdr .dlu-cart-btn{width:44px;height:44px;border-radius:999px !important;background:#fff !important;border:0 !important;color:#121212 !important;display:inline-grid;place-items:center}
body.djx-swap #dlu-hdr .dlu-btn-pass{background:#121212 !important;color:#9FD8FF !important;border-radius:999px !important;padding:0 18px !important;height:44px;display:inline-flex;align-items:center;font-weight:800;text-decoration:none;border:0 !important}
.dlu-cart-badge,.dlu-wishlist-badge{background:#121212 !important;color:#D4FF3A !important}
body.djx-swap footer.dlu-ft{display:none !important}
@media (max-width:760px){
	body.djx-swap #dlu-hdr .dlu-hdr-in{padding:8px 16px !important}
	body.djx-swap #dlu-hdr .dlu-search-wrap{flex-basis:100%;max-width:none}
	body.djx-swap #dlu-hdr .dlu-icon-btn--hide-sm{display:none !important}
}

/* buttons */
.dlu-root .dlu-btn-primary,.dejoiy-library-active .dlu-btn-primary,.dejoiy-nexus-active .dlu-btn-primary,.dlu-screen .dlu-btn-primary,.dlu-cart-panel-foot .dlu-btn-primary,.dlu-preview-dialog .dlu-preview-actions a.dlu-btn-primary{background:#121212 !important;color:#F3F2EE !important;border:0 !important;border-radius:999px !important;box-shadow:none !important;font-weight:800 !important;text-transform:none !important;letter-spacing:0 !important}
.dlu-root .dlu-btn-primary:hover{transform:translateY(-2px)}
.dejoiy-library-active .dlu-btn-secondary,.dejoiy-nexus-active .dlu-btn-secondary,.dlu-screen .dlu-btn-secondary,.dlu-root .dlu-btn-ghost{background:#fff !important;color:#121212 !important;border:2px solid #121212 !important;border-radius:999px !important;box-shadow:none !important;text-transform:none !important;letter-spacing:0 !important;font-weight:700 !important}
.dlu-root .dlu-btn-ghost:hover,.dejoiy-library-active .dlu-btn-secondary:hover,.dlu-screen .dlu-btn-secondary:hover{background:#9FD8FF !important;color:#121212 !important}

/* hero: flat sky field, big ink type, no mesh/galaxy */
.dlu-hero{background:#9FD8FF !important;min-height:0 !important;padding:clamp(72px,10vw,140px) 0 clamp(64px,8vw,110px) !important}
.dlu-hero-mesh,.dlu-hero-core,.dlu-galaxy-canvas,#dlu-galaxy{display:none !important}
.dlu-hero-title{font-family:'Bricolage Grotesque',sans-serif !important;font-weight:800 !important;letter-spacing:-.055em !important;line-height:.9 !important;font-size:clamp(48px,7vw,104px) !important;color:#121212 !important}
.dlu-hero-line2{background:none !important;-webkit-background-clip:initial !important;background-clip:initial !important;-webkit-text-fill-color:#121212 !important;color:#121212 !important}
.dlu-hero-content p,.dlu-hero-content .dlu-hero-sub{color:#121212 !important;font-size:clamp(17px,1.6vw,20px)}
.dlu-hero-search,.dlu-hero-search:focus-within{background:#fff !important;border:0 !important;border-radius:999px !important;box-shadow:none !important}
.dlu-search-submit{background:#121212 !important;color:#9FD8FF !important;border-radius:999px !important;box-shadow:none !important}
.dlu-hero [class*=kicker],.dlu-hero [class*=eyebrow]{color:#121212 !important;opacity:.8}

/* sections */
.dlu-sec{background:#F3F2EE !important}
.dlu-joi{background:#121212 !important;color:#F3F2EE}
.dlu-joi h2,.dlu-joi h3,.dlu-joi p{color:#F3F2EE !important}
.dlu-joi-orb{background:#D4FF3A !important;box-shadow:none !important;animation:none !important}
.dlu-joi input,.dlu-joi textarea{background:#F3F2EE !important;border:0 !important;border-radius:18px !important;color:#121212 !important}
.dlu-joi-result{background:#1E1E1C !important;border:0 !important;border-radius:24px !important;color:#F3F2EE}
.dlu-joi-result-bar,.dlu-joi-bubble__books,.dlu-joi-books-wrap{border-color:#2C2C29 !important}
.dlu-joi-result-label,.dlu-joi-bubble__books-kicker{color:#D4FF3A !important}
.dlu-joi-close{background:#2C2C29 !important;border:0 !important;color:#F3F2EE !important}
.dlu-joi-close:hover{background:#D4FF3A !important;color:#121212 !important;box-shadow:none !important}
.dlu-joi-bubble--user{background:#2C2C29 !important;border:0 !important}
.dlu-joi-inline-book,.dlu-joi-bubble__book-title{color:#9FD8FF !important;border-color:#9FD8FF !important}
.dlu-joi-bubble__book-link{background:#2C2C29 !important;border:0 !important;box-shadow:none !important}
.dlu-sec-my{background:#121212 !important;color:#F3F2EE}
.dlu-sec-my h2,.dlu-sec-my p,.dlu-sec-my span{color:#F3F2EE !important}
.dlu-sec-my [class*=card],.dlu-sec-my a:not(.dlu-btn-primary):not(.dlu-btn-secondary){background:#1E1E1C !important;border:0 !important;border-radius:24px !important;color:#F3F2EE !important}
.dlu-sec-my .dlu-btn-primary,.dlu-sec-my a.dlu-btn-primary{background:#9FD8FF !important;color:#121212 !important}
.dlu-sec-my .dlu-btn-secondary,.dlu-sec-my a[class*=btn]{background:#D4FF3A !important;color:#121212 !important;border:0 !important}
.dlu-collection-icon{background:#9FD8FF !important;color:#121212 !important}
.dlu-root [class*=collection-card],.dlu-root [class*=dlu-card]{background:#fff !important;border:0 !important;border-radius:24px !important;box-shadow:none !important}
.dlu-root [class*=lang] a,.dlu-root .dlu-lang-chip,.dlu-root .dlu-chip{border-radius:999px !important}
.dlu-book-lang{background:#fff !important;border-color:#E6E4DD !important}
.dlu-book-lang-link,.dlu-fav-chip,.dlu-search-live-all,.dlu-drawer-wishlist,.dlu-drawer-head strong{color:#121212 !important}

/* book cards */
.dlu-root ul.dlu-books-grid{gap:20px !important}
.dlu-root li.dlu-book,.dlu-root .dlu-wc-product-card{background:#fff !important;border:0 !important;border-radius:24px !important;box-shadow:none !important;overflow:hidden;transition:transform .2s ease}
.dlu-root li.dlu-book:hover{transform:translateY(-4px)}
.dlu-root .dlu-book-image{border-radius:18px !important;overflow:hidden;margin:10px 10px 0 !important}
.dlu-root .dlu-book-preview{background:#121212 !important;color:#9FD8FF !important;border-radius:10px !important;font-weight:800 !important;text-transform:none !important;box-shadow:none !important}
.dlu-root .dlu-book-save{background:#fff !important;border:0 !important;border-radius:999px !important;color:#121212 !important}
.dlu-reader-toolbar .dlu-reader-wishlist.is-saved,.dlu-book-save.is-saved{background:#D4FF3A !important;border-color:#121212 !important;color:#121212 !important}
.dlu-book-title-on-cover{background:linear-gradient(to top,rgba(18,18,18,.85),transparent) !important}
.dlu-root .dlu-book-summary{padding:12px 14px 16px !important}
.dlu-root .dlu-book-summary .price,.dlu-root .dlu-book-summary .woocommerce-Price-amount{font-family:'Bricolage Grotesque',sans-serif !important;font-weight:800 !important;font-size:20px !important;color:#121212 !important}
.dlu-root .dlu-book-buttons{gap:8px !important}
.dlu-root .dlu-book-buttons .button,.dlu-root .dlu-book-buttons a,.dlu-root .dlu-book-buttons button{border-radius:999px !important;text-transform:none !important;letter-spacing:0 !important;font-weight:800 !important;box-shadow:none !important;min-height:42px;font-size:13px !important}
.dlu-root .dlu-book-buttons .button.add_to_cart_button{background:#F3F2EE !important;color:#121212 !important;border:0 !important}

/* cart + wishlist drawers, cart page */
.dlu-cart-panel,.dlu-wishlist-panel{background:#F3F2EE !important;color:#121212}
.dlu-cart-panel-kind,.dlu-cart-panel-price,.dlu-cart-panel-title:hover{color:#121212 !important}
.dlu-cart-panel-remove,.dlu-shelf-remove{color:#121212 !important}
.dlu-nexus-pending-cart{background:#fff !important}

/* reader */
.dlu-reader-toolbar .dlu-reader-modes button.is-on{background:#121212 !important;border-color:#121212 !important;color:#D4FF3A !important}
.dlu-reader-toolbar .dlu-btn-ghost{color:#121212 !important}
.dlu-reader-side .dlu-btn-primary{box-shadow:none !important}
.dlu-reader-body[data-mode="light"] .dlu-reader-side .dlu-btn-ghost:hover{background:#9FD8FF !important}
.dlu-reader-body[data-mode="dark"] .dlu-reader-side .dlu-btn-ghost:hover{background:#2C2C29 !important}
.dlu-nexus-virtual .dlu-nexus-panel{background:#121212 !important}

/* old Nexus header bits that remain (drawer, burger) */
.dlu-burger span{background:#121212 !important}
.dlu-hdr-drawer a:hover,.dlu-hdr-drawer a:focus-visible,.dlu-nav a:hover{color:#121212 !important}

/* v14 fixes: header row layout, JOI button, language chips, stacked book buttons */
body.djx-swap #dlu-hdr .dlu-hdr-in{flex-direction:row !important;height:auto !important;min-height:0 !important}
body.djx-swap #dlu-hdr .dlu-search-wrap{height:auto !important;min-height:0 !important}
body .dlu-root .dlu-btn-primary,body .dlu-root .dlu-joi .dlu-btn-primary{background:#121212 !important;color:#F3F2EE !important;border:0 !important;border-radius:999px !important;box-shadow:none !important}
body .dlu-root .dlu-joi .dlu-btn-primary{background:#D4FF3A !important;color:#121212 !important}
.dlu-lang-tabs{display:flex !important;flex-wrap:wrap;gap:8px;margin:8px 0 20px}
.dlu-lang-tab{display:inline-flex !important;align-items:center;padding:9px 16px !important;border-radius:999px !important;background:#fff !important;color:#121212 !important;font-weight:600;font-size:14px;text-decoration:none !important;border:0 !important}
.dlu-lang-tab:hover,.dlu-lang-tab.is-active{background:#121212 !important;color:#9FD8FF !important}
.dlu-book-buttons{display:flex !important;flex-direction:column !important;gap:6px !important}
.dlu-book-buttons > *{width:100% !important;white-space:nowrap;text-align:center;justify-content:center}

/* v15: secondary buttons, single-row Nexus bar, reader in ink */
body .dlu-btn-secondary{background:#fff !important;color:#121212 !important;border:1.5px solid #121212 !important;border-radius:999px !important;box-shadow:none !important}
body .dlu-btn-secondary:hover{background:#121212 !important;color:#9FD8FF !important}
body .dlu-btn-ghost{border-radius:999px !important;border-color:#D9D7CF !important;color:#121212 !important}
@media (min-width:1100px){
	body.djx-swap #dlu-hdr .dlu-hdr-in{flex-wrap:nowrap !important}
	body.djx-swap #dlu-hdr .dlu-nav{flex:1 1 0;min-width:0}
	body.djx-swap #dlu-hdr .dlu-search-wrap{flex:0 1 240px}
}
.dlu-reader-body{background:#121212 !important;border-radius:28px !important}
.dlu-reader-body .dlu-btn-ghost{background:#2C2C29 !important;border-color:#2C2C29 !important;color:#F3F2EE !important}
.dlu-slide-stage{background:#1E1E1C !important;border-radius:20px !important}
.dlu-reader-toolbar{border-bottom:1px solid #E4E2DB !important}
.dlu-reader-toolbar h1,.dlu-reader-toolbar h2{font-family:'Bricolage Grotesque',sans-serif !important;font-weight:800 !important;letter-spacing:-.04em !important}
.dlu-reader-toolbar button{border-radius:999px !important}
.dlu-cart-panel-foot{background:#F3F2EE !important;border-color:#E4E2DB !important}
body .dlu-root .dlu-btn-secondary,body .dlu-root .dlu-hero .dlu-btn-secondary{border:1.5px solid #121212 !important;background:#fff !important;color:#121212 !important}
body.djx-swap #dlu-hdr .dlu-nav{flex-wrap:nowrap !important}
@media (min-width:1100px){body.djx-swap #dlu-hdr .dlu-nav{flex:1 1 auto;justify-content:center}body.djx-swap #dlu-hdr .dlu-search-wrap{flex:0 1 220px}}
/* small screens: global header already has account/wishlist/cart; keep only Nexus Pass */
@media (max-width:1099px){body.djx-swap #dlu-hdr .dlu-hdr-tools .dlu-icon-btn,body.djx-swap #dlu-hdr .dlu-hdr-tools .dlu-cart-btn{display:none !important}}
/* v17 desktop bar: row 1 = Nexus · search · tools, row 2 = nav */
@media (min-width:1100px){
	body.djx-swap #dlu-hdr .dlu-hdr-in{flex-wrap:wrap !important}
	body.djx-swap #dlu-hdr .dlu-search-wrap{order:2;flex:1 1 320px;max-width:520px;margin-left:auto}
	body.djx-swap #dlu-hdr .dlu-hdr-tools{order:3;flex:0 0 auto}
	body.djx-swap #dlu-hdr .dlu-nav{order:4;flex:1 1 100%;justify-content:flex-start;margin-left:-12px}
}
