/*
Theme Name: PandaSan Brasil
Template: davinciwoo
Version: 2.2.14
Description: Identidade visual PandaSan sobre DaVinciWoo, preservando WooCommerce e AliDropship.
*/
:root{--ps-orange:#ff7900;--ps-orange2:#ff9e22;--ps-ink:#191919;--ps-cream:#fff3e7;--ps-white:#fff;--ps-muted:#6b625b;--ps-radius:16px;--ps-shadow:0 10px 28px rgba(25,25,25,.10)}
*{box-sizing:border-box}body{margin:0;color:var(--ps-ink);background:#fff;font-family:Arial,Helvetica,sans-serif}.ps-wrap{max-width:1200px;margin:auto;padding:0 18px}
.ps-top{background:var(--ps-ink);color:#fff;font-size:13px}.ps-top .ps-wrap{min-height:38px;display:flex;align-items:center;justify-content:space-between;gap:20px}.ps-top a{color:#fff;text-decoration:none}
.ps-head{background:#fff;border-bottom:1px solid #eee}.ps-head-main{display:grid;grid-template-columns:260px 1fr auto;align-items:center;gap:28px;padding-top:18px;padding-bottom:18px}.ps-brand{display:flex;align-items:center;gap:12px;text-decoration:none!important;color:var(--ps-ink)!important}.ps-brand img{width:62px;height:62px;object-fit:cover;border-radius:16px}.ps-brand strong{font-size:30px;line-height:1}.ps-brand em{display:block;font-size:11px;font-style:normal;color:var(--ps-muted);margin-top:5px}
.ps-search form{display:flex;border:2px solid var(--ps-orange);border-radius:999px;overflow:hidden;background:#fff}.ps-search input{width:100%;border:0!important;outline:0;padding:13px 18px;font-size:15px;background:transparent}.ps-search button{border:0;background:var(--ps-orange);color:#fff;padding:0 22px;font-weight:800;cursor:pointer}.ps-actions{display:flex;gap:10px}.ps-actions a{padding:11px 13px;border-radius:12px;background:var(--ps-cream);color:var(--ps-ink);text-decoration:none;font-weight:700;white-space:nowrap}
.ps-nav{background:var(--ps-orange)}.ps-nav .ps-wrap{display:flex;align-items:center;gap:26px;min-height:48px}.ps-nav a{color:#fff;text-decoration:none;font-weight:700}.ps-nav .menu{display:flex;gap:24px;list-style:none;margin:0;padding:0}.ps-nav .menu-item{margin:0}
.sd-home-v2{max-width:1200px;margin:0 auto;padding:24px 18px 58px}.sd-hero{min-height:420px;border-radius:26px;padding:54px;display:grid;grid-template-columns:1.25fr .75fr;gap:34px;align-items:center;background:linear-gradient(135deg,var(--ps-cream),#fff 55%,#ffe0c2);overflow:hidden}.sd-hero h1{font-size:clamp(36px,5vw,64px);line-height:1.01;margin:10px 0 18px;max-width:760px}.sd-hero p{font-size:18px;max-width:650px}.sd-kicker,.sd-heading small,.sd-promo small{font-size:12px;font-weight:900;letter-spacing:.16em;color:var(--ps-orange)}.sd-btn{display:inline-block;margin-top:14px;padding:14px 24px;border-radius:12px;background:var(--ps-orange);color:#fff!important;font-weight:800;text-decoration:none}.sd-btn:hover{background:var(--ps-ink)}
.sd-hero-card{min-height:260px;border-radius:24px;background:var(--ps-orange);padding:26px;box-shadow:var(--ps-shadow);display:flex;flex-direction:column;justify-content:flex-end;color:#fff;position:relative;overflow:hidden}.sd-hero-card:before{content:"";position:absolute;inset:18px 18px auto auto;width:120px;height:120px;background:url("assets/pandasan-logo.jpg") center/cover;border-radius:24px}.sd-hero-card strong{font-size:24px}.sd-hero-card span{font-size:14px;margin-top:8px}
.sd-trust{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:24px 0}.sd-trust>div{background:#fff;border:1px solid #eee;border-radius:var(--ps-radius);padding:18px;text-align:center}.sd-section{margin:50px 0}.sd-heading{display:flex;align-items:end;justify-content:space-between;margin-bottom:20px}.sd-heading h2{font-size:31px;margin:4px 0}.sd-heading a{color:var(--ps-orange);font-weight:800;text-decoration:none}.sd-catgrid{display:grid;grid-template-columns:repeat(5,1fr);gap:13px}.sd-catgrid a{min-height:116px;border:1px solid #eee;border-radius:16px;padding:18px;background:#fff;text-decoration:none!important;color:inherit;display:flex;flex-direction:column;justify-content:space-between;transition:.2s}.sd-catgrid a:hover{transform:translateY(-3px);border-color:var(--ps-orange);box-shadow:var(--ps-shadow)}.sd-catgrid b{font-size:27px;color:var(--ps-orange)}.sd-catgrid span{font-weight:800}.sd-promo{margin:54px 0;padding:42px;border-radius:22px;background:var(--ps-ink);color:#fff;display:flex;justify-content:space-between;align-items:center;gap:30px}.sd-promo h2{color:#fff;font-size:35px;margin:6px 0}.sd-btn-light{background:var(--ps-orange);color:#fff!important}.sd-info{display:grid;grid-template-columns:1fr 1fr;gap:16px}.sd-info>div{padding:28px;border-radius:18px;background:var(--ps-cream)}.sd-info strong{font-size:20px}.sd-info a{color:var(--ps-orange);font-weight:800}
.woocommerce ul.products li.product{border:1px solid #eee;border-radius:16px;padding:10px;overflow:hidden;transition:.2s}.woocommerce ul.products li.product:hover{box-shadow:var(--ps-shadow);transform:translateY(-2px)}.woocommerce ul.products li.product .button{background:var(--ps-orange)!important;color:#fff!important;border-radius:10px!important}
.ps-footer{margin-top:40px;background:var(--ps-ink);color:#ddd}.ps-footer-main{display:grid;grid-template-columns:1.2fr 1fr 1fr 1fr;gap:34px;padding-top:46px;padding-bottom:40px}.ps-footer h3,.ps-footer h4{color:#fff}.ps-footer a{color:#ddd;text-decoration:none}.ps-footer ul{list-style:none;padding:0;margin:0}.ps-footer li{margin:8px 0}.ps-footer-brand{display:flex;align-items:center;gap:12px}.ps-footer-brand img{width:64px;height:64px;border-radius:16px}.ps-copy{border-top:1px solid #333;padding:18px 0;text-align:center;font-size:13px;color:#aaa}
body.home .page-title,body.home .breadcrumbs,body.home .woocommerce-breadcrumb{display:none!important}.sd-front-wrap{width:100%;margin:0;padding:0}
@media(max-width:900px){.ps-head-main{grid-template-columns:1fr auto}.ps-search{grid-column:1/-1;grid-row:2}.ps-brand em{display:none}.ps-nav .ps-wrap{overflow:auto}.ps-nav .menu{white-space:nowrap}.sd-hero{grid-template-columns:1fr;padding:34px}.sd-hero-card{min-height:180px}.sd-catgrid{grid-template-columns:repeat(2,1fr)}.sd-promo{align-items:flex-start;flex-direction:column}.ps-footer-main{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.ps-top .ps-wrap span:last-child{display:none}.ps-head-main{grid-template-columns:1fr}.ps-actions{display:none}.ps-brand img{width:52px;height:52px}.ps-brand strong{font-size:26px}.ps-nav .ps-wrap{gap:14px}.sd-home-v2{padding:12px 12px 38px!important}.sd-hero{padding:28px 22px;min-height:auto}.sd-catgrid{grid-template-columns:1fr 1fr}.sd-info{grid-template-columns:1fr}.sd-trust{grid-template-columns:1fr 1fr}.ps-footer-main{grid-template-columns:1fr}.sd-heading h2{font-size:25px}}


/* PandaSan 2.2.9 — consolidacao de layout, sem camadas conflitantes. */
html{overflow-x:clip}body{display:block!important;width:100%!important;max-width:100%!important;overflow-x:clip;float:none!important;columns:auto!important}
body>.ps-top,body>.ps-head,body>.ps-main,body>.ps-footer{display:block!important;float:none!important;clear:both!important;position:relative!important;width:100%!important;max-width:100%!important;margin:0!important;transform:none!important}
.ps-main{display:block;min-height:40vh;width:100%;padding:0!important;overflow:visible!important}
.ps-skip{position:absolute;left:-9999px;top:8px;z-index:99999;background:white;padding:10px}.ps-skip:focus{left:8px}
.ps-head .ps-wrap,.ps-footer .ps-wrap,.ps-top .ps-wrap,.ps-nav .ps-wrap{width:100%;max-width:1200px;margin-inline:auto}
.ps-head-main{display:grid;grid-template-columns:minmax(230px,260px) minmax(0,1fr) auto;gap:20px;min-width:0}
.ps-brand,.ps-search,.ps-actions{min-width:0}.ps-search input{min-width:0!important;max-width:100%}
.ps-mobile-menu{display:none;border:0;background:#fff3e7;color:#191919;border-radius:12px;cursor:pointer}
.ps-cart-link{display:inline-flex;align-items:center;justify-content:center;gap:6px}
.ps-cart-icon{font-size:17px;line-height:1}.ps-actions a.ps-cart-link::before,.ps-actions a.ps-cart-link::after{content:none!important;display:none!important}
.ps-nav .ps-wrap,.ps-nav .menu{flex-wrap:wrap}
body.home .sd-home-v2{display:block;width:100%;max-width:1200px;margin:0 auto;float:none}
body.home .sd-hero{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,.75fr);min-width:0}
body.home .sd-hero-copy,body.home .sd-hero-card{min-width:0;max-width:100%}
/* Card promocional: imagem real, nao pseudo-elemento sujeito a regras antigas. */
body.home .sd-hero-card{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;min-height:250px;padding:28px 20px;background:#fff;color:#191919;border:1px solid #f1e5db;border-radius:22px;text-align:center;overflow:hidden}
body.home .sd-hero-card::before,body.home .sd-hero-card::after{content:none!important;display:none!important}
body.home .sd-hero-card .sd-hero-mascot{display:block;position:static!important;inset:auto!important;transform:none!important;width:110px;height:110px;max-width:100%;object-fit:contain;border-radius:22px;flex:none;margin:0 auto}
body.home .sd-hero-card strong{font-size:clamp(18px,2vw,23px);line-height:1.2;margin:0;overflow-wrap:normal}
body.home .sd-hero-card span{font-size:13px;color:#776a60;margin:0}
body.home .sd-btn{background:#ff7900!important;color:#fff!important}
body.home .sd-btn:hover{background:#d86100!important}
@media(max-width:900px){.ps-head-main{grid-template-columns:minmax(0,1fr) auto}.ps-search{grid-column:1/-1;grid-row:2}.ps-brand em{display:none}body.home .sd-hero{grid-template-columns:minmax(0,1fr)}.ps-footer-main{grid-template-columns:1fr 1fr}}
@media(max-width:767px){
 body .ps-head .ps-head-main{display:grid!important;grid-template-columns:48px minmax(0,1fr) 48px!important;gap:12px 8px!important;align-items:center!important;padding:12px 14px!important;max-width:1200px!important;margin:auto!important}
 body .ps-head .ps-mobile-menu{grid-column:1!important;grid-row:1!important;display:flex!important;align-items:center!important;justify-content:center!important;width:44px!important;height:44px!important;padding:0!important;font-size:25px!important;line-height:1!important;border:0!important;border-radius:12px!important;background:#fff3e7!important;box-shadow:none!important}
 body .ps-head a.ps-brand{grid-column:2!important;grid-row:1!important;display:flex!important;justify-content:center!important;align-items:center!important;gap:7px!important;min-width:0!important;overflow:hidden!important}
 body .ps-head a.ps-brand img{width:38px!important;height:38px!important;flex:0 0 38px!important}
 body .ps-head a.ps-brand strong{font-size:clamp(17px,5vw,23px)!important;white-space:nowrap!important;line-height:1.1!important}
 body .ps-head .ps-actions{grid-column:3!important;grid-row:1!important;display:flex!important;width:48px!important;min-width:0!important;margin:0!important;padding:0!important;justify-self:end!important}
 body .ps-head .ps-actions>a:first-child{display:none!important}
 body .ps-head .ps-actions>a.ps-cart-link{display:flex!important;align-items:center!important;justify-content:center!important;width:46px!important;height:46px!important;padding:0!important;background:#ff7900!important;border-radius:12px!important;overflow:hidden!important;font-size:0!important}
 body .ps-head .ps-actions .ps-cart-icon{font-size:23px!important;display:block!important;line-height:1!important}
 body .ps-head .ps-actions .ps-cart-label{display:none!important}
 body .ps-head .ps-search{grid-column:1/-1!important;grid-row:2!important;display:block!important;width:100%!important;min-width:0!important;max-width:none!important;margin:0!important}
 body .ps-head .ps-search form{display:flex!important;width:100%!important;min-width:0!important;margin:0!important}
 body .ps-head .ps-search input[type=search]{flex:1 1 0%!important;width:1%!important;min-width:0!important;padding:11px 14px!important}
 body .ps-head .ps-search button{flex:0 0 auto!important;min-width:82px!important;padding:0 15px!important}
 body .ps-head .ps-nav{display:none!important}body .ps-head .ps-nav.ps-nav-open{display:block!important}
 body .ps-head .ps-nav .ps-wrap,body .ps-head .ps-nav .menu{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:0!important;overflow:visible!important;white-space:normal!important}
 body .ps-head .ps-nav a{display:block;padding:12px 16px}
 body.home .sd-hero{padding:28px 20px!important;min-height:0;gap:24px}
 body.home .sd-hero-card{min-height:0!important;padding:24px 18px!important;gap:12px!important}
 body.home .sd-hero-card .sd-hero-mascot{width:112px;height:112px}
 body.home .sd-hero h1{font-size:clamp(32px,9vw,46px)}
 .sd-catgrid{grid-template-columns:repeat(2,minmax(0,1fr))}.sd-info{grid-template-columns:1fr}.ps-footer-main{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){.sd-catgrid a,.woocommerce ul.products li.product{transition:none!important}}

/* PandaSan 2.2.10 — restaura mascote desktop sem alterar o layout mobile.
   O elemento IMG existe no HTML e a mesma imagem funciona no celular. */
@media (min-width: 901px) {
  body.home .sd-hero-card > img.sd-hero-mascot {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: static !important;
    float: none !important;
    width: 110px !important;
    height: 110px !important;
    min-width: 110px !important;
    min-height: 110px !important;
    max-width: 110px !important;
    max-height: 110px !important;
    margin: 0 auto 4px !important;
    padding: 0 !important;
    object-fit: contain !important;
    transform: none !important;
    clip: auto !important;
    clip-path: none !important;
    z-index: 1 !important;
  }
}

/* PandaSan 2.2.12 — somente catalogo WooCommerce, sem mudar hero/cabecalho. */
.ps-main .woocommerce, .ps-main .woocommerce-page {max-width:1200px;margin-inline:auto}
.ps-main .woocommerce ul.products {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:20px 0 28px;padding:0;list-style:none}
.ps-main .woocommerce ul.products::before,.ps-main .woocommerce ul.products::after{content:none;display:none}
.ps-main .woocommerce ul.products li.product{float:none!important;width:auto!important;margin:0!important;min-width:0}
.ps-main .woocommerce ul.products li.product a img{width:100%;height:auto;object-fit:contain}
.sd-products-empty{padding:18px 20px;border:1px solid #f1e5db;border-radius:12px;background:#fffaf6;color:#594d44}
@media(max-width:900px){.ps-main .woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.ps-main .woocommerce ul.products{gap:10px}.ps-main .woocommerce ul.products li.product{padding:8px}}
