@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=Inter:wght@400;500;600;700;800&display=swap');

:root{
  --steel:#16324F;
  --steel-dark:#0D2138;
  --steel-light:#28496F;
  --yellow:#FFC72C;
  --yellow-dark:#E6AC00;
  --ink:#1A1E27;
  --muted:#6B7280;
  --bg:#F2F4F7;
  --card:#FFFFFF;
  --border:#E5E8EE;
  --green:#1E8E3E;
  --green-bg:#E8F6EC;
  --red:#D93025;
  --radius:10px;
  --shadow:0 1px 2px rgba(16,24,40,.06), 0 1px 3px rgba(16,24,40,.08);
  --shadow-lg:0 8px 24px rgba(16,24,40,.14);
  --font-head:'Barlow Condensed', 'Inter', sans-serif;
  --font-body:'Inter', -apple-system, sans-serif;
}

*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}
body{
  font-family:var(--font-body);
  background:var(--bg);
  color:var(--ink);
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%; display:block;}
button{font-family:inherit; cursor:pointer; border:none;}
a{color:inherit; text-decoration:none;}
:focus-visible{outline:3px solid var(--yellow-dark); outline-offset:2px;}
@media (prefers-reduced-motion: reduce){ *{animation-duration:.001ms !important; transition-duration:.001ms !important;} }

/* ============== TOPO / ANÚNCIO ============== */
#announce{
  background:var(--steel-dark);
  color:#fff;
  text-align:center;
  font-size:.82rem;
  font-weight:600;
  padding:.45rem 1rem;
  letter-spacing:.02em;
}

/* ============== NAVBAR ============== */
#navbar{
  position:sticky; top:0; z-index:200;
  background:var(--steel);
  display:flex; align-items:center; gap:1.25rem;
  padding:.75rem 1.5rem;
  box-shadow:var(--shadow-lg);
}
.logo{
  display:flex; align-items:center; gap:.5rem;
  font-family:var(--font-head); font-weight:800; font-size:1.35rem;
  color:#fff; white-space:nowrap; letter-spacing:.01em;
}
#nav-search{
  flex:1; max-width:640px; margin:0 auto;
  display:flex; align-items:stretch;
  background:#fff; border-radius:6px; overflow:hidden;
}
#nav-search input{
  flex:1; border:none; padding:.65rem .9rem; font-size:.95rem; font-family:inherit; color:var(--ink);
}
#nav-search input:focus{outline:none;}
#nav-search button{
  background:var(--yellow); padding:0 1rem; font-size:1.1rem; color:var(--steel-dark);
  transition:background .15s;
}
#nav-search button:hover{background:var(--yellow-dark);}
#nav-links{display:flex; gap:1.25rem;}
#nav-links a{color:#DCE6F2; font-size:.92rem; font-weight:500; transition:color .15s; white-space:nowrap;}
#nav-links a:hover{color:#fff;}
#cart-btn{
  background:var(--yellow); color:var(--steel-dark); font-weight:700;
  padding:.6rem 1.1rem; border-radius:6px; font-size:.9rem;
  display:flex; align-items:center; gap:.4rem; white-space:nowrap;
  transition:transform .12s, background .15s;
}
#cart-btn:hover{background:var(--yellow-dark); transform:translateY(-1px);}
#cart-count{
  background:var(--steel-dark); color:#fff; border-radius:999px;
  padding:.05rem .45rem; font-size:.78rem; font-weight:700;
}

@media(max-width:900px){
  #navbar{flex-wrap:wrap; padding:.65rem 1rem;}
  #nav-search{order:3; max-width:100%; flex-basis:100%;}
  #nav-links{display:none;}
}

@media(max-width:480px){
  .logo{font-size:1.05rem; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; max-width:62vw;}
  #cart-btn{padding:.55rem .8rem; font-size:.82rem;}
  #announce{font-size:.72rem; padding:.4rem .7rem;}
}

/* ============== HERO ============== */
#hero{
  background:
    linear-gradient(120deg, rgba(13,33,56,.93), rgba(22,50,79,.85)),
    repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 2px, transparent 2px 14px);
  color:#fff;
  padding:4.5rem 1.5rem 4rem;
  text-align:center;
  position:relative;
}
@media(max-width:480px){
  #hero{padding:2.6rem 1.1rem 2.4rem;}
  #hero-subtitle{font-size:.92rem;}
  #hero-cta{padding:.75rem 1.5rem; font-size:.92rem;}
  .section{padding:2rem 1rem;}
  .section-title{font-size:1.5rem;}
}
#hero-title{
  font-family:var(--font-head); font-weight:800; font-size:clamp(2rem,5vw,3.2rem);
  letter-spacing:.01em; max-width:820px; margin:0 auto .9rem;
}
#hero-subtitle{
  color:#C6D3E3; max-width:600px; margin:0 auto 1.8rem; font-size:1.05rem;
}
#hero-cta{
  background:var(--yellow); color:var(--steel-dark); font-weight:700;
  padding:.85rem 1.9rem; border-radius:8px; font-size:1rem;
  box-shadow:0 4px 14px rgba(0,0,0,.25);
  transition:transform .15s, background .15s;
}
#hero-cta:hover{background:var(--yellow-dark); transform:translateY(-2px);}

/* ============== SEÇÕES GERAIS ============== */
.section{max-width:1280px; margin:0 auto; padding:3rem 1.5rem;}
.section-title{font-family:var(--font-head); font-weight:700; font-size:1.9rem; color:var(--ink); text-align:center;}
.section-sub{text-align:center; color:var(--muted); margin-top:.35rem; margin-bottom:2rem; font-size:.95rem;}

