/* DUOFARM THEME (WhatsApp Catalog) */
*{box-sizing:border-box}
html,body{margin:0;padding:0}
:root{
  --duo-green:#25D366;
  --duo-dark:#0f172a;
  --duo-muted:#f6f8fa;
  --duo-border:#e5e7eb;
}
body{font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif;color:var(--duo-dark);background:#fff}
a{color:inherit;text-decoration:none}
.duo-container{max-width:1200px;margin:0 auto;padding:0 16px}
img{max-width:100%;height:auto;display:block}
.btn{display:inline-flex;align-items:center;justify-content:center;font-weight:600;border-radius:.75rem;padding:.8rem 1.1rem;border:1px solid var(--duo-border);background:#fff}
.btn--whatsapp{background:var(--duo-green);border-color:transparent;color:#fff;box-shadow:0 6px 18px rgba(37,211,102,.25);transition:.2s}
.btn--whatsapp:hover{filter:brightness(.95);transform:translateY(-1px)}
.badge{display:inline-flex;align-items:center;gap:.45rem;padding:.35rem .65rem;border-radius:999px;background:var(--duo-muted);font-weight:600;font-size:.9rem}

/* HEADER */
.header{position:sticky;top:0;background:#fff;border-bottom:1px solid var(--duo-border);z-index:20}
.header .wrap{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:10px 0;height:auto}
.header .nav{display:flex;gap:16px;align-items:center}
.header .nav a{opacity:.9}

/* FOOTER */
.footer{background:var(--duo-muted);margin-top:24px;padding:24px 0}
.footer-grid{display:grid;gap:16px;grid-template-columns:1fr}
@media(min-width:900px){.footer-grid{grid-template-columns:1.2fr 1fr 1fr}}
.footer small{opacity:.7}

/* GENERIC GRIDS */
.grid{display:grid;gap:16px}
.grid.cols-2{grid-template-columns:repeat(2,1fr)}
.grid.cols-3{grid-template-columns:repeat(3,1fr)}
.grid.cols-4{grid-template-columns:repeat(4,1fr)}
@media(max-width:900px){.grid.cols-3,.grid.cols-4{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){.grid,.grid.cols-2,.grid.cols-3,.grid.cols-4{grid-template-columns:1fr}}

/* COLLECTION GRID */
.product-card{display:flex;flex-direction:column}
.product-card img{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:12px;background:#f2f2f2}
.product-card .title{font-weight:700;margin:.5rem 0 .25rem;line-height:1.3}

/* PRODUCT PAGE */
.product-area{display:grid;gap:24px;grid-template-columns:1fr}
@media(min-width:992px){.product-area{grid-template-columns:1.05fr .95fr}}
.product-gallery img{border-radius:12px;background:#f2f2f2}
.thumbs{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin-top:10px}
.thumbs img{aspect-ratio:1/1;border-radius:10px;cursor:pointer}

/* Hide any prices / buy UI coming from platform */
.price,.product__price,.product-price,.price--large,.card__price,[class*="price"],.money{display:none !important}
.product-form__buttons,.button--add-to-cart,.btn--buy,.cartx-btn-buy-it-now,.quick-add-button,.cart-icon,.header__cart,.mini-cart,.cart__footer,.cart__checkout,.cart__update{display:none !important}


/* ======= v5: Header mega menu + mobile drawer ======= */
.header{position:sticky;top:0;background:#fff;border-bottom:1px solid var(--duo-border);z-index:50}
.header .wrap{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0}
.nav{display:none;gap:16px;align-items:center}
@media(min-width:1024px){.nav{display:flex}}
.burger{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border:1px solid var(--duo-border);border-radius:10px;background:#fff}
@media(min-width:1024px){.burger{display:none}}

.mega{position:relative}
.mega > button{display:inline-flex;align-items:center;gap:.45rem;border:1px solid var(--duo-border);background:#fff;padding:.6rem .9rem;border-radius:.65rem;font-weight:600}
.mega-panel{position:absolute;left:0;top:calc(100% + 10px);width:min(1000px,92vw);background:#fff;border:1px solid var(--duo-border);border-radius:14px;box-shadow:0 20px 40px rgba(0,0,0,.08);padding:16px;display:none}
.mega:hover .mega-panel{display:block}
.mega-grid{display:grid;gap:16px;grid-template-columns:repeat(3,1fr)}
@media(max-width:1200px){.mega-grid{grid-template-columns:repeat(2,1fr)}}
.mega-col h5{margin:0 0 6px;font-size:1rem}
.mega-col ul{margin:0;padding:0;list-style:none}
.mega-col li{margin:6px 0}
.mega-col a{opacity:.95}

.btn--whatsapp{min-height:44px}

/* Drawer mobile */
.drawer{position:fixed;inset:0;display:none}
.drawer[aria-hidden="false"]{display:block}
.drawer-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.4)}
.drawer-panel{position:absolute;top:0;right:0;width:min(92vw,380px);height:100%;background:#fff;box-shadow:-10px 0 40px rgba(0,0,0,.15);display:flex;flex-direction:column}
.drawer-header{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;border-bottom:1px solid var(--duo-border)}
.drawer-content{padding:14px 16px;overflow:auto}
.drawer-nav a{display:block;padding:10px 0;border-bottom:1px solid #f1f5f9}
.accordion{border-bottom:1px solid #f1f5f9}
.accordion summary{list-style:none;padding:10px 0;cursor:pointer;font-weight:700}
.accordion ul{list-style:none;margin:8px 0 12px 0;padding-left:12px}
.accordion li{margin:6px 0}

/* Mobile polish */
h1{font-size:clamp(24px,5vw,40px)}
h2{font-size:clamp(20px,4vw,28px)}
p, .rte{font-size:clamp(15px,2.6vw,17px)}
.btn{min-height:44px}
.grid{gap:14px}
.product-card .title{font-size:clamp(15px,2.6vw,16px)}
.duo-container{padding:0 14px}
img{border-radius:12px}

/* Keep hiding any price/buy UI */
.price,.product__price,.product-price,.price--large,.card__price,[class*="price"],.money{display:none !important}
.product-form__buttons,.button--add-to-cart,.btn--buy,.cartx-btn-buy-it-now,.quick-add-button,.cart-icon,.header__cart,.mini-cart,.cart__footer,.cart__checkout,.cart__update{display:none !important}
/* ===== v6.2 — layout do topo com botão Produtos ao lado da logo ===== */
.header .wrap{
  display:flex;align-items:center;gap:16px;justify-content:space-between;padding:10px 0
}
.nav-left{display:flex;align-items:center;gap:12px}
.nav-right{margin-left:auto;display:none}
@media(min-width:1024px){.nav-right{display:flex;gap:16px;align-items:center}}

.nav-divider{width:1px;height:28px;background:#e5e7eb;border-radius:1px}

/* Esconde o botão Produtos da barra quando for mobile (usamos o drawer) */
@media(max-width:1023px){
  .nav-divider,.nav-left .mega--products{display:none}
}

/* Mega menu (mantém estilo clean do v6.1) */
.mega{position:relative}
.mega-btn{
  display:inline-flex;align-items:center;gap:.45rem;
  border:1px solid var(--duo-border);background:#fff;
  padding:.6rem .9rem;border-radius:.65rem;font-weight:700;
  transition:color .15s ease,border-color .15s ease,box-shadow .15s ease;
}
.mega-btn:hover,
.mega.is-open .mega-btn{color:var(--duo-green);border-color:#ccecd9;box-shadow:0 6px 18px rgba(37,211,102,.12)}

.mega-panel{
  position:absolute;left:0;top:calc(100% + 10px);
  width:min(1000px,92vw);background:#fff;
  border:1px solid var(--duo-border);border-radius:14px;
  box-shadow:0 20px 40px rgba(0,0,0,.08);padding:16px;display:none;
}
.mega:hover .mega-panel{display:block}
.mega.is-open .mega-panel{display:block}

.mega-grid{display:grid;gap:10px}
.mega-cols-2{grid-template-columns:repeat(2,1fr)}
.mega-cols-3{grid-template-columns:repeat(3,1fr)}
.mega-cols-4{grid-template-columns:repeat(4,1fr)}
.mega-item{
  display:flex;align-items:center;min-height:42px;
  border:1px solid #edf2f7;border-radius:10px;padding:.55rem .7rem;
  font-weight:600;color:#0f172a;background:#fff;
  transition:color .15s ease,border-color .15s ease,transform .1s ease;
}
.mega-item:hover{color:var(--duo-green);border-color:#ccecd9;transform:translateY(-1px)}