/* Widen catalog pages inside classic themes such as Lovecraft. */
.dhpc-has-library .post-inner,
.dhpc-has-library .entry-content,
.dhpc-has-library .entry-inner,
.dhpc-has-library .post-content,
.dhpc-has-library .content,
.dhpc-has-library .section-inner,
.dhpc-has-library .wrapper.section-inner{max-width:1520px!important;width:min(1520px,calc(100% - 48px))!important;margin-left:auto!important;margin-right:auto!important}
.dhpc-has-library .entry-content>.dhpc-library,
.dhpc-has-library .entry-inner>.dhpc-library,
.dhpc-has-library .post-content>.dhpc-library{max-width:100%!important}
/* Scoped to the publication catalog. No global WooCommerce or theme styles are overridden. */
.dhpc-library{--dhpc-navy:#0c2138;--dhpc-border:#e5e9ee;--dhpc-muted:#637184;max-width:1480px;margin:24px auto 55px;color:var(--dhpc-navy);font-family:inherit;line-height:1.45}
.dhpc-library *{box-sizing:border-box}
.dhpc-library a{text-decoration:none}
.dhpc-intro{margin:0 0 27px}
.dhpc-eyebrow{font-size:11px!important;letter-spacing:.18em;font-weight:750;color:var(--dhpc-accent);text-transform:uppercase;margin:0 0 9px!important}
.dhpc-intro h2{font:700 clamp(28px,3.6vw,44px)/1.12 Georgia,'Times New Roman',serif!important;letter-spacing:-.025em;color:var(--dhpc-navy);margin:0 0 11px!important}
.dhpc-intro>p:not(.dhpc-eyebrow){margin:0!important;font-size:15px;color:var(--dhpc-muted)}
.dhpc-toolbar{display:flex;align-items:stretch;flex-wrap:wrap;gap:10px;margin:0 0 17px;padding:14px;background:#f7f9fb;border:1px solid var(--dhpc-border);border-radius:13px}
.dhpc-toolbar input,.dhpc-toolbar select,.dhpc-toolbar button{font:inherit;min-height:43px;border-radius:8px;box-shadow:none}
.dhpc-search{flex:2 1 235px;position:relative;display:flex;align-items:center;min-width:180px;background:#fff;border:1px solid #dae0e7;border-radius:8px;padding:0 12px;gap:8px}
.dhpc-search>span[aria-hidden]{font-size:21px;color:#8c96a4}
.dhpc-search input{border:0!important;outline:0;width:100%;background:transparent!important;padding:8px 2px!important;color:var(--dhpc-navy)!important;max-width:100%;font-size:14px!important}
.dhpc-select{flex:1 1 160px;min-width:145px}.dhpc-select select{border:1px solid #dae0e7!important;background:#fff!important;width:100%;max-width:100%;padding:8px 12px!important;color:var(--dhpc-navy)!important;font-size:14px!important;height:43px!important}
.dhpc-toolbar .dhpc-apply{border:1px solid var(--dhpc-navy)!important;background:var(--dhpc-navy)!important;color:#fff!important;padding:0 24px!important;font-size:13px!important;font-weight:700!important;cursor:pointer}
.dhpc-category-strip{display:flex;gap:9px;overflow-x:auto;white-space:nowrap;padding:0 1px 14px;scrollbar-width:thin;margin:0 0 4px}
.dhpc-category-strip a{border:1px solid #dce2e8;border-radius:30px;padding:9px 15px;display:block;flex:0 0 auto;background:#fff;color:#34465b!important;font-size:12px;font-weight:650;transition:.15s}
.dhpc-category-strip a.is-active,.dhpc-category-strip a:hover{background:var(--dhpc-navy)!important;border-color:var(--dhpc-navy)!important;color:#fff!important}
.dhpc-results{display:flex;justify-content:space-between;gap:15px;font-size:13px;color:#647082;margin:3px 0 14px}.dhpc-results a{color:var(--dhpc-accent)!important}
.dhpc-grid{display:grid;grid-template-columns:repeat(var(--dhpc-columns),minmax(0,1fr));gap:22px}
.dhpc-product-card{border-radius:11px;background:#fff;min-width:0;overflow:hidden;display:flex;flex-direction:column;border:1px solid var(--dhpc-border);transition:transform .16s ease,box-shadow .16s ease}
.dhpc-card-elevated .dhpc-product-card{box-shadow:0 6px 25px rgba(16,33,54,.07)}
.dhpc-card-elevated .dhpc-product-card:hover{transform:translateY(-3px);box-shadow:0 12px 28px rgba(16,33,54,.12)}
.dhpc-card-minimal .dhpc-product-card{border:0;border-radius:4px;background:transparent}
.dhpc-cover{position:relative;aspect-ratio:4/5;background:#edf1f4;overflow:hidden;border-bottom:1px solid var(--dhpc-border)}
.dhpc-ratio-3-4 .dhpc-cover{aspect-ratio:3/4}.dhpc-ratio-2-3 .dhpc-cover{aspect-ratio:2/3}.dhpc-ratio-1-1 .dhpc-cover{aspect-ratio:1/1}
.dhpc-cover>a{display:block;width:100%;height:100%}
.dhpc-cover img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;max-width:none!important;margin:0!important;border:0!important;border-radius:0!important}
.dhpc-badge{position:absolute;top:12px;left:12px;background:var(--dhpc-accent);color:#fff;font:700 11px/1.2 system-ui,sans-serif;padding:8px 11px;border-radius:4px;box-shadow:0 1px 8px rgba(0,0,0,.2)}
.dhpc-fallback{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:18px;background:radial-gradient(circle at top left,#426784 0%,#17344f 48%,#081d30 100%);color:#fff}
.dhpc-fallback-symbol{font-size:51px;color:#cda866}.dhpc-fallback strong{font:700 clamp(18px,2vw,28px)/1.1 Georgia,serif!important;color:#fff}.dhpc-fallback small{color:#d8c7a7;font-size:8px;letter-spacing:.2em;margin-top:20px}
.dhpc-card-body{padding:17px 16px 16px;display:flex;flex:1;flex-direction:column}
.dhpc-category{color:var(--dhpc-muted)!important;font-size:11px!important;letter-spacing:.01em;margin:0 0 7px!important}.dhpc-category span{color:var(--dhpc-accent)}
.dhpc-card-body h3{font:700 18px/1.27 Georgia,'Times New Roman',serif!important;margin:0 0 10px!important;min-height:45px}.dhpc-card-body h3 a{color:var(--dhpc-navy)!important}.dhpc-card-body h3 a:hover{color:var(--dhpc-accent)!important}
.dhpc-excerpt{font-size:12px;color:#667486!important;margin:0 0 12px!important}
.dhpc-card-bottom{margin-top:auto}.dhpc-price{font-size:18px!important;font-weight:750!important;color:var(--dhpc-navy);min-height:26px;margin:0 0 12px}.dhpc-price del{font-size:12px;color:#9aa4ac}.dhpc-price ins{text-decoration:none;color:var(--dhpc-navy)}
.dhpc-actions{display:flex;align-items:stretch;flex-wrap:wrap;gap:7px}
.dhpc-actions a{flex:1 1 90px;text-align:center;display:flex;justify-content:center;align-items:center;border:1px solid #d7dfe7;border-radius:6px;padding:11px 8px;color:var(--dhpc-navy)!important;background:#fff;font-size:12px;font-weight:700;line-height:1.2;min-height:42px;transition:.15s}
.dhpc-actions a.dhpc-buy{background:var(--dhpc-accent)!important;border-color:var(--dhpc-accent)!important;color:#fff!important}
.dhpc-actions a:hover{filter:brightness(.92)}
.dhpc-empty{text-align:center;padding:55px 18px;border:1px dashed #cdd5dd;border-radius:12px;background:#fafbfd}.dhpc-empty h3{font:700 25px Georgia,serif;color:var(--dhpc-navy)}.dhpc-empty p{color:#667}.dhpc-empty a{color:var(--dhpc-accent)}
.dhpc-pages{margin-top:27px;display:flex;justify-content:center;gap:7px;flex-wrap:wrap}.dhpc-pages a,.dhpc-pages span{min-width:38px;height:39px;padding:9px 13px;display:inline-flex;justify-content:center;align-items:center;border-radius:7px;border:1px solid #dce2e8;color:var(--dhpc-navy)!important;font-size:13px}.dhpc-pages .is-current{background:var(--dhpc-navy);border-color:var(--dhpc-navy);color:#fff}
.dhpc-library .screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);height:1px;width:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;word-wrap:normal!important}
@media(max-width:1000px){.dhpc-grid{grid-template-columns:repeat(var(--dhpc-tablet),minmax(0,1fr));gap:17px}}
@media(max-width:600px){.dhpc-has-library .post-inner,.dhpc-has-library .entry-content,.dhpc-has-library .entry-inner,.dhpc-has-library .post-content,.dhpc-has-library .content,.dhpc-has-library .section-inner,.dhpc-has-library .wrapper.section-inner{width:min(100% - 18px,1520px)!important}.dhpc-library{margin:10px auto 30px;padding:0 2px}.dhpc-grid{grid-template-columns:repeat(var(--dhpc-mobile),minmax(0,1fr));gap:12px}.dhpc-card-body{padding:12px 11px}.dhpc-card-body h3{font-size:16px!important;min-height:0}.dhpc-intro h2{font-size:29px!important}.dhpc-toolbar{padding:10px}.dhpc-toolbar .dhpc-apply{flex:1}.dhpc-actions a{font-size:11px;padding:10px 5px}.dhpc-category{font-size:10px!important}}
@media(prefers-reduced-motion:reduce){.dhpc-product-card,.dhpc-actions a{transition:none!important}}