/* ============== CATEGORIAS ============== */
#categories-grid{
  display:grid; grid-template-columns:repeat(auto-fit,minmax(120px,1fr)); gap:1rem;
}
.cat-card{
  background:var(--card); border:1px solid var(--border); border-radius:var(--radius);
  padding:1.1rem .5rem; text-align:center; cursor:pointer;
  transition:border-color .15s, transform .15s, box-shadow .15s;
}
.cat-card:hover{transform:translateY(-3px); box-shadow:var(--shadow);}
.cat-card.active{border-color:var(--yellow-dark); background:#FFFBEF; box-shadow:var(--shadow);}
.cat-image{width:64px;height:64px;margin:0 auto .55rem;border-radius:50%;overflow:hidden;background:#f1f5f9;display:flex;align-items:center;justify-content:center;}
.cat-image img{width:100%;height:100%;object-fit:cover;}
.cat-image span{font-size:.62rem;color:var(--muted);}
.cat-label{font-size:.86rem; font-weight:600; color:var(--ink);}

/* ============== GRIDS DE PRODUTOS E PEÇAS (PADRONIZADOS) ============== */
#products-grid, #pecas-grid{
  display:grid; 
  grid-template-columns:repeat(auto-fill,minmax(220px,1fr)); 
  gap:1.1rem;
}
.product-card{
  background:var(--card); border:1px solid var(--border); border-radius:var(--radius);
  overflow:hidden; cursor:pointer; display:flex; flex-direction:column;
  transition:box-shadow .18s, transform .18s, border-color .18s;
  position:relative;
}
.product-card:hover{box-shadow:var(--shadow-lg); transform:translateY(-3px); border-color:#D8DEE8;}
.product-img{
  aspect-ratio:1/1; background:#F7F8FA; display:flex; align-items:center; justify-content:center;
  font-size:3rem; overflow:hidden; position:relative;
}
.product-img img{width:100%; height:100%; object-fit:contain; transition:transform .3s;}
.image-placeholder{font-size:.72rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#94a3b8}
.product-card:hover .product-img img{transform:scale(1.06);}
.product-body{padding:.9rem 1rem 1.05rem; display:flex; flex-direction:column; gap:.35rem; flex:1;}
.product-badge{
  position:absolute; top:.6rem; left:.6rem;
  background:var(--yellow); color:var(--steel-dark); font-size:.68rem; font-weight:800;
  text-transform:uppercase; letter-spacing:.03em; padding:.25rem .55rem; border-radius:4px;
  z-index:2;
}
.product-name{
  font-size:.92rem; font-weight:600; color:var(--ink); line-height:1.35;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
  line-clamp:2;
}
.product-footer{margin-top:auto; display:flex; flex-direction:column; gap:.55rem;}
.product-price{font-size:1.35rem; font-weight:800; color:var(--ink); letter-spacing:-.01em;}
.product-unit{font-size:.76rem; color:var(--muted);}
.wholesale-tag{
  display:flex; align-items:center; gap:.35rem;
  background:var(--green-bg); color:var(--green); font-size:.74rem; font-weight:700;
  padding:.3rem .5rem; border-radius:5px; width:fit-content;
}
.add-to-cart{
  background:var(--steel); color:#fff; font-weight:700; font-size:.85rem;
  padding:.55rem; border-radius:6px; width:100%;
  transition:background .15s;
}
.add-to-cart:hover{background:var(--steel-dark);}

/* ============== SOBRE ============== */
#sobre{background:var(--card); border-top:1px solid var(--border); border-bottom:1px solid var(--border);}
.about-grid{display:grid; grid-template-columns:1.1fr .9fr; gap:3rem; align-items:center;}
#about-title{font-family:var(--font-head); font-weight:700; font-size:1.9rem; margin-bottom:1rem; color:var(--ink);}
.about-text p{color:var(--muted); margin-bottom:.85rem; font-size:.98rem;}
.about-stats{display:grid; grid-template-columns:1fr 1fr; gap:1rem;}
.stat-box{background:var(--bg); border-radius:var(--radius); padding:1.3rem 1rem; text-align:center; border:1px solid var(--border);}
.stat-num{font-family:var(--font-head); font-weight:800; font-size:2rem; color:var(--steel);}
.stat-label{font-size:.8rem; color:var(--muted); margin-top:.2rem;}
@media(max-width:800px){.about-grid{grid-template-columns:1fr;}}

/* ============== FOOTER ============== */
footer{background:var(--steel-dark); color:#B9C6D6; text-align:center; padding:2.2rem 1.5rem; font-size:.88rem;}
footer strong{color:#fff;}

/* ============== CARRINHO LATERAL ============== */
#cart-overlay{
  position:fixed; inset:0; background:rgba(13,20,30,.5); z-index:500;
  opacity:0; pointer-events:none; transition:opacity .2s;
}
#cart-overlay.open{opacity:1; pointer-events:auto;}
#cart-panel{
  position:absolute; right:0; top:0; bottom:0; width:min(420px,100%);
  background:#fff; display:flex; flex-direction:column;
  transform:translateX(100%); transition:transform .25s ease;
}
#cart-overlay.open #cart-panel{transform:translateX(0);}
#cart-header{display:flex; align-items:center; justify-content:space-between; padding:1.1rem 1.3rem; border-bottom:1px solid var(--border);}
#cart-header h3{font-family:var(--font-head); font-size:1.3rem;}
#cart-close{background:none; font-size:1.2rem; color:var(--muted);}
#cart-items{flex:1; overflow-y:auto; padding:1rem 1.3rem;}
.cart-item{display:flex; gap:.8rem; padding:.8rem 0; border-bottom:1px solid var(--border); align-items:center;}
.cart-item-icon{width:50px; height:50px; background:#F7F8FA; border-radius:6px; display:flex; align-items:center; justify-content:center; font-size:1.4rem; flex-shrink:0;}
.cart-item-info{flex:1; min-width:0;}
.cart-item-name{font-size:.85rem; font-weight:600; margin-bottom:.2rem; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;}
.cart-remove{font-size:.72rem;font-weight:700;color:#b42318;background:#fff1f0;padding:.35rem .5rem;border-radius:5px}
.cart-item-variant{font-size:.74rem; color:var(--steel); font-weight:700; margin-bottom:.15rem; background:#EEF3FB; padding:.1rem .4rem; border-radius:4px; width:fit-content;}
.cart-item-price{font-size:.9rem; font-weight:700; color:var(--steel);}
.cart-item-unitnote{font-size:.72rem; color:var(--green); font-weight:600;}
.cart-qty{display:flex; align-items:center; gap:.5rem; margin-top:.3rem;}
.cart-qty button{width:22px; height:22px; border-radius:4px; background:var(--bg); border:1px solid var(--border); font-weight:700; font-size:.85rem;}
.cart-remove{background:none; color:var(--muted); font-size:1rem;}
#cart-footer{padding:1.1rem 1.3rem; border-top:1px solid var(--border);}
#cart-total{display:flex; justify-content:space-between; font-weight:700; font-size:1.05rem; margin-bottom:.9rem;}
#whatsapp-btn{
  width:100%; background:#25D366; color:#fff; font-weight:700; padding:.85rem;
  border-radius:8px; display:flex; align-items:center; justify-content:center; gap:.5rem; font-size:.95rem;
  transition:background .15s;
}
#whatsapp-btn:hover{background:#1DA851;}

/* ============== MODAL DE PRODUTO E PEÇAS ============== */
#product-modal, #peca-modal{
  position:fixed; inset:0; background:rgba(13,20,30,.6); z-index:600;
  display:flex; align-items:center; justify-content:center; padding:1.5rem;
  opacity:0; pointer-events:none; transition:opacity .18s;
}
#product-modal.open, #peca-modal.open{opacity:1; pointer-events:auto;}
#product-modal-inner, #peca-modal-inner{
  background:#fff; border-radius:14px; max-width:1000px; width:100%; max-height:90vh; overflow-y:auto;
  padding:2rem; position:relative;
  display:grid; grid-template-columns:1fr 1fr; gap:2rem;
}
#modal-close, #peca-modal-close{position:absolute; top:1rem; right:1rem; background:var(--bg); width:34px; height:34px; border-radius:50%; font-size:1rem; z-index:5;}
#carousel-container, #peca-carousel-container{
  grid-column:1; display:flex; flex-direction:column; gap:.7rem; align-items:center; position:relative;
}
#product-modal-img, #peca-modal-img{
  width:100%; aspect-ratio:1/1; background:#F7F8FA; border-radius:10px;
  display:flex; align-items:center; justify-content:center; font-size:4rem; overflow:hidden;
}
#product-modal-img img, #peca-modal-img img{width:100%; height:100%; object-fit:contain;}
.carousel-btn{
  position:absolute; top:50%; transform:translateY(-50%); background:#fff; box-shadow:var(--shadow);
  width:34px; height:34px; border-radius:50%; font-size:.95rem; z-index:3; color:var(--steel);
}
.carousel-btn.prev{left:.5rem;} .carousel-btn.next{right:.5rem;}
#thumb-strip, #peca-thumb-strip{
  display:flex; gap:.5rem; width:100%;
  overflow-x:auto; overflow-y:hidden; justify-content:flex-start;
  -webkit-overflow-scrolling:touch; scrollbar-width:thin; padding-bottom:.15rem;
}
.thumb{
  flex:0 0 auto; width:56px; height:56px; border-radius:6px; overflow:hidden;
  border:2px solid var(--border); cursor:pointer; background:#F7F8FA;
}
.thumb img{width:100%; height:100%; object-fit:contain; pointer-events:none;}
.thumb.active{border-color:var(--yellow-dark);}
@media(min-width:761px){ #thumb-strip, #peca-thumb-strip{justify-content:center; flex-wrap:wrap; overflow-x:visible;} }

#product-modal-name, #peca-modal-name{grid-column:2; font-family:var(--font-head); font-weight:700; font-size:1.5rem; align-self:start; margin-top:-.2rem;}
#product-modal-price, #peca-modal-price{grid-column:2; font-size:1.7rem; font-weight:800; color:var(--ink);}
.modal-wholesale-box, #peca-minqty-box{
  grid-column:2; background:var(--green-bg); border:1px solid #CDEBD5; border-radius:8px; padding:.8rem 1rem;
  font-size:.85rem; color:var(--green); font-weight:600; display:flex; align-items:center; gap:.5rem;
}
#peca-minqty-box{background:#EEF3FB; border-color:#D7E3F5; color:var(--steel);}
#product-modal-desc, #peca-modal-desc{grid-column:2; font-size:.92rem; color:var(--muted); line-height:1.6;}
#product-modal-desc p, #peca-modal-desc p{margin-bottom:.6rem;}
.product-specs, #peca-modal-specs{grid-column:2;}
.product-specs ul, #peca-modal-specs ul{list-style:none; display:flex; flex-direction:column; gap:.4rem;}
.product-specs li, #peca-modal-specs li{font-size:.86rem; color:var(--ink); padding-left:1.1rem; position:relative;}
.product-specs li::before, #peca-modal-specs li::before{content:'✓'; position:absolute; left:0; color:var(--green); font-weight:700;}

