/*
Theme Name: A Vitrine Top
Author: A Vitrine Top
Description: Tema WordPress profissional, leve, responsivo e otimizado para SEO, com cabeçalho compacto, publicidade AdSense e vitrine.
Version: 2.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: a-vitrine-top
*/

:root{
  --black:#14110f;
  --copper:#b86f3e;
  --copper-dark:#8d4e2a;
  --cream:#fbf5f0;
  --text:#29231f;
  --muted:#766960;
  --border:#ead9cd;
  --max:1280px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:#fffaf7;
  color:var(--text);
  font-family:Arial,Helvetica,sans-serif;
  line-height:1.6;
}
a{color:var(--copper);text-decoration:none}
a:hover{color:var(--copper-dark)}
.avt-header{
  width:100%;
  background:var(--black);
  border-bottom:3px solid var(--copper);
  overflow:hidden;
}
.avt-header a{display:block;line-height:0}
.avt-header img{
  display:block;
  width:100%;
  height:auto;
  max-height:440px;
  object-fit:cover;
  object-position:center;
  margin:0 auto;
}
.avt-ad-layout{
  width:min(100% - 28px,1440px);
  margin:18px auto 0;
  display:grid;
  grid-template-columns:180px minmax(0,1fr) 180px;
  grid-template-areas:"left center right";
  gap:14px;
  align-items:start;
}
.avt-ad-side{
  min-width:0;
  min-height:250px;
  background:#fff;
  border:1px solid var(--border);
  border-radius:10px;
  overflow:hidden;
}
.avt-ad-side:first-child{grid-area:left}
.avt-ad-side:last-child{grid-area:right}
.avt-ad-center{
  grid-area:center;
  min-width:0;
  min-height:120px;
  background:#fff;
  border:1px solid var(--border);
  border-radius:10px;
  overflow:hidden;
}
.avt-ad-label{
  text-align:center;
  font-size:9px;
  letter-spacing:1.4px;
  color:#a09289;
  padding:5px 0 0;
  text-transform:uppercase;
}
.avt-ad-code{
  width:100%;
  min-height:100px;
  padding:5px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.avt-ad-side .avt-ad-code{min-height:250px}
.avt-ad-placeholder{
  width:100%;
  min-height:90px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:12px;
  color:#afa198;
  font-size:11px;
}
.avt-ad-side .avt-ad-placeholder{min-height:240px}
.avt-main{
  width:min(100% - 28px,var(--max));
  margin:18px auto 45px;
}
.avt-storefront{
  background:#fff;
  border:1px solid var(--border);
  border-radius:12px;
  overflow:hidden;
  box-shadow:0 7px 24px rgba(80,45,25,.05);
}
.avt-storefront-head{
  padding:16px 20px 9px;
  text-align:center;
  border-bottom:1px solid #f1e6df;
}
.avt-storefront-head h1{
  margin:0 0 2px;
  font-family:Georgia,serif;
  font-size:clamp(24px,3vw,36px);
  font-weight:500;
  color:#241b16;
}
.avt-storefront-head p{
  margin:0 0 3px;
  color:var(--muted);
  font-size:14px;
}
.avt-storefront-frame{
  width:100%;
  min-height:900px;
  display:block;
  border:0;
  background:#fff;
}
.avt-fallback{
  padding:40px 20px;
  text-align:center;
}
.avt-button{
  display:inline-block;
  padding:11px 20px;
  border-radius:999px;
  color:#fff!important;
  background:linear-gradient(135deg,#b86f3e,#dfa878);
  font-weight:700;
}
.avt-content-page{
  max-width:900px;
  margin:32px auto 50px;
  padding:clamp(24px,4vw,48px);
  background:#fff;
  border:1px solid var(--border);
  border-radius:12px;
}
.avt-content-page h1,.avt-content-page h2{
  font-family:Georgia,serif;
  color:#241b16;
}
.avt-content-page h1{font-size:clamp(28px,4vw,42px);margin-top:0}
.avt-content-page h2{margin-top:28px}
.avt-footer{
  background:var(--black);
  color:#d9cbc2;
  padding:22px 20px;
  border-top:2px solid var(--copper);
}
.avt-footer-inner{
  width:min(100%,1100px);
  margin:0 auto;
}
.avt-footer-links{
  display:flex;
  justify-content:center;
  align-items:center;
  flex-wrap:wrap;
  gap:0;
}
.avt-footer-links a{
  color:#eee1d8;
  font-size:13px;
  padding:3px 14px;
  border-right:1px solid rgba(255,255,255,.16);
}
.avt-footer-links a:last-child{border-right:0}
.avt-footer-bottom{
  margin-top:13px;
  padding-top:11px;
  border-top:1px solid rgba(255,255,255,.10);
  text-align:center;
  font-size:11px;
  color:#9f9189;
}

@media(max-width:1100px){
  .avt-ad-layout{
    grid-template-columns:150px minmax(0,1fr) 150px;
    gap:10px;
  }
}
@media(max-width:800px){
  .avt-header img{
    max-height:300px;
  }
  .avt-ad-layout{
    width:min(100% - 20px,700px);
    grid-template-columns:1fr;
    grid-template-areas:"center";
    margin-top:12px;
  }
  .avt-ad-side{display:none}
  .avt-ad-center{grid-area:center}
  .avt-main{
    width:min(100% - 20px,700px);
    margin-top:14px;
  }
  .avt-storefront-frame{min-height:1000px}
  .avt-footer{padding:18px 12px}
  .avt-footer-links a{
    padding:4px 9px;
    font-size:12px;
  }
}
@media(max-width:480px){
  .avt-header img{max-height:210px}
  .avt-ad-center{min-height:90px}
  .avt-ad-code{min-height:75px}
  .avt-storefront-head{padding:13px 12px 7px}
  .avt-storefront-head h1{font-size:25px}
  .avt-storefront-head p{font-size:12px}
  .avt-storefront-frame{min-height:1050px}
}
