/*
Theme Name: TooPDF Library
Template: storefront
Description: TooPDF technical library design for WordPress and WooCommerce.
Version: 1.1.3
Text Domain: toopdf-library
*/

:root {
    --tp-blue: #0c65ed;
    --tp-blue-dark: #0955c8;
    --tp-ink: #1a1a1a;
    --tp-text: #505866;
    --tp-line: #e2e7ee;
    --tp-tint: #f3f5f6;
    --tp-width: 1140px;
}
body.toopdf-library { color: var(--tp-ink); background: #fff; font: 16px/1.65 Arial, Helvetica, sans-serif; }
.toopdf-library #page { overflow: visible; }
.toopdf-library a { color: var(--tp-blue-dark); }
.toopdf-library a:hover { color: #07469e; }
.toopdf-library :focus-visible { outline: 3px solid #76abfa; outline-offset: 3px; }
.toopdf-library h1, .toopdf-library h2, .toopdf-library h3 {
    color: var(--tp-ink); font-weight: 750; line-height: 1.2; letter-spacing: -.025em;
}
.toopdf-library h1 { font-size: clamp(2rem, 4vw, 2.75rem); margin: 0 0 14px; }
.toopdf-library h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 15px; }
.toopdf-library h3 { font-size: 1.19rem; margin: 0 0 7px; }
.toopdf-library p { margin: 0 0 17px; }
.toopdf-library input, .toopdf-library textarea, .toopdf-library select { font: inherit; }
.toopdf-library [hidden] { display: none !important; }
.tp-container { width: min(var(--tp-width), calc(100% - 48px)); margin-inline: auto; }
.toopdf-library .site-content > .col-full { width: 100%; max-width: none; margin: 0; padding: 0; }
.toopdf-library #primary.content-area { width: min(var(--tp-width), calc(100% - 48px)); margin: 0 auto 56px; float: none; }
.toopdf-library #secondary { display: none; }
.tp-breadcrumb { padding-top: 20px; }
.tp-breadcrumb .woocommerce-breadcrumb { padding: 0; margin: 0 0 20px; background: none; }
.tp-announcement { padding: 7px 0; background: #122137; color: #fff; font-size: 13px; font-weight: 650; text-align: center; }
.tp-announcement span { padding: 0 4px; color: #cbe0ff; }
.tp-header { position: relative; z-index: 5; background: #fff; border-bottom: 1px solid var(--tp-line); }
.tp-header-row { min-height: 76px; display: flex; align-items: center; gap: 26px; }
.toopdf-library .tp-brand { display: inline-flex; gap: 9px; align-items: center; flex-shrink: 0; color: #142133; text-decoration: none; font-size: 27px; font-weight: 800; letter-spacing: -.07em; }
.tp-brand-symbol { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 9px; color: #fff; background: var(--tp-blue); }
.tp-brand-accent { color: var(--tp-blue); }
.tp-nav { margin-inline: auto; }
.tp-menu, .tp-menu ul { list-style: none; padding: 0; margin: 0; }
.tp-menu { display: flex; align-items: stretch; gap: 23px; }
.tp-menu > li { position: relative; }
.tp-menu > li > a { display: inline-flex; min-height: 76px; align-items: center; color: #222933; font-size: 14px; font-weight: 700; white-space: nowrap; text-decoration: none; }
.tp-menu > li.current-menu-item > a { color: var(--tp-blue-dark); }
.tp-menu > .menu-item-has-children > a::after { content: "▾"; margin-left: 6px; font-size: 12px; }
.tp-menu .sub-menu {
    display: none; position: absolute; top: 100%; left: -14px; width: 485px; padding: 15px;
    grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px;
    background: #fff; border: 1px solid var(--tp-line); border-radius: 0 0 10px 10px; box-shadow: 0 15px 40px #1421331a;
}
.tp-menu .sub-menu a { display: block; padding: 6px 8px; color: #283548; font-size: 13px; text-decoration: none; border-radius: 4px; }
.tp-menu .sub-menu a:hover, .tp-menu .sub-menu a:focus-visible { color: var(--tp-blue-dark); background: #eef5ff; }
.tp-menu .menu-item-has-children:hover > .sub-menu, .tp-menu .menu-item-has-children:focus-within > .sub-menu { display: grid; }
.tp-nav-toggle, .tp-submenu-toggle { display: none; }
.tp-header-tools { display: flex; align-items: center; gap: 9px; }
.toopdf-library .tp-support-link { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 5px; background: #1b9a58; color: #fff; text-decoration: none; font-size: 13px; font-weight: 700; white-space: nowrap; }
.toopdf-library .tp-support-link:hover { background: #137b47; }
.tp-support-link svg { width: 16px; height: 16px; }
.tp-tool-panel { position: relative; }
.tp-tool-panel summary, .toopdf-library .tp-icon-button {
    min-width: 36px; height: 40px; padding: 0 4px; display: flex; align-items: center; justify-content: center;
    list-style: none; color: #223147; cursor: pointer; text-decoration: none; border-radius: 6px;
}
.tp-tool-panel summary:hover, .toopdf-library .tp-icon-button:hover { background: #edf4ff; }
.tp-tool-panel summary::-webkit-details-marker { display: none; }
.tp-popover { position: absolute; right: 0; top: calc(100% + 10px); width: min(345px, calc(100vw - 30px)); padding: 17px; background: #fff; border: 1px solid var(--tp-line); border-radius: 10px; box-shadow: 0 16px 44px #17253921; }
.tp-header-cart .tp-popover strong { display: block; margin-bottom: 10px; }
.tp-header-cart .widget_shopping_cart_content { max-height: 350px; overflow-y: auto; }
.tp-cart-count { min-width: 17px; height: 17px; display: grid; place-items: center; padding: 0 2px; background: var(--tp-blue); color: #fff; border-radius: 10px; font-size: 10px; font-weight: 700; }
.tp-cart-link { display: inline-block; font-weight: 700; }
.tp-hero {
    position: relative; overflow: hidden; padding: 76px 0 67px;
    background: linear-gradient(107deg, #f8fbff 5%, #f0f6ff 61%, #e2effe);
}
.tp-hero::before {
    content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .45;
    background-image: linear-gradient(90deg, transparent 23px, #b7d3f642 24px), linear-gradient(transparent 23px, #b7d3f642 24px);
    background-size: 24px 24px; mask-image: linear-gradient(100deg, transparent, #000);
}
.tp-hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, .84fr) minmax(0, 1fr); align-items: center; gap: clamp(26px, 6vw, 88px); }
.tp-hero-copy h1 { max-width: 12.5em; font-size: clamp(2rem, 4vw, 2.55rem); }
.tp-eyebrow { color: var(--tp-blue-dark); font-size: 12px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.toopdf-library p.tp-eyebrow { margin-bottom: 11px; }
.tp-hero-description, .tp-lead { color: var(--tp-text); font-size: 17px; }
.tp-example { color: #5a6980; font-size: 13px; font-weight: 700; }
.tp-hero-support, .tp-text-link { font-weight: 750; text-decoration: none; }
.tp-hero-search { padding: 29px; border: 1px solid #dae7f6; border-radius: 12px; background: #fff; box-shadow: 0 16px 40px #2354a211; }
.tp-hero-search h2 { font-size: 25px; margin-bottom: 6px; }
.tp-hero-search p:not(.tp-eyebrow) { color: var(--tp-text); }
.tp-search { display: flex; margin: 0 0 17px; gap: 0; border: 1px solid #bacbe1; border-radius: 6px; }
.tp-search input[type=search], .tp-directory-filter input[type=search] { min-width: 0; flex: 1; margin: 0; padding: 11px 13px; border: 0; box-shadow: none; background: #fff; color: var(--tp-ink); border-radius: 6px 0 0 6px; }
.toopdf-library .tp-search button, .toopdf-library .tp-directory-filter button {
    display: grid; place-items: center; min-width: 52px; border: 0; background: var(--tp-blue); color: #fff; padding: 8px 13px; border-radius: 0 5px 5px 0;
}
.tp-search-compact { margin: 0; }
.tp-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.toopdf-library .tp-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 10px 16px; min-height: 42px;
    border-radius: 6px; background: var(--tp-blue); border: 1px solid var(--tp-blue); color: #fff;
    font-size: 14px; line-height: 1.35; font-weight: 750; text-decoration: none;
}
.toopdf-library .tp-btn:hover { background: var(--tp-blue-dark); border-color: var(--tp-blue-dark); color: #fff; }
.toopdf-library .tp-btn-outline { background: #fff; color: var(--tp-blue-dark); border-color: #a8c6ee; }
.tp-section { padding: 52px 0; }
.tp-about-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 45px; align-items: center; }
.tp-metrics { display: flex; gap: clamp(16px, 6vw, 55px); margin: 18px 0; }
.tp-metrics strong { display: block; font-size: 31px; line-height: 1.1; color: var(--tp-blue-dark); }
.tp-metrics span { color: var(--tp-text); font-size: 14px; }
.tp-checks { list-style: none; margin: 0 0 18px; padding: 0; }
.tp-checks li { padding-left: 24px; position: relative; margin-bottom: 6px; }
.tp-checks li::before { content: "✓"; position: absolute; left: 0; color: #158551; font-weight: 800; }
.tp-library-art { min-height: 305px; background: radial-gradient(ellipse at 64% 20%, #f8fcff, #dcecff 58%, #c9dcf4); border-radius: 12px; overflow: hidden; position: relative; isolation: isolate; }
.tp-art-book, .tp-art-file { position: absolute; display: flex; flex-direction: column; justify-content: center; gap: 12px; width: 42%; height: 73%; padding: 20px; border-radius: 5px; box-shadow: 0 15px 32px #1b396d31; }
.tp-art-book { left: 12%; top: 10%; background: #194d99; border-left: 7px solid #123872; color: #fff; transform: rotate(-12deg); }
.tp-art-file { left: 48%; top: 19%; background: #fff; color: #234369; transform: rotate(10deg); }
.tp-art-book span, .tp-art-file span { font-size: 10px; letter-spacing: .08em; font-weight: 800; }
.tp-art-book strong, .tp-art-file strong { font-size: clamp(14px, 2vw, 22px); line-height: 1.15; }
.tp-art-book i, .tp-art-file i { width: 73%; height: 2px; background: currentColor; opacity: .2; }
.tp-art-lookup { position: absolute; right: 7%; bottom: 9%; padding: 9px 17px; border-radius: 30px; color: #224973; background: #fff; box-shadow: 0 7px 25px #18335a26; font-size: 13px; font-weight: 700; }
.tp-art-lookup span { font-size: 17px; color: var(--tp-blue-dark); margin-right: 5px; }
.tp-organization-section { padding-top: 30px; text-align: center; }
.tp-organizations { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; margin: 22px 0 19px; }
.toopdf-library .tp-organizations a { min-height: 70px; display: grid; place-items: center; padding: 8px; border: 1px solid var(--tp-line); border-radius: 6px; color: #234775; text-decoration: none; font-size: clamp(16px, 2.2vw, 23px); font-weight: 800; }
.toopdf-library .tp-organizations a:hover { border-color: #8ab6f8; background: #f5f9ff; }
.tp-process { background: #1a1a1a; color: #e7ebf0; }
.tp-process h2, .tp-process h3 { color: #fff; }
.tp-process .tp-eyebrow { color: #91bbff; }
.tp-process a { color: #a8caff; }
.tp-process-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 23px 0 0; padding: 0; list-style: none; }
.tp-process-grid li { padding: 18px 21px; background: #27282b; border: 1px solid #393b42; border-radius: 8px; }
.tp-process-grid li > span { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 800; color: #9fc4ff; }
.tp-process-grid p { color: #d1d7e0; font-size: 14px; margin-bottom: 0; }
.tp-recent h2 { margin-bottom: 23px; }
.tp-empty { text-align: center; border: 1px solid var(--tp-line); border-radius: 9px; background: #f8fbff; padding: 30px 20px; }
.tp-empty strong { font-size: 18px; }
.tp-empty p { color: var(--tp-text); margin: 5px 0 14px; }
.tp-trust { background: var(--tp-tint); }
.tp-compare { margin: 21px 0 0; border: 1px solid var(--tp-line); border-radius: 8px; overflow: hidden; }
.tp-compare > div { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); background: #fff; }
.tp-compare > div + div { border-top: 1px solid var(--tp-line); }
.tp-compare > .tp-compare-head { background: #e7f0fd; font-weight: 800; }
.tp-compare dt, .tp-compare dd { margin: 0; padding: 12px 16px; }
.tp-compare dt { font-weight: 750; }
.tp-contact-strip { background: #fff; }
.tp-contact-strip .tp-container { display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.tp-contact-strip p:not(.tp-eyebrow) { margin: 0; }
.tp-footer { background: #181a1f; color: #d5dbe4; }
.tp-footer-main { padding: 39px 0 29px; display: grid; grid-template-columns: 1.15fr .8fr 1fr; gap: 34px; }
.tp-footer h2 { font-size: 17px; color: #fff; margin-bottom: 11px; }
.toopdf-library .tp-footer .tp-brand { color: #fff; margin-bottom: 10px; }
.tp-footer .tp-brand-accent { color: #84b5ff; }
.tp-footer p, .tp-footer a { font-size: 14px; }
.toopdf-library .tp-footer a:not(.tp-brand) { display: block; color: #d5dbe4; margin-bottom: 5px; text-decoration: none; }
.toopdf-library .tp-footer a:hover { color: #fff; text-decoration: underline; }
.tp-footer-bottom { padding: 12px 0; border-top: 1px solid #3b3d43; font-size: 13px; }
.tp-footer-bottom .tp-container { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.tp-page-heading { background: var(--tp-tint); padding: 38px 0; border-bottom: 1px solid var(--tp-line); }
.tp-page-heading p { margin-bottom: 0; color: var(--tp-text); max-width: 66ch; }
.tp-page-inner, .tp-commerce-page { padding-top: 32px; padding-bottom: 58px; }
.tp-commerce-title { margin-bottom: 22px; }
.tp-about-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 32px; }
.tp-about-cards article, .tp-contact-card, .tp-contact-form-panel { padding: 20px; border: 1px solid var(--tp-line); border-radius: 9px; background: #f8fbff; }
.tp-about-cards strong { display: block; color: var(--tp-blue-dark); font-size: 25px; margin-bottom: 4px; }
.tp-about-cards h2 { font-size: 17px; margin-bottom: 7px; }
.tp-about-cards p { margin: 0; color: var(--tp-text); font-size: 14px; }
.tp-prose { max-width: 800px; }
.tp-prose section { margin-bottom: 28px; }
.tp-prose h2 { font-size: 24px; }
.tp-prose p, .tp-contact-information p { color: var(--tp-text); }
.tp-contact-grid { display: grid; grid-template-columns: minmax(0,.86fr) minmax(0,1.14fr); gap: 38px; align-items: start; }
.tp-contact-information section { margin-bottom: 20px; }
.tp-contact-information h2, .tp-contact-form-panel h2 { font-size: 23px; }
.tp-contact-form-panel { padding: 25px; }
.tp-inquiry { margin: 0; }
.tp-inquiry label { display: block; margin-bottom: 13px; font-size: 14px; font-weight: 700; }
.tp-inquiry label > span { color: #a72525; }
.tp-inquiry input:not([type=hidden]), .tp-inquiry textarea {
    width: 100%; margin-top: 4px; padding: 8px 10px; border: 1px solid #c7d2e0; border-radius: 5px; box-shadow: none; background: #fff; color: var(--tp-ink);
}
.tp-form-note, .tp-form-status { font-size: 13px; }
.tp-form-status { padding: 8px 11px; border: 1px solid #bbd5f8; border-radius: 4px; background: #edf5ff; }
.tp-honeypot { position: absolute; left: -9999px; height: 1px; width: 1px; overflow: hidden; }
.tp-faq h2:not(:first-child) { margin-top: 24px; }
.tp-faq details { border: 1px solid var(--tp-line); border-radius: 6px; margin: 0 0 8px; }
.tp-faq summary { cursor: pointer; padding: 12px 14px; font-weight: 750; }
.tp-faq details p { padding: 0 14px; margin: 0 0 12px; }
.tp-directory-filter { display: flex; max-width: 545px; margin: 0 auto 20px; border: 1px solid #bacbe1; border-radius: 6px; }
.tp-directory-help { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 15px 20px; margin: 0 0 24px; border: 1px solid #d6e4f7; border-radius: 8px; background: #f2f7ff; }
.tp-directory-help p { font-size: 14px; margin: 3px 0 0; }
.tp-publisher-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.toopdf-library .tp-publisher-card { display: flex; flex-direction: column; text-align: center; border: 1px solid transparent; border-radius: 5px; overflow: hidden; color: var(--tp-ink); text-decoration: none; }
.tp-publisher-card:hover { border-color: #8bb7f9; box-shadow: 0 6px 16px #16336e13; }
.tp-publisher-cover { aspect-ratio: 4/3; display: grid; place-content: center; justify-items: center; gap: 6px; padding: 11px; color: #1a4d91; background: #fff; }
.tp-publisher-cover strong { font-size: clamp(16px, 2.4vw, 28px); letter-spacing: .03em; }
.tp-publisher-label { display: flex; flex-direction: column; padding: 9px 12px 11px; }
.tp-publisher-label span { font-size: 12px; color: var(--tp-text); }
.tp-publisher-empty { text-align: center; }
.toopdf-library ul.products li.product { border: 1px solid var(--tp-line); border-radius: 8px; padding: 13px; background: #fff; }
.toopdf-library ul.products li.product img { border-radius: 5px; }
.toopdf-library .button, .toopdf-library button.alt, .toopdf-library input.button { border-radius: 5px; }
.toopdf-library ul.products li.product .woocommerce-loop-product__title { font-weight: 750; }

/* These pages share a white reading surface within the gray page background. */
:is(.tp-library-publishers, .tp-library-about-us, .tp-library-privacy-policy) {
    background: var(--tp-tint);
    padding: 48px 0 54px;
}
:is(.tp-library-publishers, .tp-library-about-us, .tp-library-privacy-policy) > :is(.tp-page-heading, .tp-page-inner) {
    width: min(1240px, calc(100% - 52px));
    margin-inline: auto;
    padding-inline: clamp(21px, 5.5vw, 76px);
    background: #fff;
    border: 0;
}
:is(.tp-library-publishers, .tp-library-about-us, .tp-library-privacy-policy) > .tp-page-heading { padding-top: 45px; padding-bottom: 12px; }
:is(.tp-library-publishers, .tp-library-about-us, .tp-library-privacy-policy) > .tp-page-heading .tp-container { width: 100%; }
:is(.tp-library-publishers, .tp-library-about-us, .tp-library-privacy-policy) > .tp-page-inner { padding-top: 14px; }
:is(.tp-library-publishers, .tp-library-about-us, .tp-library-privacy-policy, .tp-library-contact-us) .tp-page-heading h1 { font-size: clamp(1.55rem, 3vw, 2rem); }
.tp-library-about-us .tp-about-cards article { background: #fff; border-radius: 3px; }
.tp-library-contact-us, .tp-library-faq { background: var(--tp-tint); }
:is(.tp-library-contact-us, .tp-library-faq) .tp-page-heading { border: 0; padding-bottom: 6px; }
.tp-library-contact-us .tp-contact-form-panel { background: #fff; }
.tp-library-faq .tp-page-heading { text-align: center; }
.tp-library-faq .tp-page-heading p { margin-inline: auto; }
.tp-library-faq .tp-prose { margin-inline: auto; }

@media (max-width: 1000px) {
    .tp-header-row { gap: 15px; }
    .tp-menu { gap: 13px; }
    .tp-header-tools { gap: 4px; }
    .tp-support-link span { display: none; }
    .tp-about-grid { gap: 24px; }
}
@media (max-width: 760px) {
    .tp-container, .toopdf-library #primary.content-area { width: calc(100% - 32px); }
    .tp-announcement { font-size: 11px; padding: 5px 0; }
    .tp-header-row { min-height: 62px; gap: 9px; }
    .toopdf-library .tp-brand { font-size: 23px; }
    .tp-brand-symbol { width: 32px; height: 32px; }
    .tp-nav-toggle, .tp-submenu-toggle { display: inline-grid; place-items: center; background: #eef4fe; color: #193251; padding: 7px; border-radius: 5px; }
    .tp-nav { display: none; position: absolute; top: 100%; inset-inline: 0; max-height: 65vh; overflow-y: auto; background: #fff; border: 1px solid var(--tp-line); box-shadow: 0 10px 30px #17253919; }
    .tp-nav.is-open, .tp-nav.is-open .tp-menu { display: block; }
    .tp-menu > li { border-bottom: 1px solid var(--tp-line); padding: 0 16px; }
    .tp-menu > li > a { min-height: 45px; }
    .tp-menu > .menu-item-has-children > a::after { display: none; }
    .tp-submenu-toggle { position: absolute; right: 16px; top: 8px; width: 30px; height: 29px; }
    .tp-menu .sub-menu { position: static; width: auto; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 0; box-shadow: none; padding: 0 0 10px; }
    .tp-menu .menu-item-has-children:hover > .sub-menu, .tp-menu .menu-item-has-children:focus-within > .sub-menu { display: none; }
    .tp-menu .menu-item-has-children.is-expanded > .sub-menu { display: grid; }
    .tp-header-tools { margin-left: auto; gap: 3px; }
    .toopdf-library .tp-support-link { display: none; }
    .tp-tool-panel { position: static; }
    .tp-popover { right: 14px; top: calc(100% + 4px); }
    .tp-tool-panel summary, .toopdf-library .tp-icon-button { min-width: 30px; padding: 0 2px; }
    .tp-hero { padding: 36px 0 30px; }
    .tp-hero-inner, .tp-about-grid, .tp-contact-grid { grid-template-columns: 1fr; gap: 20px; }
    .tp-hero-search { padding: 18px; }
    .tp-section { padding: 33px 0; }
    .tp-organizations { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .toopdf-library .tp-organizations a { min-height: 52px; }
    .tp-library-art { min-height: 240px; }
    .tp-about-cards, .tp-process-grid, .tp-publisher-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tp-footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 21px; }
    .tp-footer-main > div:first-child { grid-column: 1 / -1; }
    .tp-contact-strip .tp-container { display: grid; }
    .tp-page-heading { padding: 27px 0; }
    :is(.tp-library-publishers, .tp-library-about-us, .tp-library-privacy-policy) { padding-block: 22px; }
    :is(.tp-library-publishers, .tp-library-about-us, .tp-library-privacy-policy) > :is(.tp-page-heading, .tp-page-inner) { width: calc(100% - 24px); }
    :is(.tp-library-publishers, .tp-library-about-us, .tp-library-privacy-policy) > .tp-page-heading { padding-top: 24px; }
    .tp-page-inner, .tp-commerce-page { padding-top: 22px; padding-bottom: 39px; }
}
@media (max-width: 400px) {
    .tp-process-grid { grid-template-columns: 1fr; }
    .tp-directory-help { align-items: start; flex-direction: column; }
    .tp-compare dt, .tp-compare dd { padding: 8px; font-size: 13px; }
    .tp-header-search .tp-popover { right: 8px; }
}