.qty-selector{display:flex; align-items:center; border:1px solid var(--border); border-radius:8px; overflow:hidden;}
.qty-selector button{width:38px; height:38px; background:var(--bg); font-size:1.1rem; font-weight:700;}
.qty-selector span{width:42px; text-align:center; font-weight:700;}
#modal-add-btn{
  grid-column:2; background:var(--yellow); color:var(--steel-dark); font-weight:800; font-size:1rem;
  padding:.95rem; border-radius:8px; transition:background .15s;
}
#modal-add-btn:hover{background:var(--yellow-dark);}
#peca-add-btn{
  grid-column:2; background:#25D366; color:#fff; font-weight:800; font-size:1rem;
  padding:.95rem; border-radius:8px; transition:background .15s;
}
#peca-add-btn:hover{background:#1DA851;}

/* ============== VARIAÇÕES E CORES NA VITRINE ============== */
#modal-variations{grid-column:2;}
.variation-group{margin-bottom:1.2rem; background:#F8FAFC; padding:.8rem; border-radius:8px; border:1px solid var(--border);}
.variation-group-label{display:block; font-size:.85rem; font-weight:700; color:var(--steel); margin-bottom:.6rem; text-transform:uppercase; letter-spacing:.02em;}
.variation-options{display:flex; flex-wrap:wrap; gap:.6rem;}
.variation-opt{
  background:#fff; border:2px solid var(--border); color:var(--ink); font-weight:600; font-size:.88rem;
  padding:.45rem .85rem; border-radius:8px; display:inline-flex; align-items:center; gap:.5rem;
  transition:all .15s ease; cursor:pointer;
}
.variation-opt:hover{border-color:var(--steel-light);}
.variation-opt.selected{background:var(--steel); border-color:var(--steel); color:#fff;}
.variation-opt-thumb{width:28px; height:28px; object-fit:cover; border-radius:4px; border:1px solid rgba(0,0,0,.1);}

/* ============== VARIAÇÕES E FOTO POR VARIAÇÃO NO ADMIN ============== */
.variation-editor-group{background:var(--bg); border:1px solid var(--border); border-radius:8px; padding:.9rem 1rem; margin-bottom:.8rem;}
.variation-editor-header{display:flex; align-items:center; justify-content:space-between; margin-bottom:.7rem; gap:.5rem;}
.variation-options-editor-list{display:flex; flex-direction:column; gap:.6rem; margin-top:.4rem;}
.variation-option-card{
  display:flex; align-items:center; justify-content:space-between; gap:.8rem; background:#fff;
  padding:.5rem .8rem; border-radius:6px; border:1px solid var(--border); flex-wrap:wrap;
}
.variation-img-picker{display:flex; align-items:center; gap:.5rem; font-size:.82rem;}
.variation-img-picker select{padding:.3rem .5rem; border-radius:5px; border:1px solid var(--border); font-size:.8rem;}
.variation-preview-mini{width:32px; height:32px; object-fit:cover; border-radius:4px; border:1px solid var(--border);}

/* ============== GERENCIADOR DE TAGS / ESPECIFICAÇÕES ============== */
.tag-manager{display:flex; flex-wrap:wrap; gap:.5rem; margin-top:.7rem;}
.tag-chip{
  display:inline-flex; align-items:center; gap:.4rem; background:var(--bg); border:1px solid var(--border);
  color:var(--ink); font-size:.82rem; font-weight:600; padding:.35rem .5rem .35rem .75rem; border-radius:999px;
}
.tag-chip button{background:none; color:var(--muted); font-size:.85rem; line-height:1; padding:.1rem; border-radius:50%;}
.tag-chip button:hover{color:var(--red);}

/* ============== EMOJIS DE CATEGORIA ============== */
.cat-icon-row{display:flex; align-items:center; gap:.7rem; padding:.5rem 0; border-bottom:1px solid var(--border);}
.cat-icon-row:last-child{border-bottom:none;}
.cat-icon-row span{font-size:.9rem; font-weight:600; color:var(--ink);}
.category-admin-preview{width:64px;height:64px;flex:0 0 64px;border-radius:9px;overflow:hidden;background:#f1f5f9;display:flex;align-items:center;justify-content:center;}
.category-admin-preview img{width:100%;height:100%;object-fit:cover;}
.category-admin-preview span{font-size:.62rem;color:var(--muted);font-weight:400;}
.category-admin-name{flex:1;}
.category-upload-btn{cursor:pointer;display:inline-block;}
.category-upload-btn input{display:none;}
.category-crop-modal{position:fixed;inset:0;background:rgba(15,23,42,.72);z-index:10000;display:none;align-items:center;justify-content:center;padding:1rem;}
.category-crop-modal.open{display:flex;}
.category-crop-dialog{width:min(620px,100%);background:#fff;border-radius:14px;padding:1.25rem;}
.category-crop-dialog p{font-size:.82rem;color:var(--muted);margin-bottom:.8rem;}
.category-crop-viewport{width:min(560px,100%);aspect-ratio:1;margin:auto;overflow:hidden;border-radius:10px;background:#e2e8f0;touch-action:none;}
.category-crop-viewport canvas{display:block;width:100%;height:100%;cursor:grab;touch-action:none;}
.category-zoom-label{display:flex;align-items:center;gap:.7rem;margin-top:1rem;font-size:.82rem;font-weight:600;}
.category-zoom-label input{flex:1;}
.category-crop-actions{display:flex;justify-content:flex-end;gap:.6rem;margin-top:1rem;}
.cat-icon-input{
  width:52px; text-align:center; font-size:1.3rem; padding:.4rem; border:1px solid var(--border); border-radius:7px;
}
.cat-icon-input:focus{border-color:var(--steel); outline:none;}

/* ============== TOAST ============== */
#toast{
  position:fixed; bottom:1.5rem; left:50%; transform:translateX(-50%) translateY(20px);
  background:var(--steel-dark); color:#fff; padding:.85rem 1.4rem; border-radius:8px;
  font-size:.9rem; font-weight:600; opacity:0; pointer-events:none; transition:all .25s; z-index:999;
  box-shadow:var(--shadow-lg);
}
#toast.show{opacity:1; transform:translateX(-50%) translateY(0);}

/* ============== LOGIN DO ADMIN ============== */
#admin-login-overlay{
  position:fixed; inset:0; background:var(--steel-dark); z-index:900;
  display:none; align-items:center; justify-content:center; padding:1.5rem;
}
#admin-login-overlay.open{display:flex;}
#admin-login-box{
  background:#fff; border-radius:12px; padding:2.2rem; width:100%; max-width:380px;
  box-shadow:var(--shadow-lg);
}
#admin-login-box h2{font-family:var(--font-head); font-size:1.5rem; margin-bottom:.3rem; color:var(--ink);}
#admin-login-box p.sub{color:var(--muted); font-size:.86rem; margin-bottom:1.5rem;}
#admin-login-box label{font-size:.82rem; font-weight:600; color:var(--ink); display:block; margin-bottom:.3rem;}
#admin-login-box input{
  width:100%; padding:.7rem .8rem; border:1px solid var(--border); border-radius:7px; font-size:.92rem; margin-bottom:1rem;
}
#admin-login-box input:focus{border-color:var(--steel); outline:none;}
#admin-login-btn{
  width:100%; background:var(--steel); color:#fff; font-weight:700; padding:.8rem; border-radius:7px; font-size:.95rem;
  transition:background .15s;
}
#admin-login-btn:hover{background:var(--steel-dark);}
#admin-login-error{color:var(--red); font-size:.82rem; margin-top:.7rem; min-height:1.1em;}
#admin-login-close{display:block; text-align:center; margin-top:1.1rem; font-size:.83rem; color:var(--muted);}

