/*
Theme Name: DigitalBooks Pro
Theme URI: https://example.invalid/digitalbooks-pro
Author: DigitalBooks
Description: Tema completo para WooCommerce focado em livros digitais, cursos, PDFs e materiais baixáveis. Layout azul responsivo, busca, categorias, produtos em destaque e área do cliente.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: digitalbooks-pro
*/
:root{--db-blue:#0867df;--db-blue2:#0047a8;--db-navy:#08233f;--db-bg:#f6f9fd;--db-text:#142033;--db-muted:#6c788a;--db-line:#e4ebf3;--db-white:#fff;--db-yellow:#ffb800;--db-radius:14px;--db-shadow:0 8px 28px rgba(13,49,86,.08)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--db-bg);color:var(--db-text);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;line-height:1.55}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto}.db-container{width:min(1180px,calc(100% - 32px));margin:auto}.db-topbar{background:var(--db-blue2);color:#fff;font-size:12px}.db-topbar .db-container{display:flex;justify-content:space-between;gap:20px;padding:7px 0}.db-top-items{display:flex;gap:22px;flex-wrap:wrap}.db-main-header{background:#fff;border-bottom:1px solid var(--db-line)}.db-header-row{min-height:82px;display:grid;grid-template-columns:220px minmax(240px,1fr) auto;align-items:center;gap:28px}.custom-logo{max-height:52px;width:auto}.db-brand{font-size:25px;font-weight:800;color:var(--db-blue2);display:flex;align-items:center;gap:9px}.db-brand-mark{width:36px;height:36px;border-radius:9px;background:linear-gradient(135deg,var(--db-blue),var(--db-blue2));color:#fff;display:grid;place-items:center;font-size:20px}.db-search form{display:flex;width:100%}.db-search input[type=search]{width:100%;height:46px;border:1px solid #dce5ef;border-radius:9px 0 0 9px;padding:0 16px;background:#fbfdff;font-size:14px;outline:none}.db-search button,.db-search input[type=submit]{height:46px;min-width:52px;border:0;background:var(--db-blue);color:#fff;border-radius:0 9px 9px 0;cursor:pointer;font-weight:700}.db-header-actions{display:flex;gap:18px;align-items:center}.db-action{font-size:12px;text-align:center;color:#344054}.db-action strong{display:block;font-size:18px;color:var(--db-navy)}.db-nav{background:linear-gradient(90deg,var(--db-blue2),var(--db-blue));color:#fff;box-shadow:0 2px 7px rgba(0,70,160,.15)}.db-nav-list{display:flex;gap:0;align-items:center;overflow:auto;white-space:nowrap}.db-nav a{display:block;padding:13px 16px;font-size:13px;font-weight:700}.db-nav a:hover{background:rgba(255,255,255,.12)}
.db-hero{background:linear-gradient(120deg,#06376f,#075ac9 62%,#1281ed);color:#fff;overflow:hidden}.db-hero-inner{min-height:360px;display:grid;grid-template-columns:1.05fr .95fr;align-items:center;gap:30px;position:relative}.db-hero h1{font-size:48px;line-height:1.05;margin:0 0 18px;letter-spacing:-1.6px}.db-hero h1 span{color:#6bb7ff}.db-hero p{font-size:18px;max-width:570px;color:#e8f3ff;margin:0 0 26px}.db-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:var(--db-blue);color:#fff!important;border:0;border-radius:9px;padding:13px 21px;font-weight:800;cursor:pointer;transition:.2s}.db-btn:hover{transform:translateY(-1px);filter:brightness(.95)}.db-btn-white{background:#fff;color:var(--db-blue2)!important}.db-hero-art{height:330px;display:flex;align-items:flex-end;justify-content:center;position:relative}.db-book-stack{position:relative;width:360px;height:250px}.db-book{position:absolute;width:245px;height:52px;border-radius:5px 11px 11px 5px;right:35px;background:#f3f5f7;border-left:24px solid #09294d;box-shadow:0 12px 24px rgba(0,0,0,.25)}.db-book:after{content:"";position:absolute;left:15px;right:10px;top:9px;height:1px;background:#cbd6e2;box-shadow:0 8px #cbd6e2,0 16px #cbd6e2,0 24px #cbd6e2}.db-book:nth-child(1){bottom:15px;transform:rotate(-2deg)}.db-book:nth-child(2){bottom:68px;right:65px;transform:rotate(2deg);border-left-color:#f2a800}.db-book:nth-child(3){bottom:121px;right:25px;transform:rotate(-1deg);border-left-color:#d83b3b}.db-book:nth-child(4){bottom:174px;right:55px;transform:rotate(1deg);border-left-color:#0a2747}.db-benefits{background:#fff;border-bottom:1px solid var(--db-line)}.db-benefit-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.db-benefit{padding:20px 12px;display:flex;align-items:center;gap:12px}.db-benefit-icon{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#eaf4ff;color:var(--db-blue);font-size:19px;flex:0 0 auto}.db-benefit b{display:block;font-size:14px}.db-benefit small{color:var(--db-muted)}
.db-section{padding:46px 0}.db-section-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:22px}.db-section h2{font-size:28px;margin:0}.db-section-link{font-size:13px;color:var(--db-blue);font-weight:800}.db-category-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:14px}.db-category-card{background:#fff;border:1px solid var(--db-line);border-radius:var(--db-radius);padding:22px 12px;text-align:center;box-shadow:0 4px 18px rgba(22,54,88,.04);transition:.2s}.db-category-card:hover{transform:translateY(-3px);box-shadow:var(--db-shadow)}.db-cat-icon{width:58px;height:58px;border-radius:15px;margin:0 auto 12px;display:grid;place-items:center;background:#edf5ff;font-size:30px}.db-category-card b{display:block;font-size:14px}.db-category-card small{color:var(--db-muted);font-size:11px}.db-products .products,.woocommerce ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:0!important;padding:0!important}.woocommerce ul.products:before,.woocommerce ul.products:after{display:none!important}.woocommerce ul.products li.product,.db-product-card{width:auto!important;margin:0!important;background:#fff;border:1px solid var(--db-line);border-radius:var(--db-radius);padding:14px!important;box-shadow:0 4px 18px rgba(22,54,88,.05);transition:.2s;float:none!important}.woocommerce ul.products li.product:hover{transform:translateY(-3px);box-shadow:var(--db-shadow)}.woocommerce ul.products li.product a img{border-radius:9px;aspect-ratio:4/5;object-fit:cover;margin-bottom:12px!important}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:15px!important;color:var(--db-text);padding:4px 0!important;min-height:48px}.woocommerce ul.products li.product .price{color:var(--db-text)!important;font-size:18px!important;font-weight:800!important}.woocommerce ul.products li.product .button,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{background:var(--db-blue)!important;color:#fff!important;border-radius:8px!important;padding:11px 16px!important;font-weight:800!important}.woocommerce span.onsale{background:#ef4444!important;min-width:auto!important;min-height:auto!important;line-height:1!important;padding:8px!important;border-radius:7px!important}.db-empty-products{background:#fff;border:1px dashed #cbd8e6;border-radius:14px;padding:32px;text-align:center;color:var(--db-muted)}.db-offer{margin:8px auto 46px;background:linear-gradient(90deg,#0754b8,#0877e9);color:#fff;border-radius:14px;padding:24px 28px;display:flex;align-items:center;justify-content:space-between;gap:20px}.db-offer h3{margin:0;font-size:23px}.db-offer p{margin:3px 0 0;color:#e9f4ff}.site-footer{background:#071e36;color:#d7e3f0}.db-footer-grid{display:grid;grid-template-columns:1.4fr repeat(3,1fr);gap:34px;padding:48px 0}.site-footer h4{color:#fff;margin:0 0 14px}.site-footer ul{list-style:none;padding:0;margin:0}.site-footer li{margin:7px 0;font-size:13px}.site-footer p{font-size:13px;color:#aebfd0}.db-copyright{border-top:1px solid rgba(255,255,255,.1);padding:16px 0;font-size:12px;color:#9db0c3}.db-content{padding:38px 0}.woocommerce div.product{background:#fff;padding:25px;border-radius:16px;border:1px solid var(--db-line)}.woocommerce-message,.woocommerce-info{border-top-color:var(--db-blue)!important}.woocommerce-message:before,.woocommerce-info:before{color:var(--db-blue)!important}.woocommerce-checkout #payment{background:#eef5fc!important}.db-page-title{margin:0 0 24px;font-size:34px}.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:900px){.db-topbar{display:none}.db-header-row{grid-template-columns:1fr auto;gap:14px;padding:12px 0}.db-search{grid-column:1/-1;grid-row:2}.db-header-actions .db-action:nth-child(1){display:none}.db-nav-list a{padding:11px 13px}.db-hero-inner{grid-template-columns:1fr;min-height:auto;padding:42px 0}.db-hero h1{font-size:38px}.db-hero-art{display:none}.db-benefit-grid{grid-template-columns:repeat(2,1fr)}.db-category-grid{grid-template-columns:repeat(3,1fr)}.db-products .products,.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}.db-footer-grid{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.db-container{width:min(100% - 22px,1180px)}.db-brand{font-size:20px}.db-brand-mark{width:31px;height:31px}.db-header-actions{gap:10px}.db-action span{display:none}.db-hero h1{font-size:34px}.db-hero p{font-size:15px}.db-benefit-grid{grid-template-columns:1fr 1fr}.db-benefit{padding:15px 4px}.db-benefit small{display:none}.db-category-grid{grid-template-columns:repeat(2,1fr)}.db-section{padding:34px 0}.db-section h2{font-size:23px}.db-products .products,.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.woocommerce ul.products li.product{padding:10px!important}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:13px!important}.db-offer{align-items:flex-start;flex-direction:column}.db-footer-grid{grid-template-columns:1fr}.db-footer-grid>div:not(:first-child){display:none}}
