/*
Theme Name: Produtos em Oferta
Theme URI: https://produtosemofertaweb.com.br/
Author: Produtos em Oferta
Description: Tema oficial mobile-first do Produtos em Oferta, separado do plugin Produtos em Oferta Core.
Version: 0.1.3.1
Requires at least: 6.5
Requires PHP: 8.1
Text Domain: produtos-em-oferta-theme
*/

:root{--peo-navy:#07375b;--peo-navy-dark:#052a46;--peo-orange:#ff641e;--peo-bg:#f6f8fb;--peo-text:#10243a;--peo-muted:#667487;--peo-border:#e5eaf0;--peo-green:#159b68;--peo-white:#fff;--peo-radius:18px;--peo-shadow:0 8px 28px rgba(13,43,70,.08);--peo-container:1180px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--peo-bg);color:var(--peo-text);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.5}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto}.peo-container{width:min(calc(100% - 32px),var(--peo-container));margin-inline:auto}.peo-site-header{background:#fff;border-bottom:1px solid var(--peo-border);position:sticky;top:0;z-index:50}.admin-bar .peo-site-header{top:32px}.peo-header-row{min-height:76px;display:flex;align-items:center;gap:22px}.peo-brand{display:flex;align-items:center;gap:10px;min-width:max-content}.peo-mark{width:42px;height:48px;border-radius:12px 12px 16px 16px;background:linear-gradient(145deg,var(--peo-navy) 0 58%,var(--peo-orange) 59%);display:grid;place-items:center;color:#fff;font-weight:900;font-size:25px;transform:skew(-4deg)}.peo-brand-copy strong{display:block;font-size:20px;line-height:1;color:var(--peo-navy);font-weight:900}.peo-brand-copy strong span{color:var(--peo-orange)}.peo-brand-copy small{font-size:10px;color:var(--peo-text)}.peo-nav{margin-left:auto;display:flex;gap:22px;font-size:14px;font-weight:700}.peo-nav a:hover{color:var(--peo-orange)}.peo-menu-toggle{display:none;margin-left:auto;border:0;background:transparent;font-size:28px;color:var(--peo-navy)}.peo-main{min-height:65vh}.peo-hero{padding:24px 0 10px}.peo-hero-card{background:linear-gradient(120deg,var(--peo-navy-dark),#07527d);color:#fff;border-radius:24px;padding:34px;display:grid;grid-template-columns:1.3fr .7fr;gap:24px;align-items:center;overflow:hidden;box-shadow:var(--peo-shadow)}.peo-kicker{display:inline-flex;background:var(--peo-orange);border-radius:999px;padding:7px 12px;font-size:12px;font-weight:900;text-transform:uppercase}.peo-hero h1{font-size:clamp(34px,5vw,60px);line-height:.98;margin:14px 0 12px;max-width:700px}.peo-hero h1 span{color:var(--peo-orange)}.peo-hero p{font-size:17px;max-width:580px;margin:0 0 20px}.peo-search{background:#fff;padding:6px;border-radius:999px;display:flex;max-width:700px}.peo-search input{border:0;outline:0;flex:1;padding:11px 16px;font-size:16px;min-width:0}.peo-search button{border:0;border-radius:999px;background:var(--peo-orange);color:#fff;font-weight:900;padding:12px 25px;cursor:pointer}.peo-hero-art{min-height:240px;display:grid;place-items:center;position:relative}.peo-cart{font-size:110px;filter:drop-shadow(0 12px 12px rgba(0,0,0,.2));transform:rotate(-5deg)}.peo-burst{position:absolute;right:10px;top:10px;background:var(--peo-orange);padding:12px 14px;border-radius:50%;font-weight:900;text-align:center;line-height:1.05}.peo-section{padding:28px 0}.peo-section-head{display:flex;justify-content:space-between;align-items:end;gap:16px;margin-bottom:16px}.peo-section h2{margin:0;font-size:26px;color:var(--peo-navy)}.peo-section-head p{margin:3px 0 0;color:var(--peo-muted)}.peo-section-link{font-weight:800;color:var(--peo-orange)}.peo-categories{display:grid;grid-template-columns:repeat(7,1fr);gap:12px}.peo-category{background:#fff;border:1px solid var(--peo-border);border-radius:16px;padding:15px 8px;text-align:center;box-shadow:0 4px 16px rgba(13,43,70,.04)}.peo-category b{display:block;font-size:13px;margin-top:7px}.peo-category-icon{font-size:28px}.peo-theme-catalog .peo-catalog-grid{width:100%!important;max-width:none!important;margin:0!important}.peo-trust-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.peo-trust{background:#fff;border:1px solid var(--peo-border);border-radius:18px;padding:20px}.peo-trust strong{display:block;color:var(--peo-navy);font-size:17px;margin-bottom:5px}.peo-trust p{margin:0;color:var(--peo-muted);font-size:14px}.peo-disclosure{background:#eef6fb;border-radius:20px;padding:22px;border:1px solid #dceaf3}.peo-disclosure h3{margin:0 0 8px;color:var(--peo-navy)}.peo-disclosure p{margin:0;color:#43566a}.peo-site-footer{margin-top:40px;background:var(--peo-navy-dark);color:#fff;padding:36px 0 90px}.peo-footer-grid{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:28px}.peo-footer-title{font-size:23px;font-weight:900}.peo-footer-title span{color:var(--peo-orange)}.peo-footer-links{display:grid;gap:8px;font-size:14px}.peo-footer-note{color:#c9d8e4;font-size:13px}.peo-mobile-nav{display:none}.peo-empty{background:#fff;border:1px dashed #ccd6df;padding:28px;border-radius:18px;text-align:center;color:var(--peo-muted)}
@media(max-width:900px){.peo-nav{display:none}.peo-menu-toggle{display:block}.peo-hero-card{grid-template-columns:1fr}.peo-hero-art{display:none}.peo-categories{grid-template-columns:repeat(4,1fr)}.peo-trust-grid{grid-template-columns:1fr}.peo-footer-grid{grid-template-columns:1fr 1fr}}
@media(max-width:782px){.admin-bar .peo-site-header{top:46px}}
@media(max-width:640px){.peo-container{width:min(calc(100% - 24px),var(--peo-container))}.peo-header-row{min-height:68px}.peo-brand-copy strong{font-size:17px}.peo-brand-copy small{display:none}.peo-mark{width:36px;height:41px;font-size:22px}.peo-hero{padding-top:12px}.peo-hero-card{padding:24px 20px;border-radius:18px}.peo-hero h1{font-size:38px}.peo-hero p{font-size:15px}.peo-search button{padding-inline:18px}.peo-categories{display:flex;overflow:auto;gap:10px;padding-bottom:5px;scrollbar-width:none}.peo-category{min-width:92px}.peo-section{padding:22px 0}.peo-section h2{font-size:22px}.peo-footer-grid{grid-template-columns:1fr}.peo-site-footer{padding-bottom:105px}.peo-mobile-nav{position:fixed;display:grid;grid-template-columns:repeat(5,1fr);left:0;right:0;bottom:0;background:#fff;border-top:1px solid var(--peo-border);z-index:60;padding:8px 6px calc(8px + env(safe-area-inset-bottom));box-shadow:0 -5px 20px rgba(0,0,0,.07)}.peo-mobile-nav a{text-align:center;font-size:10px;font-weight:700;color:var(--peo-navy)}.peo-mobile-nav span{display:block;font-size:20px;line-height:1.1;margin-bottom:3px}.peo-mobile-nav a:first-child{color:var(--peo-orange)}}


/* 0.1.1 — Visual Refinement */
.peo-header-actions{display:flex;align-items:center;gap:8px;margin-left:4px}.peo-icon-btn{width:40px;height:40px;border:1px solid transparent;border-radius:12px;display:grid;place-items:center;color:var(--peo-navy);background:transparent}.peo-icon-btn:hover{background:#f3f6f9;border-color:var(--peo-border)}.peo-icon{width:24px;height:24px;display:block;stroke:currentColor;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.peo-category .peo-icon{margin:auto;width:27px;height:27px}.peo-category:hover{transform:translateY(-2px);border-color:#d5dee7;box-shadow:var(--peo-shadow)}.peo-category{transition:.18s ease}.peo-hero-card{position:relative;background:radial-gradient(circle at 82% 32%,rgba(19,113,157,.45),transparent 25%),linear-gradient(120deg,var(--peo-navy-dark),#07527d)}.peo-hero-card:after{content:"";position:absolute;width:280px;height:280px;border:1px solid rgba(255,255,255,.08);border-radius:50%;right:-80px;bottom:-140px}.peo-cart-visual{width:190px;height:150px;position:relative;transform:rotate(-4deg)}.peo-cart-basket{position:absolute;left:34px;top:30px;width:120px;height:70px;border:9px solid #ff7a2f;border-top-width:7px;border-radius:8px 8px 22px 22px;transform:skew(-7deg)}.peo-cart-basket:before,.peo-cart-basket:after{content:"";position:absolute;top:8px;bottom:8px;width:7px;background:#ff7a2f;border-radius:8px}.peo-cart-basket:before{left:30px}.peo-cart-basket:after{right:30px}.peo-cart-handle{position:absolute;left:12px;top:9px;width:55px;height:40px;border-left:9px solid #ff7a2f;border-top:9px solid #ff7a2f;border-radius:10px 0 0 0}.peo-cart-wheel{position:absolute;bottom:18px;width:25px;height:25px;border-radius:50%;background:#fff;border:7px solid #ff7a2f}.peo-cart-wheel.one{left:62px}.peo-cart-wheel.two{right:25px}.peo-home-catalog .peo-catalog-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px!important}.peo-home-catalog .peo-product-card{width:100%!important;max-width:none!important}.peo-coming-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}.peo-mini-card{background:#fff;border:1px solid var(--peo-border);border-radius:16px;padding:16px;min-height:110px;display:flex;flex-direction:column;justify-content:flex-end;box-shadow:0 4px 16px rgba(13,43,70,.04)}.peo-mini-card strong{font-size:14px}.peo-mini-card small{color:var(--peo-muted);margin-top:3px}.peo-guide-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.peo-guide-card{background:linear-gradient(135deg,#fff,#eef5fa);border:1px solid var(--peo-border);border-radius:18px;padding:20px;min-height:120px}.peo-guide-card span{font-size:12px;color:var(--peo-orange);font-weight:900;text-transform:uppercase}.peo-guide-card h3{margin:7px 0 0;font-size:18px;line-height:1.2}.peo-partners{display:grid;grid-template-columns:1fr 1fr;gap:14px}.peo-partner{border-radius:18px;padding:20px;font-weight:900;background:#fff;border:1px solid var(--peo-border);display:flex;align-items:center;gap:12px}.peo-partner-badge{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;font-size:20px;background:#f5f7fa}.peo-section-soft{background:#f1f5f9}.peo-section-compact{padding-top:10px}.peo-section-label{display:inline-flex;align-items:center;gap:8px}.peo-section-label .peo-icon{width:25px;height:25px;color:var(--peo-orange)}
@media(max-width:1000px){.peo-home-catalog .peo-catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}.peo-coming-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:900px){.peo-header-actions{margin-left:auto}.peo-home-catalog .peo-catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.peo-guide-grid{grid-template-columns:1fr 1fr}}
@media(max-width:640px){.peo-header-actions{display:none}.peo-home-catalog .peo-catalog-grid{grid-template-columns:1fr!important}.peo-coming-grid{display:flex;overflow:auto;padding-bottom:5px}.peo-mini-card{min-width:145px}.peo-guide-grid,.peo-partners{grid-template-columns:1fr}.peo-section-head{align-items:center}.peo-section-head p{font-size:13px}.peo-section-link{font-size:13px}.peo-hero-card:after{display:none}}


/* 0.1.2 — Dynamic Homepage Foundation */
.peo-icon-btn-disabled{opacity:.48;cursor:not-allowed}
.peo-offers-page{padding-top:38px}
.peo-offers-head h1{margin:0;color:var(--peo-navy);font-size:clamp(28px,4vw,42px)}
.peo-search-page{max-width:760px;margin:18px 0 8px;border:1px solid var(--peo-border);box-shadow:0 4px 18px rgba(13,43,70,.05)}
.peo-clear-search{display:inline-block;margin:3px 0 10px;color:var(--peo-orange);font-weight:800;font-size:14px}
.peo-offers-catalog .peo-catalog{margin-top:14px!important;padding-left:0!important;padding-right:0!important}
.peo-category:focus-visible,.peo-section-link:focus-visible,.peo-search button:focus-visible{outline:3px solid rgba(255,100,30,.28);outline-offset:3px}
.peo-mobile-disabled{text-align:center;font-size:10px;font-weight:700;color:#9aa6b2;cursor:not-allowed}
.peo-mobile-disabled>span{display:block;font-size:20px;line-height:1.1;margin-bottom:3px}
@media(max-width:640px){.peo-offers-page{padding-top:22px}.peo-search-page{margin-top:14px}}


/* 0.1.2.1 — Search routing + empty-state refinement */
.peo-offers-catalog .peo-empty,
.peo-offers-catalog p:only-child{
  max-width:760px;
  margin:20px 0 0;
  padding:22px 24px;
  border:1px solid var(--peo-border);
  border-radius:16px;
  background:#fff;
  color:var(--peo-muted);
  box-shadow:0 5px 18px rgba(13,43,70,.04);
}

/* 0.1.3.0 — Dynamic Discovery Homepage */
.peo-category small{display:block;margin-top:4px;color:var(--peo-muted);font-size:11px}.peo-discovery-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}.peo-discovery-card{background:#fff;border:1px solid var(--peo-border);border-radius:18px;overflow:hidden;box-shadow:0 4px 16px rgba(13,43,70,.04);display:flex;flex-direction:column}.peo-discovery-media{aspect-ratio:4/3;background:#f4f6f8;display:grid;place-items:center;position:relative;color:var(--peo-muted);font-size:12px;text-align:center;padding:10px}.peo-discovery-media img{width:100%;height:100%;object-fit:contain}.peo-discovery-discount{position:absolute;top:10px;left:10px;background:var(--peo-orange);color:#fff;border-radius:999px;padding:5px 8px;font-size:11px}.peo-discovery-body{padding:14px;display:flex;flex-direction:column;flex:1}.peo-discovery-body small{color:var(--peo-muted)}.peo-discovery-body h3{font-size:14px;line-height:1.3;margin:6px 0 10px;min-height:36px}.peo-discovery-body del{font-size:12px;color:var(--peo-muted)}.peo-discovery-body strong{font-size:19px;color:var(--peo-navy);margin-bottom:10px}.peo-discovery-button{margin-top:auto;background:var(--peo-orange);color:#fff;text-align:center;border-radius:10px;padding:10px 12px;font-weight:900;font-size:13px}@media(max-width:1000px){.peo-discovery-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:640px){.peo-discovery-grid{grid-template-columns:1fr 1fr;gap:10px}.peo-discovery-body{padding:11px}.peo-discovery-body h3{font-size:13px}.peo-discovery-body strong{font-size:17px}}

/* 0.1.3.1 — Marketplace buttons + safe new-tab offer navigation */
body .peo-marketplace-shopee .peo-card__button,
.peo-marketplace-shopee .peo-discovery-button{background:#ee4d2d!important;color:#fff!important}
body .peo-marketplace-mercado-livre .peo-card__button,
.peo-marketplace-mercado-livre .peo-discovery-button{background:#ffe600!important;color:#10243a!important}
body .peo-marketplace-shopee .peo-card__button:hover,
body .peo-marketplace-shopee .peo-card__button:focus,
.peo-marketplace-shopee .peo-discovery-button:hover,
.peo-marketplace-shopee .peo-discovery-button:focus{background:#d93f22!important;color:#fff!important}
body .peo-marketplace-mercado-livre .peo-card__button:hover,
body .peo-marketplace-mercado-livre .peo-card__button:focus,
.peo-marketplace-mercado-livre .peo-discovery-button:hover,
.peo-marketplace-mercado-livre .peo-discovery-button:focus{background:#f2d900!important;color:#10243a!important}
body .peo-card__button:focus-visible,
.peo-discovery-button:focus-visible{outline:3px solid rgba(7,55,91,.35);outline-offset:3px}