/* ============== PAINEL ADMIN ============== */
#admin-panel{
  position:fixed; inset:0; background:var(--bg); z-index:800;
  display:none; flex-direction:column; overflow:hidden;
}
#admin-panel.open{display:flex;}
#admin-topbar{
  background:var(--steel-dark); color:#fff; display:flex; align-items:center; justify-content:space-between;
  padding:1rem 1.5rem; gap:.7rem; flex-wrap:wrap;
}
#admin-topbar h1{font-family:var(--font-head); font-size:1.25rem; font-weight:700;}
@media(max-width:640px){
  #admin-topbar{padding:.8rem 1rem;}
  #admin-topbar h1{font-size:1rem;}
  #admin-user-badge{display:block; margin-left:0; font-size:.72rem;}
  #admin-content{padding:1rem;}
  .stats-grid{grid-template-columns:1fr 1fr;}
}
#admin-user-badge{font-size:.8rem; color:#B9C6D6; margin-left:.9rem; font-weight:500;}
#admin-logout{background:var(--red); color:#fff; font-weight:600; padding:.55rem 1rem; border-radius:6px; font-size:.85rem;}
#admin-nav{background:#fff; border-bottom:1px solid var(--border); display:flex; gap:.3rem; padding:0 1.5rem; overflow-x:auto;}
.admin-tab{
  background:none; padding:.9rem 1rem; font-size:.88rem; font-weight:600; color:var(--muted);
  border-bottom:3px solid transparent; white-space:nowrap;
}
.admin-tab.active{color:var(--steel); border-color:var(--yellow-dark);}
.admin-tab[hidden]{display:none;}
#admin-content{flex:1; overflow-y:auto; padding:1.5rem;}
.admin-topbar-actions{display:flex;align-items:center;gap:.65rem}
#sync-orders-btn{background:#2563eb;color:#fff;padding:.55rem .8rem;border-radius:6px;font-size:.8rem;font-weight:700;white-space:nowrap}
#sync-orders-btn:hover{background:#1d4ed8}
#sync-orders-btn:disabled{cursor:wait;opacity:.7}
.admin-section{display:none; max-width:1100px; margin:0 auto; flex-direction:column; gap:1.2rem;}
.admin-section.active{display:flex;}

