    :root{
      --cor:#830064;
      --cor-2:#a1007b;
      --cor-3:#f6e7f1;
      --bg:#f7f7fb;
      --txt:#1f2430;
      --muted:#6b7280;
      --line:#e8e8f0;
      --success:#0f8a4b;
      --danger:#b42318;
      --card-shadow:0 10px 28px rgba(16,24,40,.06);
      --radius:20px;
      --header-h:74px;
      --site-max:1200px;
      --site-gap:14px;
    }

    *{box-sizing:border-box}
    html{scroll-behavior:smooth}
    body{margin:0;background:var(--bg);font-family:'Poppins',sans-serif;color:var(--txt)}
    img{max-width:100%;display:block}
    button,input,textarea,select{font:inherit}

    .header{
      position:sticky;top:0;z-index:30;height:var(--header-h);
      display:grid;grid-template-columns:160px minmax(320px,1fr) auto;
      align-items:center;gap:12px;
      width:min(var(--site-max), calc(100% - (var(--site-gap) * 2)));
      margin:0 auto;
      padding:12px 16px;background:rgba(255,255,255,.94);backdrop-filter:blur(12px);
      border-bottom:1px solid var(--line)
    }
    .logo{height:42px;width:auto;max-width:160px;object-fit:contain;flex-shrink:0}
    .header .input-shell{min-width:0;width:100%}
    .header-actions{display:flex;gap:10px;justify-self:end}
    .icon-btn{
      width:42px;height:42px;border-radius:12px;border:1px solid var(--line);background:#fff;
      display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 4px 12px rgba(0,0,0,.04)
    }

    .hero{
      width:min(var(--site-max), calc(100% - (var(--site-gap) * 2)));
      margin:10px auto 0;border-radius:8px;padding:0;min-height:0;position:relative;overflow:hidden;
      background:transparent;color:#fff
    }
    .hero::after{display:none}
    .hero-inner{display:none}
    .hero h1{margin:0;font-size:30px;line-height:1.1;max-width:900px}
    .hero p{margin:10px 0 0;opacity:.96;max-width:760px}
    .hero{padding:0;min-height:clamp(180px,30vw,320px);background:#fff;border:1px solid var(--line)}
    .hero-slider{position:relative;width:100%;height:100%;min-height:clamp(180px,30vw,320px);border-radius:8px;overflow:hidden;background:#fff}
    .hero-slide{position:absolute;inset:0;opacity:0;transition:opacity .45s ease}
    .hero-slide.active{opacity:1}
    .hero-slide img{width:100%;height:100%;object-fit:cover;display:block}
    .hero-nav{position:absolute;top:50%;transform:translateY(-50%);width:42px;height:42px;border:none;border-radius:999px;background:rgba(255,255,255,.92);box-shadow:0 8px 18px rgba(0,0,0,.12);cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:22px;color:#333;z-index:2}
    .hero-nav.prev{left:14px}
    .hero-nav.next{right:14px}
    .hero-dots{position:absolute;left:50%;bottom:14px;transform:translateX(-50%);display:flex;gap:8px;z-index:2}
    .hero-dot{width:10px;height:10px;border-radius:999px;border:none;background:rgba(255,255,255,.75);cursor:pointer;padding:0}
    .hero-dot.active{width:26px;background:#fff}
    .banner-slots{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
    .banner-slot{border:1px solid var(--line);border-radius:8px;padding:14px;background:#fbfbfe}
    .banner-slot-preview{aspect-ratio:16/6;border-radius:8px;border:1px dashed #d5d9e3;background:#f6f7fb;overflow:hidden;display:flex;align-items:center;justify-content:center;color:#98a2b3;font-size:13px;text-align:center;padding:12px}
    .banner-slot-preview img{width:100%;height:100%;object-fit:cover}
    .banner-slot-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
    .category-chip{padding:6px 11px;border-radius:999px;font-size:12px;font-weight:600;line-height:1.1;min-height:34px;display:inline-flex;align-items:center;justify-content:center}
    .category-chip.secondary{padding:6px 11px}


    .topbar{
      display:grid;grid-template-columns:1fr;gap:10px;
      width:min(var(--site-max), calc(100% - (var(--site-gap) * 2)));
      margin-left:auto;margin-right:auto;
      padding:12px 0 6px
    }
    .input-shell,.select-shell{
      display:flex;align-items:center;gap:10px;background:#fff;border:1px solid var(--line);
      border-radius:16px;padding:12px 14px;box-shadow:0 4px 12px rgba(0,0,0,.03)
    }
    .input-shell input,.select-shell select,.field input,.field textarea,.field select{
      width:100%;border:none;outline:none;background:transparent
    }
    .topbar-right{display:flex;gap:12px;flex-wrap:wrap}

    .trust-bar{display:none}.trust-card{display:none}.trust-item{display:none}

    .section-wrap{
      width:min(var(--site-max), calc(100% - (var(--site-gap) * 2)));
      margin-left:auto;margin-right:auto;
      padding:4px 0 16px
    }
    .section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:8px 0 14px}
    .section-head h3{margin:0;font-size:22px}
    .section-head .muted{font-size:13px;color:var(--muted)}

    .products{
      display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;align-items:start
    }
    .card{
      width:100%;min-width:0;background:#fff;border:1px solid var(--line);border-radius:14px;padding:12px;box-shadow:var(--card-shadow);
      display:flex;flex-direction:column;gap:10px;min-height:100%
    }
    .card-cover{position:relative}
    .card-cover img{width:100%;aspect-ratio:3/4;object-fit:cover;border-radius:10px;background:#f1f2f7;cursor:pointer}
    .fav-btn{
      position:absolute;top:10px;right:10px;border:none;background:rgba(255,255,255,.95);border-radius:999px;
      padding:8px 10px;cursor:pointer;box-shadow:0 8px 18px rgba(0,0,0,.08)
    }
    .card-top{display:flex;align-items:center;justify-content:space-between;gap:8px}
    .badges{display:flex;flex-wrap:wrap;gap:6px}
    .badge{
      display:inline-flex;align-items:center;padding:2px 7px;border-radius:999px;font-size:10px;font-weight:600;
      background:#f3e8ff;color:#6b21a8;letter-spacing:.1px
    }
    .badge.promo{background:#ffe7e7;color:#b42318}
    .badge.social{background:#eef6ff;color:#175cd3}
    .badge.category{background:#f3f4f6;color:#374151}
    .card h4{
      margin:0;font-size:16px;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
      min-height:42px
    }
    .rating-row,.viewing-row{font-size:12px;color:#556070}
    .viewing-row{display:flex;align-items:center;gap:6px}
    .card p{
      margin:0;color:var(--muted);font-size:13px;line-height:1.45;white-space:pre-line;
      display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;min-height:74px
    }
    .price-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:auto}
    .price-box{display:flex;flex-direction:column;gap:2px}
    .old-price{font-size:12px;color:#9ca3af;text-decoration:line-through}
    .price{font-size:20px;font-weight:700;color:var(--cor)}
    .qty-box{display:flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:12px;padding:6px 8px;background:#fff}
    .qty-box button,.cart-qty button{width:28px;height:28px;border:none;border-radius:8px;background:#f2f3f8;cursor:pointer}
    .card-actions{display:flex;gap:8px;margin-top:8px}
    .primary,.secondary,.ghost,.danger{
      border-radius:14px;padding:11px 14px;cursor:pointer;font-weight:600;border:1px solid transparent
    }
    .primary{background:var(--cor);color:#fff}
    .secondary{background:#fff;color:var(--cor);border-color:var(--cor)}
    .ghost{background:#fff;color:#111;border-color:var(--line)}
    .danger{background:#fff;color:var(--danger);border-color:#f5c9c7}
    .full-btn{width:100%}

    .mini-cart{
      position:fixed;right:18px;bottom:18px;z-index:25;background:var(--cor);color:#fff;border:none;border-radius:999px;
      padding:12px 16px;display:flex;align-items:center;gap:10px;box-shadow:0 14px 28px rgba(131,0,100,.28);cursor:pointer
    }
    .mini-cart.hidden{display:none}
    .cart-count{min-width:22px;height:22px;border-radius:999px;background:#fff;color:var(--cor);display:inline-flex;align-items:center;justify-content:center;font-size:12px;font-weight:700}
    .cart-bounce{animation:cartBounce .35s ease}
    @keyframes cartBounce{0%{transform:scale(1)}35%{transform:scale(1.1)}100%{transform:scale(1)}}

    .overlay{position:fixed;inset:0;background:rgba(0,0,0,.34);display:none;z-index:39}
    .drawer{
      position:fixed;top:0;right:0;z-index:40;width:390px;max-width:100%;height:100%;background:#fff;display:none;
      box-shadow:-14px 0 32px rgba(0,0,0,.14);overflow:hidden
    }
    .drawer-head{position:sticky;top:0;background:#fff;border-bottom:1px solid var(--line);padding:16px 18px;display:flex;align-items:center;justify-content:space-between;z-index:2}
    .drawer-body{height:calc(100% - 74px);overflow:auto;padding:18px}
    .cart-item{background:#fbfbfe;border:1px solid var(--line);border-radius:18px;padding:12px;margin-bottom:12px}
    .cart-item textarea{width:100%;margin-top:8px;min-height:64px;border:1px solid var(--line);border-radius:12px;padding:10px 12px;resize:vertical}
    .cart-qty{display:flex;align-items:center;gap:8px;margin-top:8px}

    .modal{
      position:fixed;inset:0;z-index:50;background:rgba(17,24,39,.55);display:none;align-items:center;justify-content:center;padding:16px
    }
    #adminModal{z-index:60}
    #receiptModal{z-index:9999}
    #receiptModal .modal-box{position:relative;z-index:10000}
    .modal-box{background:#fff;border-radius:24px;box-shadow:0 24px 60px rgba(0,0,0,.18);width:min(980px,100%);max-height:92vh;overflow:auto;padding:20px}
    .modal-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
    .product-layout{display:grid;grid-template-columns:1fr 1fr;gap:22px}
    .main-photo{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:18px;background:#f0f2f7}
    .thumbs{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}
    .thumbs img{width:82px;height:82px;object-fit:cover;border-radius:12px;border:2px solid transparent;cursor:pointer}
    .thumbs img.active{border-color:var(--cor)}
    .field{display:grid;gap:8px}
    .field input,.field textarea,.field select{border:1px solid var(--line);border-radius:14px;padding:12px 14px;background:#fff}
    .field textarea{min-height:86px;resize:vertical}
    .grid2{display:grid;grid-template-columns:1fr 1fr;gap:12px}
    .grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}

    .admin-shell{display:grid;grid-template-columns:280px 1fr;gap:20px}
    .admin-sidebar{background:linear-gradient(180deg,#5b0044,#830064);color:#fff;border-radius:24px;padding:18px}
    .admin-nav{display:grid;gap:8px}
    .admin-nav button{border:none;background:rgba(255,255,255,.14);color:#fff;padding:12px 14px;border-radius:14px;text-align:left;cursor:pointer}
    .admin-nav button.active{background:#fff;color:var(--cor)}
    .admin-main{display:grid;gap:16px}
    .admin-card{background:#fff;border:1px solid var(--line);border-radius:22px;padding:18px;box-shadow:var(--card-shadow)}
    .admin-grid{display:grid;grid-template-columns:420px 1fr;gap:18px}
    .admin-list-item{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;padding:12px 0;border-bottom:1px solid var(--line)}
    .admin-list-item:last-child{border-bottom:none}
    .metric-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
    .metric{background:#fff;border:1px solid var(--line);border-radius:20px;padding:16px;box-shadow:var(--card-shadow)}
    .metric .n{font-size:28px;font-weight:700;color:var(--cor)}

    .footer{
      margin-top:18px;background:#111827;color:#fff;padding:26px 20px;border-top:1px solid rgba(255,255,255,.08)
    }
    .footer-grid{
      display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:18px;
      width:min(var(--site-max), calc(100% - (var(--site-gap) * 2)));
      margin:0 auto
    }
    .footer h4{margin:0 0 10px;font-size:15px}
    .footer p,.footer a{margin:0;color:#d1d5db;font-size:13px;text-decoration:none}
    .footer-social{display:flex;gap:10px;margin-top:12px}
    .footer-social img{width:28px;height:28px}
    .footer-bottom{
      width:min(var(--site-max), calc(100% - (var(--site-gap) * 2)));
      margin:18px auto 0;padding-top:14px;border-top:1px solid rgba(255,255,255,.08);
      display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap
    }

    .empty{text-align:center;padding:26px;color:var(--muted)}
    .small{font-size:13px;color:var(--muted)}
    .muted{color:var(--muted)}
    .success{color:var(--success)}
    .error{color:var(--danger)}
    .mt12{margin-top:12px}
    .mb8{margin-bottom:8px}
    .row{display:flex;align-items:center;gap:10px}
    .between{justify-content:space-between}
    .wrap{flex-wrap:wrap}

    @media (max-width:980px){
      .product-layout,.admin-grid,.grid2,.grid3,.footer-grid,.admin-shell,.metric-grid{grid-template-columns:1fr}
      .topbar{grid-template-columns:1fr}
      .products{grid-template-columns:repeat(3,minmax(0,1fr))}
    }
    @media (max-width:860px){
      .header{
        padding:12px 14px;grid-template-columns:auto 1fr auto;gap:10px;
        width:calc(100% - 24px);margin:0 auto;
      }
      .hero,.topbar,.section-wrap,.footer-grid,.footer-bottom{
        width:calc(100% - 24px);margin-left:auto;margin-right:auto;
      }
      .hero{margin-top:10px}
      #heroSlides img{aspect-ratio:2.4/1;border-radius:14px}
      .products{grid-auto-flow:column;grid-auto-columns:260px;grid-template-columns:none;overflow-x:auto;overflow-y:hidden;padding-bottom:8px}
      .card{min-width:260px}
      .footer{padding:24px 14px}
      .header-actions{gap:8px}
      .icon-btn{width:40px;height:40px}
    }
  

.share-row{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}

/* travamento visual tipo marketplace */
@media (min-width:861px){
  .hero,.topbar,.section-wrap,.footer-grid,.footer-bottom{
    width:min(var(--site-max), calc(100% - (var(--site-gap) * 2))) !important;
    margin-left:auto !important;
    margin-right:auto !important;
  }

  .header{
    width:min(var(--site-max), calc(100% - (var(--site-gap) * 2))) !important;
    margin-left:auto !important;
    margin-right:auto !important;
  }

  .products{
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    justify-content:stretch !important;
  }

  .card{
    width:100% !important;
    min-width:0 !important;
  }
}




/* ajuste mobile para categorias em formato de lista */
@media (max-width:860px){
  .topbar{
    width:calc(100% - 24px) !important;
    margin:10px auto 0 !important;
    padding:0 !important;
    background:transparent !important;
    border-radius:0 !important;
  }

  #categoryQuickBar{
    display:flex !important;
    align-items:center !important;
    gap:16px !important;
    padding:0 2px 10px !important;
    overflow-x:auto !important;
    overflow-y:hidden !important;
    white-space:nowrap !important;
    scrollbar-width:none;
    background:transparent !important;
    border-bottom:1px solid #e5e7eb;
  }

  #categoryQuickBar::-webkit-scrollbar{
    display:none;
  }

  .category-chip,
  .category-chip.secondary{
    background:transparent !important;
    border:none !important;
    box-shadow:none !important;
    padding:0 !important;
    min-height:auto !important;
    border-radius:0 !important;
    font-size:15px !important;
    font-weight:600 !important;
    color:#6871a4 !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:flex-start !important;
    gap:6px !important;
    white-space:nowrap !important;
  }

  .category-chip.active{
    color:#830064 !important;
    font-weight:700 !important;
  }
}



/* ===== layout topo marketplace ===== */
body{
  background:#fff !important;
}

.top-gradient-shell{
  position:relative;
  padding-bottom:22px;
  background:linear-gradient(180deg,
    var(--cor) 0%,
    var(--cor) 52%,
    rgba(131,0,100,.28) 76%,
    rgba(131,0,100,0) 100%);
}

.top-gradient-shell .header{
  background:transparent !important;
  border-bottom:none !important;
  box-shadow:none !important;
  backdrop-filter:none !important;
  padding-top:14px !important;
  padding-bottom:10px !important;
}

.top-gradient-shell .logo{
  height:46px;
  max-width:180px;
}

.top-gradient-shell .input-shell{
  background:#fff !important;
  border:1px solid rgba(255,255,255,.18) !important;
  box-shadow:0 10px 24px rgba(0,0,0,.08) !important;
}

.top-gradient-shell .icon-btn{
  background:#fff !important;
  border:1px solid rgba(255,255,255,.16) !important;
  box-shadow:0 8px 18px rgba(0,0,0,.08) !important;
}

.topbar{
  width:min(var(--site-max), calc(100% - 28px)) !important;
  margin:0 auto !important;
  padding:0 0 6px !important;
  background:transparent !important;
  box-shadow:none !important;
  border-radius:0 !important;
}

#categoryQuickBar{
  display:flex !important;
  flex-wrap:nowrap !important;
  align-items:center !important;
  gap:14px !important;
  padding:0 2px !important;
  overflow-x:auto !important;
  overflow-y:hidden !important;
  white-space:nowrap !important;
  scrollbar-width:none;
  background:transparent !important;
  border:none !important;
}
#categoryQuickBar::-webkit-scrollbar{display:none;}
#categoryQuickBar > *{flex:0 0 auto !important;}

#categoryQuickBar button,
#categoryQuickBar .category-chip,
#categoryQuickBar .secondary,
#categoryQuickBar .ghost,
#categoryQuickBar a{
  background:transparent !important;
  border:none !important;
  box-shadow:none !important;
  border-radius:0 !important;
  padding:0 !important;
  min-height:auto !important;
  width:auto !important;
  color:#fff !important;
  font-size:15px !important;
  font-weight:500 !important;
  line-height:1.15 !important;
  display:inline-flex !important;
  align-items:center !important;
  gap:4px !important;
  opacity:.96;
}

#categoryQuickBar .active,
#categoryQuickBar button[aria-current="true"],
#categoryQuickBar .category-chip.active{
  font-weight:700 !important;
  text-decoration:underline !important;
  text-underline-offset:4px;
}

.hero{
  width:min(var(--site-max), calc(100% - 28px)) !important;
  margin:12px auto 0 !important;
  background:transparent !important;
  border:none !important;
  box-shadow:none !important;
}

.hero-slider{
  border-radius:24px !important;
  box-shadow:0 18px 40px rgba(0,0,0,.14);
}

.hero-slide img{
  border-radius:24px !important;
}

.how-to-order-section{
  width:min(var(--site-max), calc(100% - 28px));
  margin:18px auto 0;
  position:relative;
  z-index:2;
}

.how-to-order-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
}

.how-card{
  background:#fff;
  border:1px solid rgba(255,255,255,.32);
  border-radius:18px;
  padding:16px 14px 14px;
  box-shadow:0 14px 28px rgba(16,24,40,.10);
  min-height:150px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
}

.how-card-icon{
  width:34px;
  height:34px;
  border-radius:999px;
  background:rgba(131,0,100,.10);
  color:var(--cor);
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:700;
  margin-bottom:10px;
}

.how-card h4{
  margin:0 0 6px;
  font-size:18px;
  line-height:1.15;
  color:#1f2430;
}

.how-card p{
  margin:0;
  font-size:13px;
  line-height:1.45;
  color:#5f6b7a;
}

.footer-mini-guide{
  display:none !important;
}

@media (min-width:861px){
  .top-gradient-shell .header{
    grid-template-columns:160px minmax(380px,1fr) auto !important;
    gap:14px !important;
  }

  #categoryQuickBar{
    gap:18px !important;
  }

  #categoryQuickBar button,
  #categoryQuickBar .category-chip,
  #categoryQuickBar .secondary,
  #categoryQuickBar .ghost,
  #categoryQuickBar a{
    font-size:16px !important;
  }
}

@media (max-width:860px){
  .top-gradient-shell{
    padding-bottom:18px;
    background:linear-gradient(180deg,
      var(--cor) 0%,
      var(--cor) 48%,
      rgba(131,0,100,.30) 78%,
      rgba(131,0,100,0) 100%);
  }

  .top-gradient-shell .header{
    width:calc(100% - 24px) !important;
    margin:0 auto !important;
    padding-top:12px !important;
    padding-bottom:8px !important;
    grid-template-columns:auto 1fr auto !important;
    gap:10px !important;
  }

  .top-gradient-shell .logo{
    height:42px;
    max-width:84px;
  }

  .topbar,
  .hero,
  .how-to-order-section{
    width:calc(100% - 24px) !important;
  }

  #categoryQuickBar{
    gap:12px !important;
    padding:0 2px 4px !important;
  }

  #categoryQuickBar button,
  #categoryQuickBar .category-chip,
  #categoryQuickBar .secondary,
  #categoryQuickBar .ghost,
  #categoryQuickBar a{
    font-size:14px !important;
  }

  .hero{
    margin-top:10px !important;
  }

  .hero-slider,
  .hero-slide img{
    border-radius:18px !important;
  }

  .how-to-order-grid{
    grid-template-columns:repeat(4,minmax(72px,1fr));
    gap:8px;
  }

  .how-card{
    min-height:116px;
    padding:12px 9px 10px;
    border-radius:14px;
  }

  .how-card-icon{
    width:28px;
    height:28px;
    margin-bottom:8px;
    font-size:12px;
  }

  .how-card h4{
    font-size:13px;
    margin-bottom:4px;
  }

  .how-card p{
    font-size:10px;
    line-height:1.3;
  }
}


/* ===== topo com degradê + categorias + como pedir ===== */
body{
  background:#fff !important;
}

.top-gradient-shell{
  position:relative;
  padding-top:0;
  padding-bottom:32px;
  background:
    linear-gradient(180deg,
      var(--cor) 0%,
      var(--cor) 58%,
      rgba(131,0,100,.20) 78%,
      rgba(131,0,100,0) 100%);
}

.top-gradient-shell .header{
  background:transparent !important;
  border-bottom:none !important;
  box-shadow:none !important;
  backdrop-filter:none !important;
  padding-top:14px !important;
  padding-bottom:10px !important;
}

.top-gradient-shell .logo{
  height:46px;
  max-width:180px;
}

.top-gradient-shell .input-shell{
  background:#fff !important;
  border:1px solid rgba(255,255,255,.18) !important;
  box-shadow:0 10px 24px rgba(0,0,0,.08) !important;
}

.top-gradient-shell .icon-btn{
  background:#fff !important;
  border:1px solid rgba(255,255,255,.16) !important;
  box-shadow:0 8px 18px rgba(0,0,0,.08) !important;
}

.top-gradient-shell .hero{
  border:none !important;
  box-shadow:none !important;
  margin-top:6px !important;
}

.topbar{
  width:min(var(--site-max), calc(100% - 28px)) !important;
  margin:10px auto 0 !important;
  padding:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  border-radius:0 !important;
}

#categoryQuickBar{
  display:flex !important;
  flex-wrap:nowrap !important;
  align-items:center !important;
  gap:18px !important;
  overflow-x:auto !important;
  overflow-y:hidden !important;
  white-space:nowrap !important;
  padding:0 2px !important;
  scrollbar-width:none;
  background:transparent !important;
  border:none !important;
}
#categoryQuickBar::-webkit-scrollbar{display:none}
#categoryQuickBar > *{flex:0 0 auto !important}

.category-chip,
.category-chip.secondary,
#categoryQuickBar button{
  background:transparent !important;
  border:none !important;
  box-shadow:none !important;
  border-radius:0 !important;
  padding:0 !important;
  min-height:auto !important;
  width:auto !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  white-space:nowrap !important;
  color:#fff !important;
  font-size:16px !important;
  font-weight:500 !important;
  line-height:1.1 !important;
  opacity:.92;
}

.category-chip.active,
#categoryQuickBar .active{
  font-weight:700 !important;
  opacity:1;
  text-decoration:underline;
  text-decoration-thickness:2px;
  text-underline-offset:5px;
}

.how-to-order{
  width:min(var(--site-max), calc(100% - 28px));
  margin:18px auto 0;
}

.how-to-order-inner{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:16px;
  align-items:stretch;
}

.how-card{
  min-height:138px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  padding:18px 16px;
  box-shadow:0 10px 26px rgba(16,24,40,.08);
}

.how-card-icon{
  width:40px;
  height:40px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:rgba(131,0,100,.10);
  color:var(--cor);
  font-weight:700;
  font-size:16px;
  margin-bottom:12px;
}

.how-card h4{
  margin:0 0 8px;
  font-size:18px;
  line-height:1.15;
  color:#1f2430;
}

.how-card p{
  margin:0;
  font-size:13px;
  line-height:1.45;
  color:#5f6b7a;
}

@media (max-width:860px){
  .top-gradient-shell{
    padding-bottom:22px;
    background:
      linear-gradient(180deg,
        var(--cor) 0%,
        var(--cor) 62%,
        rgba(131,0,100,.20) 82%,
        rgba(131,0,100,0) 100%);
  }

  .topbar{
    width:calc(100% - 24px) !important;
    margin:10px auto 0 !important;
  }

  #categoryQuickBar{
    gap:16px !important;
    padding:0 2px !important;
  }

  .category-chip,
  .category-chip.secondary,
  #categoryQuickBar button{
    font-size:15px !important;
    font-weight:600 !important;
  }

  .how-to-order{
    width:calc(100% - 24px);
    margin:16px auto 0;
  }

  .how-to-order-inner{
    grid-template-columns:repeat(4, minmax(220px, 1fr));
    overflow-x:auto;
    overflow-y:hidden;
    padding-bottom:6px;
    scrollbar-width:none;
  }
  .how-to-order-inner::-webkit-scrollbar{display:none}

  .how-card{
    min-height:132px;
    padding:16px 14px;
  }

  .how-card h4{
    font-size:16px;
  }

  .how-card p{
    font-size:12px;
  }
}



/* topo com degradê e categorias em lista */
.top-stage{
  background: linear-gradient(180deg, var(--cor) 0%, var(--cor) 48%, rgba(131,0,100,.22) 78%, rgba(131,0,100,0) 100%);
  padding-top: 10px;
  padding-bottom: 18px;
}

.top-stage .header{
  background: transparent;
  border-bottom: none;
  box-shadow: none;
}

.top-stage .hero{
  border: none;
  box-shadow: 0 12px 28px rgba(16,24,40,.08);
}

.topbar{
  position: relative;
  z-index: 2;
  padding: 10px 0 0 !important;
  background: transparent !important;
}

#categoryQuickBar{
  display:flex;
  align-items:center;
  gap:18px;
  flex-wrap:nowrap;
  overflow-x:auto;
  overflow-y:hidden;
  white-space:nowrap;
  scrollbar-width:none;
  padding: 0 0 8px;
}

#categoryQuickBar::-webkit-scrollbar{display:none;}

#categoryQuickBar > *{flex:0 0 auto;}

#categoryQuickBar button,
#categoryQuickBar .category-chip,
#categoryQuickBar .secondary,
#categoryQuickBar .ghost,
#categoryQuickBar a{
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: rgba(255,255,255,.86) !important;
  padding: 0 !important;
  border-radius: 0 !important;
  min-height: auto !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  line-height: 1.1 !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  text-decoration:none !important;
}

#categoryQuickBar .active,
#categoryQuickBar button[aria-current="true"],
#categoryQuickBar .category-chip.active{
  color:#fff !important;
  font-weight:700 !important;
  text-decoration: underline !important;
  text-underline-offset: 6px;
  text-decoration-thickness: 2px;
}

.how-to-order-section{
  width:min(var(--site-max), calc(100% - (var(--site-gap) * 2)));
  margin: 14px auto 0;
  position: relative;
  z-index: 2;
}

.how-to-order-grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap:14px;
}

.how-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  padding:16px 16px 14px;
  box-shadow:0 10px 20px rgba(16,24,40,.06);
  min-height:160px;
}

.how-card-icon{
  width:42px;
  height:42px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(131,0,100,.08);
  color: var(--cor);
  font-weight:700;
  font-size:18px;
  margin-bottom:12px;
}

.how-card h4{
  margin:0 0 8px;
  font-size:16px;
  line-height:1.2;
}

.how-card p{
  margin:0;
  color:var(--muted);
  font-size:14px;
  line-height:1.45;
}

@media (max-width:980px){
  .how-to-order-grid{grid-template-columns: repeat(2, minmax(0,1fr));}
}

@media (max-width:860px){
  .top-stage{
    padding-top: 8px;
    padding-bottom: 14px;
  }

  .topbar{
    padding-top: 8px !important;
  }

  #categoryQuickBar{
    gap:14px;
    padding:0 0 8px;
  }

  #categoryQuickBar button,
  #categoryQuickBar .category-chip,
  #categoryQuickBar .secondary,
  #categoryQuickBar .ghost,
  #categoryQuickBar a{
    font-size:14px !important;
  }

  .how-to-order-section{
    width:calc(100% - 24px);
    margin-top:12px;
  }

  .how-to-order-grid{
    grid-template-columns: repeat(4, 220px);
    gap:12px;
    overflow-x:auto;
    overflow-y:hidden;
    padding-bottom:6px;
    scrollbar-width:none;
  }

  .how-to-order-grid::-webkit-scrollbar{display:none;}

  .how-card{
    min-height:150px;
  }
}


/* ===== ajuste final: filtros funcionais + como pedir visível ===== */
.how-to-order,
.how-to-order-section{
  width:min(var(--site-max), calc(100% - 28px));
  margin:18px auto 0;
  position:relative;
  z-index:2;
}

.how-to-order-inner,
.how-to-order-grid{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:14px;
}

.topbar{
  position:relative;
  z-index:3;
}

#categoryQuickBar{
  display:flex !important;
  flex-wrap:nowrap !important;
  align-items:center !important;
  gap:16px !important;
  overflow-x:auto !important;
  overflow-y:hidden !important;
  white-space:nowrap !important;
  scrollbar-width:none;
}

#categoryQuickBar::-webkit-scrollbar{
  display:none;
}

#categoryQuickBar > *{
  flex:0 0 auto !important;
}

#categoryQuickBar .category-chip{
  background:transparent !important;
  border:none !important;
  box-shadow:none !important;
  border-radius:0 !important;
  padding:0 !important;
  min-height:auto !important;
  width:auto !important;
  color:#ffffff !important;
  font-size:15px !important;
  font-weight:600 !important;
  opacity:.95;
  text-decoration:none !important;
}

#categoryQuickBar .category-chip.active{
  font-weight:700 !important;
  text-decoration:underline !important;
  text-underline-offset:4px;
  opacity:1;
}

#categoryQuickBar .category-chip.secondary{
  opacity:1;
}

@media (max-width:860px){
  .how-to-order,
  .how-to-order-section{
    width:calc(100% - 24px) !important;
    margin:14px auto 0 !important;
  }

  .how-to-order-inner,
  .how-to-order-grid{
    grid-template-columns:repeat(4, minmax(0, 1fr)) !important;
    gap:8px !important;
  }

  .how-card{
    min-height:unset !important;
    padding:10px 8px !important;
    border-radius:12px !important;
  }

  .how-card-icon{
    width:24px !important;
    height:24px !important;
    margin-bottom:6px !important;
    font-size:11px !important;
  }

  .how-card h4{
    font-size:11px !important;
    line-height:1.15 !important;
    margin:0 0 4px !important;
  }

  .how-card p{
    font-size:9px !important;
    line-height:1.2 !important;
  }

  #categoryQuickBar{
    gap:14px !important;
    padding:0 2px 6px !important;
  }

  #categoryQuickBar .category-chip{
    font-size:14px !important;
  }
}