.stats-grid{display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:1rem;}
.stat-card{background:#fff; border-radius:var(--radius); padding:1.2rem; border-left:4px solid var(--steel); box-shadow:var(--shadow);}
.stat-card.blue{border-color:#2F6FED;} .stat-card.green{border-color:var(--green);} .stat-card.yellow{border-color:var(--yellow-dark);}
.stat-card-label{font-size:.78rem; color:var(--muted); font-weight:600; text-transform:uppercase; letter-spacing:.02em;}
.stat-card-val{font-family:var(--font-head); font-size:1.9rem; font-weight:700; margin-top:.2rem; color:var(--ink);}

.admin-card{background:#fff; border-radius:var(--radius); padding:1.4rem; box-shadow:var(--shadow);}
.admin-card h3{font-size:1.05rem; margin-bottom:1rem; color:var(--ink);}

.bar-chart{display:flex; align-items:flex-end; gap:.8rem; height:130px; padding-top:1rem;}
.bar-col{flex:1; display:flex; flex-direction:column; align-items:center; gap:.4rem;}
.bar{width:100%; max-width:34px; background:linear-gradient(180deg,var(--yellow),var(--yellow-dark)); border-radius:4px 4px 0 0;}
.bar-label{font-size:.72rem; color:var(--muted);}

.activity-item{display:flex; align-items:center; gap:.6rem; padding:.55rem 0; border-bottom:1px solid var(--border); font-size:.85rem;}
.activity-item:last-child{border-bottom:none;}
.activity-dot{width:8px; height:8px; border-radius:50%; background:var(--steel); flex-shrink:0;}
.activity-dot.blue{background:#2F6FED;} .activity-dot.green{background:var(--green);}
.activity-text{flex:1; color:var(--ink);}
.activity-time{color:var(--muted); font-size:.76rem;}

.form-row{display:grid; grid-template-columns:1fr 1fr; gap:1rem;}
.form-group{margin-bottom:1rem;}
.form-group label{display:block; font-size:.83rem; font-weight:600; margin-bottom:.35rem; color:var(--ink);}
.form-group input, .form-group textarea{
  width:100%; padding:.65rem .8rem; border:1px solid var(--border); border-radius:7px; font-size:.9rem; font-family:inherit;
}
.form-group input:focus, .form-group textarea:focus{border-color:var(--steel); outline:none;}
.form-group textarea{min-height:80px; resize:vertical;}
.form-hint{font-size:.76rem; color:var(--muted); margin-top:.3rem;}

.btn-primary{background:var(--steel); color:#fff; font-weight:700; padding:.75rem 1.3rem; border-radius:7px; font-size:.88rem; transition:background .15s;}
.btn-primary:hover{background:var(--steel-dark);}

.image-manager{display:flex; flex-wrap:wrap; gap:.6rem; margin-top:.7rem;}
.image-manager-empty{font-size:.82rem; color:var(--muted); padding:.6rem 0;}
.image-manager-item{
  border:1px solid var(--border); border-radius:8px; overflow:hidden; width:110px; background:var(--bg);
}
.image-manager-item img{width:100%; height:80px; object-fit:contain; background:#fff;}
.image-manager-info{padding:.4rem;}
.image-manager-title{font-size:.7rem; font-weight:700; color:var(--steel); margin-bottom:.3rem;}
.image-manager-actions{display:flex; gap:.25rem; flex-wrap:wrap;}
.image-manager-btn{background:#fff; border:1px solid var(--border); border-radius:4px; font-size:.72rem; padding:.15rem .35rem;}
.image-manager-btn.danger{color:var(--red);}

.admin-table{width:100%; border-collapse:collapse; font-size:.86rem;}
.admin-table th{text-align:left; padding:.6rem .5rem; color:var(--muted); font-weight:600; border-bottom:1px solid var(--border); font-size:.78rem; text-transform:uppercase;}
.admin-table td{padding:.6rem .5rem; border-bottom:1px solid var(--border); vertical-align:middle;}
.btn-edit{background:#EAF1FB; color:#2F6FED; font-weight:600; padding:.35rem .65rem; border-radius:5px; font-size:.78rem; margin-right:.35rem;}
.btn-danger{background:#FDEBEA; color:var(--red); font-weight:600; padding:.35rem .65rem; border-radius:5px; font-size:.78rem;}

.perm-checks{display:flex; flex-wrap:wrap; gap:.9rem; margin-bottom:1rem;}
.perm-check{display:flex; align-items:center; gap:.4rem; font-size:.85rem; background:var(--bg); padding:.5rem .8rem; border-radius:7px; border:1px solid var(--border);}
.perm-check input{width:auto;}
.role-pill{font-size:.72rem; font-weight:700; padding:.2rem .55rem; border-radius:999px; text-transform:uppercase;}
.role-pill.admin{background:#FDEBEA; color:var(--red);}
.role-pill.editor{background:#EAF1FB; color:#2F6FED;}

.no-access{padding:3rem; text-align:center; color:var(--muted);}

/* ============== RESPONSIVIDADE DOS MODAIS ============== */
@media(max-width: 760px) {
  .admin-topbar-actions{width:100%;justify-content:flex-end}
  #products-grid, #pecas-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)) !important;
    gap: 0.8rem !important;
  }

  #product-modal, #peca-modal {
    padding: 0 !important;
    align-items: flex-end !important;
    overflow: hidden !important;
  }

  #product-modal-inner, #peca-modal-inner {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
    padding: 1.5rem 1rem !important;
    max-height: 85vh !important;
    overflow-y: auto !important;
    width: 100% !important;
    max-width: 100vw !important;
    border-radius: 14px 14px 0 0 !important;
    display: flex !important;
    flex-direction: column !important;
  }

  #carousel-container, #peca-carousel-container {
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
  }

  #product-modal-img, #peca-modal-img {
    max-height: 35vh !important;
    width: 100% !important;
  }

  #thumb-strip, #peca-thumb-strip {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    width: 100% !important;
    gap: 0.5rem !important;
    padding: 0.5rem 0 !important;
  }

  .thumb {
    flex: 0 0 56px !important;
    height: 56px !important;
  }

  #product-modal-name, 
  #product-modal-price, 
  .modal-wholesale-box, 
  #product-modal-desc, 
  .product-specs, 
  #modal-variations,
  .modal-qty-row, 
  #modal-add-btn,
  #peca-modal-name,
  #peca-modal-price,
  #peca-minqty-box,
  #peca-modal-desc,
  #peca-modal-specs,
  #peca-add-btn {
    width: 100% !important;
  }
}
/* Integração dos módulos operacionais existentes no ADMIN */
.operations-heading{padding:.25rem 0 .4rem}.operations-heading h3{font-size:1.35rem;margin:.18rem 0}.operations-heading p{color:var(--muted);font-size:.92rem}.operations-kicker{font-size:.68rem;font-weight:800;letter-spacing:.12em;color:var(--steel)}
.operations-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1rem;margin-top:1.1rem}
.operation-card{position:relative;display:grid;grid-template-columns:48px 1fr auto;align-items:center;gap:.9rem;padding:1.15rem;border:1px solid var(--border);border-radius:10px;background:#fff;color:var(--steel);text-decoration:none;transition:.18s;overflow:hidden}
.operation-card::before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:#64748b}.operation-card.production::before{background:#2563eb}.operation-card.shipping::before{background:#16a34a}.operation-card.financial::before{background:#f0b429}
.operation-card:hover{transform:translateY(-2px);box-shadow:0 8px 20px rgba(15,23,42,.09)}
.operation-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:9px;background:#f1f5f9;font-size:1.35rem}.operation-copy{display:flex;flex-direction:column;gap:.25rem}.operation-copy strong{font-size:1rem}.operation-copy small{font-size:.78rem;color:var(--muted)}.operation-arrow{font-size:1.2rem;color:#94a3b8}
.operational-section{height:calc(100vh - 155px);padding:0!important;margin:0!important;max-width:none!important}
.admin-module-frame{display:block;width:100%;height:100%;border:0;background:#f4f6f9}

/* Refinamento visual da vitrine */
#announce{font-size:.78rem;letter-spacing:.035em;text-transform:uppercase}
.logo{letter-spacing:-.02em}
#hero{position:relative;isolation:isolate}
#hero::after{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(circle at 75% 25%,rgba(255,255,255,.1),transparent 32%)}
.section-title{letter-spacing:-.025em}
.product-card,.category-card{border-color:#e5e9ef;box-shadow:0 8px 24px rgba(15,23,42,.055)}
.product-card:hover,.category-card:hover{box-shadow:0 14px 32px rgba(15,23,42,.1)}
#cart-btn{display:inline-flex;align-items:center;gap:.45rem}

@media(max-width:760px){
  .section{padding:2.2rem 1rem}
  #hero{padding:3.25rem 1rem}
  #hero h1{font-size:clamp(1.85rem,9vw,2.6rem)}
  #hero p{font-size:.96rem}
  #categories-grid{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;padding:.25rem .1rem .75rem;gap:.75rem}
  #categories-grid .category-card{flex:0 0 132px;scroll-snap-align:start}
  #products-grid,#pecas-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:.75rem}
  .product-info{padding:.85rem}
  .product-name{font-size:.88rem}
  .product-price{font-size:1rem}
  .product-img{height:150px}
  #admin-content{padding:1rem}
  .admin-card{padding:1rem}
  .operational-section{height:calc(100dvh - 145px)}
}
@media(max-width:380px){
  #products-grid,#pecas-grid{grid-template-columns:1fr!important}
  .product-img{height:210px}
}

/* ============== VITRINE 2026 ============== */
.icon-library{position:absolute;width:0;height:0;overflow:hidden}
.icon{width:1.15em;height:1.15em;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}
.admin-icon{width:1.1em;height:1.1em;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto;vertical-align:-.18em;margin-right:.35em}
.admin-tab .admin-icon,.btn-primary .admin-icon{margin-right:.3em}.operation-icon .admin-icon{width:1.45rem;height:1.45rem;margin:0}.operation-arrow .admin-icon{margin:0}
body{background:#f4f6f8}
#announce{background:#0d2138;color:#dce6f2;padding:.55rem 1rem;font-size:.72rem;letter-spacing:.11em}
#navbar{background:rgba(255,255,255,.94);color:#16324f;border-bottom:1px solid rgba(22,50,79,.09);box-shadow:0 8px 35px rgba(13,33,56,.07);backdrop-filter:blur(16px);padding:.85rem clamp(1rem,4vw,4rem)}
.logo{color:#16324f;font-size:1.28rem;max-width:250px;line-height:1.05}
.logo::before{content:"M";display:grid;place-items:center;width:38px;height:38px;border-radius:12px 4px 12px 4px;background:#ffc72c;color:#0d2138;font-family:var(--font-head);font-size:1.35rem;box-shadow:inset 0 0 0 1px rgba(13,33,56,.12)}
#nav-search{max-width:430px;margin:0 auto;border:1px solid #dce2e9;border-radius:999px;background:#f3f5f7;transition:.2s;box-shadow:none}
#nav-search:focus-within{background:#fff;border-color:#e6ac00;box-shadow:0 0 0 4px rgba(255,199,44,.18)}
#nav-search input{background:transparent;padding:.7rem 1rem}
#nav-search button{display:flex;align-items:center;gap:.35rem;background:#16324f;color:#fff;padding:0 1.15rem;font-size:.82rem;font-weight:700}
#nav-search button:hover{background:#0d2138}
#nav-links{gap:1.15rem}
#nav-links a{position:relative;color:#607080;font-size:.84rem;font-weight:600}
#nav-links a::after{content:"";position:absolute;left:0;right:100%;bottom:-.4rem;height:2px;background:#e6ac00;transition:right .2s}
#nav-links a:hover{color:#16324f}
#nav-links a:hover::after{right:0}
#cart-btn{background:#ffc72c;color:#0d2138;border-radius:999px;padding:.68rem 1rem;box-shadow:0 5px 18px rgba(230,172,0,.2)}
#cart-btn:hover{background:#ffd552;transform:translateY(-2px)}
#cart-count{background:#16324f}

#hero{min-height:650px;display:flex;align-items:center;text-align:left;padding:clamp(4rem,8vw,7rem) clamp(1rem,5vw,5rem);overflow:hidden;background:linear-gradient(128deg,#0d2138 0%,#16324f 55%,#28496f 100%)}
#hero::before{content:"";position:absolute;width:600px;height:600px;right:-130px;top:-180px;border-radius:50%;background:radial-gradient(circle,rgba(255,199,44,.2),transparent 67%)}
#hero::after{background:linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px);background-size:44px 44px;mask-image:linear-gradient(to right,transparent,#000)}
.hero-shell{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(360px,.95fr);align-items:center;gap:clamp(3rem,7vw,7rem);width:min(1240px,100%);margin:auto}
.hero-copy{max-width:660px}
.hero-eyebrow{display:inline-flex;align-items:center;gap:.45rem;color:#ffd75f;background:rgba(255,199,44,.1);border:1px solid rgba(255,199,44,.24);border-radius:999px;padding:.42rem .78rem;font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;margin-bottom:1.35rem}
#hero-title{font-family:var(--font-body);font-size:clamp(2.7rem,5vw,5rem);line-height:.98;letter-spacing:-.055em;margin:0 0 1.35rem;text-wrap:balance}
#hero-subtitle{max-width:590px;margin:0 0 2rem;color:#c6d3e3;font-size:clamp(1rem,1.4vw,1.15rem);line-height:1.7}
.hero-actions{display:flex;align-items:center;gap:1.2rem;flex-wrap:wrap}
#hero-cta{display:inline-flex;align-items:center;gap:.65rem;background:#ffc72c;color:#0d2138;padding:1rem 1.35rem;border-radius:999px;box-shadow:0 14px 30px rgba(5,18,32,.3);font-size:.92rem}
#hero-cta:hover{background:#ffd75f;transform:translateY(-3px);box-shadow:0 18px 36px rgba(5,18,32,.36)}
.hero-secondary{color:#fff;font-size:.9rem;font-weight:650;border-bottom:1px solid rgba(255,255,255,.4);padding:.45rem 0}
.hero-proof{display:flex;gap:1.2rem;flex-wrap:wrap;margin-top:2rem;color:#aebed0;font-size:.79rem}
.hero-proof span{display:flex;align-items:center;gap:.35rem}.hero-proof .icon{color:#ffc72c}
.hero-showcase{position:relative;min-height:430px;display:grid;place-items:center}
.hero-showcase::before{content:"";position:absolute;inset:7%;border-radius:48% 52% 46% 54%;background:linear-gradient(145deg,#edf1f5,#b9c8d8);transform:rotate(-7deg);box-shadow:0 35px 80px rgba(0,0,0,.25)}
.hero-orbit{position:absolute;border:1px solid rgba(255,215,95,.2);border-radius:50%}.orbit-one{inset:0}.orbit-two{inset:13%;transform:rotate(18deg)}
#hero-product-image{position:relative;z-index:2;width:86%;height:370px;display:grid;place-items:center;filter:drop-shadow(0 24px 22px rgba(7,25,20,.28))}
#hero-product-image img{width:100%;height:100%;object-fit:contain;animation:hero-arrive .7s cubic-bezier(.2,.75,.3,1) both}
.hero-placeholder{display:grid;place-items:center;width:170px;height:170px;border-radius:50%;background:rgba(255,255,255,.5);color:#526c87}.hero-placeholder .icon{width:70px;height:70px}
.hero-float-card,.hero-quality{position:absolute;z-index:3;background:rgba(255,255,255,.94);color:#16324f;box-shadow:0 16px 40px rgba(4,19,34,.22);backdrop-filter:blur(8px)}
.hero-float-card{left:-1rem;bottom:1.4rem;display:flex;flex-direction:column;max-width:230px;padding:1rem 1.15rem;border-radius:15px}
.hero-float-card span{color:#708078;font-size:.67rem;text-transform:uppercase;letter-spacing:.09em}.hero-float-card strong{font-size:.91rem;margin-top:.22rem;line-height:1.25}
.hero-quality{right:-.5rem;top:2.5rem;display:flex;align-items:center;gap:.65rem;padding:.75rem 1rem;border-radius:999px}.hero-quality>.icon{color:#d39d00;width:1.5rem;height:1.5rem}.hero-quality span{display:flex;flex-direction:column}.hero-quality small{font-size:.62rem;color:#77818c}.hero-quality strong{font-size:.78rem}
@keyframes hero-arrive{from{opacity:0;transform:translateY(18px) scale(.96)}to{opacity:1;transform:none}}

.trust-strip{position:relative;z-index:4;display:grid;grid-template-columns:repeat(4,1fr);width:min(1160px,calc(100% - 2rem));margin:-38px auto 1rem;padding:1.15rem 1.4rem;background:#fff;border:1px solid #e0e5eb;border-radius:18px;box-shadow:0 18px 50px rgba(13,33,56,.1)}
.trust-item{display:flex;align-items:center;gap:.75rem;padding:.3rem 1rem;border-right:1px solid #e3e8ee;color:#52677c}.trust-item:last-child{border:0}.trust-item>.icon{width:1.6rem;height:1.6rem;color:#d39d00}.trust-item span{display:flex;flex-direction:column}.trust-item strong{color:#16324f;font-size:.82rem}.trust-item small{color:#7a8794;font-size:.68rem;margin-top:.12rem}

.section{max-width:1240px;padding:4.5rem 1.5rem}.section-kicker{text-align:center;color:#bb8900;font-size:.71rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase;margin-bottom:.5rem}.section-title{font-family:var(--font-body);font-size:clamp(1.75rem,3vw,2.55rem);font-weight:800;letter-spacing:-.045em;color:#16324f}.section-sub{margin-top:.65rem;margin-bottom:2.4rem;color:#78838f}
#categories-grid{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:.9rem}
.cat-card{border:1px solid #e0e5eb;border-radius:18px;padding:1.2rem .7rem;background:#fff;box-shadow:0 8px 25px rgba(13,33,56,.05);transition:.25s}
.cat-card:hover{transform:translateY(-6px);border-color:#e1bc4c;box-shadow:0 18px 35px rgba(13,33,56,.12)}
.cat-card.active{border-color:#e6ac00;background:#fff9e7;box-shadow:0 10px 25px rgba(230,172,0,.13)}
.cat-image{width:76px;height:76px;background:#f0f3f6;border-radius:16px;margin-bottom:.8rem}.cat-label{color:#28496f;font-size:.84rem}
#products-grid,#pecas-grid{grid-template-columns:repeat(auto-fill,minmax(245px,1fr));gap:1.3rem}
.product-card{border:1px solid #e1e6ec;border-radius:20px;background:#fff;box-shadow:0 10px 30px rgba(13,33,56,.06);transition:.28s cubic-bezier(.2,.7,.3,1)}
.product-card:hover{transform:translateY(-7px);border-color:#cbd4de;box-shadow:0 22px 45px rgba(13,33,56,.14)}
.product-img{background:linear-gradient(145deg,#f7f8fa,#edf1f5);aspect-ratio:1/.9}
.product-img::after{content:"Ver detalhes";position:absolute;right:.75rem;bottom:.75rem;background:rgba(22,50,79,.94);color:#fff;padding:.42rem .7rem;border-radius:999px;font-size:.67rem;font-weight:700;opacity:0;transform:translateY(6px);transition:.2s}
.product-card:hover .product-img::after{opacity:1;transform:none}
.product-img img{padding:.65rem;transition:transform .45s cubic-bezier(.2,.7,.3,1)}
.product-card:hover .product-img img{transform:scale(1.045)}
.product-badge{top:.8rem;left:.8rem;background:#ffc72c;border-radius:999px;padding:.38rem .65rem;color:#0d2138}
.product-body{padding:1.1rem 1.15rem 1.2rem;gap:.5rem}.product-name{font-size:.95rem;color:#2d3c4b}.product-price{font-size:1.45rem;color:#16324f}.product-unit{margin-top:-.45rem}.wholesale-tag{background:#edf3f9;color:#284f78;border-radius:999px;padding:.38rem .6rem}
.add-to-cart{display:flex;align-items:center;justify-content:center;gap:.45rem;background:#16324f;border-radius:999px;padding:.72rem;margin-top:.2rem;transition:.2s}.add-to-cart:hover{background:#28496f;transform:translateY(-1px)}
#sobre{background:#102a46;color:#fff;border:0}.about-text #about-title{color:#fff;font-family:var(--font-body);font-size:clamp(2rem,3vw,3rem);letter-spacing:-.045em}.about-text p{color:#bcc9d7;line-height:1.75}.stat-box{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.1);border-radius:18px}.stat-num{color:#ffc72c}.stat-label{color:#bdcad8}
footer{background:#091a2d;color:#91a2b5;padding:2.7rem 1.5rem}

@media(max-width:1000px){
  .hero-shell{grid-template-columns:1fr .8fr;gap:2rem}.hero-showcase{min-height:360px}#hero-product-image{height:310px}
  .trust-strip{grid-template-columns:repeat(2,1fr)}.trust-item:nth-child(2){border-right:0}.trust-item:nth-child(-n+2){border-bottom:1px solid #e3e8ee;padding-bottom:.8rem}.trust-item:nth-child(n+3){padding-top:.8rem}
}
@media(max-width:760px){
  #navbar{padding:.7rem 1rem}.logo::before{width:34px;height:34px}.hero-shell{grid-template-columns:1fr}.hero-copy{text-align:center}.hero-eyebrow{margin-inline:auto}#hero{padding:4rem 1rem 5rem;min-height:auto}#hero-title{font-size:clamp(2.45rem,12vw,3.5rem)}#hero-subtitle{margin-inline:auto}.hero-actions,.hero-proof{justify-content:center}.hero-showcase{min-height:340px;margin-top:1rem}#hero-product-image{height:300px}.hero-float-card{left:0}.hero-quality{right:0}
  .trust-strip{margin-top:-28px;padding:.9rem}.trust-item{padding:.65rem!important}.trust-item small{display:none}
  .section{padding:3.5rem 1rem}#categories-grid{display:flex}.cat-card{flex:0 0 135px;scroll-snap-align:start}#products-grid,#pecas-grid{gap:.8rem!important}.product-body{padding:.85rem}.product-price{font-size:1.15rem}.product-img{height:auto}.add-to-cart{font-size:.78rem}
}
@media(max-width:480px){
  #announce{font-size:.61rem}.logo{max-width:58vw}.hero-showcase{min-height:285px}#hero-product-image{height:245px}.hero-quality{top:1rem}.hero-float-card{bottom:.5rem;max-width:185px}.hero-proof{gap:.7rem}.hero-secondary{font-size:.82rem}.trust-strip{grid-template-columns:1fr 1fr}.trust-item{gap:.45rem}.trust-item>.icon{width:1.25rem}.trust-item strong{font-size:.7rem}
  #products-grid,#pecas-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.product-name{font-size:.82rem}.wholesale-tag{font-size:.62rem}.product-img::after{display:none}
}
