:root{
  --bg:#ffffff;
  --panel:#ffffff;
  --text:#1c1c2a;
  --muted:#5f6278;
  --line:rgba(28,28,42,.12);
  --accent:#ff7a00;
  --accent-2:#ffcc00;
  --accent-3:#00b7ff;
  --green:#2dd36f;
  --danger:#ef4444;
  --nav-bg:#7b4efc;
  --nav-bg-2:#5c2dff;
  --nav-pill:#ffffff;
  --shadow:0 12px 34px rgba(42,20,84,.12);
  --radius:20px;
}

*{box-sizing:border-box}

body{
  margin:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background:var(--bg);
  color:var(--text);
}

.hidden{display:none!important}

.wrap{
  max-width:1280px;
  margin:0 auto;
  padding:0 16px;
}

.header{
  position:sticky;
  top:0;
  z-index:40;
  background:rgba(255,249,240,.95);
  backdrop-filter:blur(12px);
  border-bottom:1px solid rgba(123,78,252,.10);
}

.header-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  min-height:92px;
  padding-top:14px;
  padding-bottom:14px;
  flex-wrap:wrap;
}
.institutional-bar{
  background:#fff7f0;
  border-bottom:1px solid rgba(0,0,0,.06);
}

.institutional-bar .wrap{
  padding:10px 0;
}

.institutional-bar p{
  margin:0;
  font-size:14px;
  font-weight:600;
  color:#5a3a00;
  text-align:center;
}
.brand-block{
  display:flex;
  align-items:center;
  gap:14px;
  min-width:0;
}

.brand-logo-slot{
  width:82px;
  height:82px;
  border-radius:22px;
  background:#ffffff;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  flex:0 0 auto;
}

.brand-logo-img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
}

.brand-copy{
  min-width:0;
}

.brand{
  margin:0;
  font-size:32px;
  line-height:1.04;
  letter-spacing:-.02em;
}

.sub{
  margin:6px 0 0;
  color:var(--muted);
  font-size:15px;
}

.header-actions{
  display:flex;
  align-items:center;
  gap:10px;
}

.header-nav-shell{
  background:linear-gradient(90deg, var(--nav-bg) 0%, var(--nav-bg-2) 100%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08);
}

/* BLOCO: menu principal */
.main-category-nav{
  display:flex;
  gap:10px;
  align-items:stretch;
  min-height:60px;
  overflow-x:auto;
  overflow-y:hidden;
  padding:10px 0 8px;
  scrollbar-width:none;
  -webkit-overflow-scrolling:touch;
}

.main-category-nav::-webkit-scrollbar{
  display:none;
}

.main-category-btn{
  position:relative;
  flex:0 0 auto;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.10);
  color:#fff;
  min-height:48px;
  padding:8px 14px;
  border-radius:15px;
  font:inherit;
  font-weight:900;
  font-size:14px;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  backdrop-filter:blur(8px);
  box-shadow:0 8px 20px rgba(31, 13, 78, .10);
  transition:
    transform .18s ease,
    background .18s ease,
    border-color .18s ease,
    color .18s ease,
    box-shadow .18s ease;
}


.main-category-btn-label{
  position:relative;
  z-index:1;
  display:block;
  max-width:170px;
  white-space:normal;
  text-align:center;
  line-height:1.1;
}

.main-category-btn-indicator{
  width:8px;
  height:8px;
  border-radius:999px;
  background:rgba(255,255,255,.42);
  transition:
    transform .18s ease,
    background .18s ease,
    opacity .18s ease;
}

.main-category-btn:hover{
  transform:translateY(-2px);
  background:rgba(255,255,255,.18);
  border-color:rgba(255,255,255,.28);
  box-shadow:0 14px 24px rgba(28, 12, 69, .16);
}

.main-category-btn:hover .main-category-btn-indicator{
  background:#ffffff;
  transform:scale(1.15);
}

.main-category-btn.is-active{
  background:#ffffff;
  color:#38208f;
  border-color:#ffffff;
  box-shadow:0 14px 26px rgba(20, 10, 60, .18);
}

.main-category-btn.is-active .main-category-btn-indicator{
  background:var(--accent);
}

/* BLOCO: submenu */
.sub-category-nav{
  padding:0 0 10px;
  opacity:0;
  transform:translateY(-4px);
  transition:
    opacity .18s ease,
    transform .18s ease;
}

.sub-category-nav.is-open{
  opacity:1;
  transform:translateY(0);
}

.sub-category-panel{
  display:flex;
  flex-wrap:nowrap;
  gap:8px;
  padding:10px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:16px;
  background:rgba(255,255,255,.10);
  backdrop-filter:blur(10px);
  box-shadow:0 12px 28px rgba(23, 10, 58, .14);
  overflow-x:auto;
  overflow-y:hidden;
  scrollbar-width:none;
  -webkit-overflow-scrolling:touch;
}

.sub-category-panel::-webkit-scrollbar{
  display:none;
}

.sub-category-btn{
  flex:0 0 auto;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(255,255,255,.08);
  color:#fff;
  border-radius:999px;
  padding:8px 12px;
  font:inherit;
  font-size:13px;
  font-weight:800;
  white-space:nowrap;
  cursor:pointer;
  transition:
    transform .16s ease,
    background .16s ease,
    border-color .16s ease,
    color .16s ease,
    box-shadow .16s ease;
}

.sub-category-btn:hover{
  transform:translateY(-1px);
  background:rgba(255,255,255,.92);
  border-color:rgba(255,255,255,.92);
  color:#38208f;
  box-shadow:0 8px 16px rgba(20, 10, 60, .12);
}

.sub-category-btn.is-active{
  background:#ffffff;
  border-color:var(--accent);
  color:#2c1a76;
  box-shadow:inset 0 0 0 2px rgba(255,122,0,.18);
}
/* BLOCO: estados hover/active */
.header-nav-shell:hover .main-category-btn:not(.is-active){
  background:rgba(255,255,255,.12);
}

.header-nav-shell:hover .sub-category-btn:not(.is-active){
  opacity:1;
}

.main-category-btn:focus-visible,
.sub-category-btn:focus-visible{
  outline:none;
  box-shadow:
    0 0 0 3px rgba(255,255,255,.22),
    0 0 0 6px rgba(0,0,0,.08);
}

.main-category-btn:active,
.sub-category-btn:active{
  transform:translateY(0);
}
/* BLOCO: animações */
@keyframes menuFadeSlideIn {
  from {
    opacity:0;
    transform:translateY(-8px);
  }
  to {
    opacity:1;
    transform:translateY(0);
  }
}

@keyframes menuSoftRise {
  from {
    opacity:.92;
    transform:translateY(2px);
  }
  to {
    opacity:1;
    transform:translateY(0);
  }
}

.main-category-btn{
  animation:menuSoftRise .18s ease both;
}

.sub-category-panel{
  animation:menuFadeSlideIn .18s ease both;
}

.toolbar,
.statusbar,
.fallback,
.card,
.dialog{
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}

.toolbar{
  display:flex;
  gap:12px;
  align-items:center;
  padding:14px;
  margin:20px 0 14px;
  flex-wrap:wrap;
}

.toolbar-main{
  position:relative;
}

.search,
textarea{
  width:100%;
  padding:13px 16px;
  border-radius:16px;
  border:1px solid rgba(123,78,252,.15);
  font:inherit;
  background:#fff;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.7);
}

.search{
  flex:1;
  min-width:260px;
}

.statusbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:12px 14px;
  margin-bottom:14px;
  color:var(--muted);
  font-weight:800;
  flex-wrap:wrap;
}

.catalog-shell{
  min-height:320px;
}

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

@media (max-width:1180px){
  .grid{grid-template-columns:repeat(3, minmax(0,1fr))}
}

@media (max-width:780px){
  .grid{grid-template-columns:repeat(2, minmax(0,1fr))}
}

@media (max-width:520px){
  .grid{
    grid-template-columns:1fr;
  }

  .header-top{
    padding-top:12px;
    padding-bottom:12px;
  }

  .header-actions,
  .header-actions .btn{
    width:100%;
  }

  .main-category-nav{
    min-height:64px;
    padding:10px 0 8px;
    gap:10px;
  }

  .main-category-btn{
    min-height:44px;
    padding:0 14px;
    font-size:14px;
    border-radius:14px;
  }

  .main-category-btn-indicator{
    width:7px;
    height:7px;
  }

  .sub-category-nav{
    padding-bottom:12px;
  }

  .sub-category-panel{
    padding:10px;
    gap:8px;
    border-radius:14px;
  }

  .sub-category-btn{
    font-size:13px;
    padding:9px 12px;
  }

  .card-title{
    min-height:auto;
  }

  .card-price{
    font-size:22px;
  }

  .icon-btn{
    width:40px;
    height:40px;
  }
}

.card{
  overflow:hidden;
  display:flex;
  flex-direction:column;
  background:#ffffff;
  border-radius:20px;
  box-shadow:0 8px 18px rgba(20,10,60,.06);
  transition:
    transform .18s ease,
    box-shadow .18s ease;
}
.card:hover{
  transform:translateY(-4px);
  box-shadow:0 18px 32px rgba(20,10,60,.12);
}

.card.is-recently-added{
  box-shadow:
    0 0 0 2px rgba(255,122,0,.22),
    0 14px 28px rgba(42,20,84,.16);
  transform:translateY(-2px);
  transition:box-shadow .22s ease, transform .22s ease;
}

.card-image{
  position:relative;
  aspect-ratio:1 / 1;
  background:#f5f6f8;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:14px;
}

.card-image img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
  filter:none;
}

.card-actions{
  display:none;
}

.card-body{
  position:relative;
  padding:14px 14px 16px;
  display:flex;
  flex-direction:column;
  gap:10px;
  background:#ffffff;
}

.card-title{
  font-size:15px;
  font-weight:800;
  line-height:1.3;
  color:#2a2d3a;
  min-height:42px;
}

.card-price{
  font-size:26px;
  font-weight:1000;
  color:#ff7a00;
  text-align:center;
}

.card-price-row{
  position:relative;
  display:grid;
  grid-template-columns:1fr 56px;
  align-items:center;
  gap:12px;
  min-height:48px;
}

.icon-btn{
  width:42px;
  height:42px;
  border:none;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#ffffff;
  color:var(--nav-bg-2);
  box-shadow:0 8px 18px rgba(44,22,96,.12);
  font:inherit;
  font-size:20px;
  font-weight:1000;
  cursor:pointer;
  transition:transform .15s ease, filter .15s ease;
}

.icon-btn-add:hover{
  transform:translateY(-2px) scale(1.05);
  filter:brightness(1.05);
}
.icon-btn-add:active{
  transform:scale(.92);
}

.icon-btn-add{
  position:relative;
  right:auto;
  bottom:auto;
  width:56px;
  height:48px;
  border-radius:16px;
  background:linear-gradient(135deg,#2dd36f,#20b45a);
  color:#fff;
  font-size:22px;
  box-shadow:0 10px 18px rgba(45,211,111,.25);
}

.icon-btn-badge{
  position:absolute;
  top:-4px;
  right:-3px;
  min-width:18px;
  height:18px;
  padding:0 4px;
  border-radius:999px;
  background:var(--accent);
  color:#fff;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:11px;
  font-weight:900;
  line-height:1;
}

.card-image > .icon-btn.js-details{
  position:absolute;
  right:12px;
  bottom:12px;
}

.pager{
  display:flex;
  gap:10px;
  justify-content:center;
  padding:22px 0 28px;
}

.btn{
  border:1px solid var(--line);
  background:#fff;
  color:var(--text);
  border-radius:16px;
  padding:11px 16px;
  font:inherit;
  font-weight:900;
  cursor:pointer;
  transition:filter .15s ease, opacity .15s ease, transform .15s ease;
}

.btn:hover{filter:brightness(.98)}

.btn:disabled{
  opacity:.5;
  cursor:not-allowed;
}

.btn-dark{
  background:#101223;
  color:#fff;
  border-color:#101223;
}

.btn-green{
  background:var(--green);
  color:#06240f;
  border-color:rgba(6,36,15,.12);
}

.btn-soft{
  background:linear-gradient(180deg,#fff 0%,#fff4d8 100%);
  border-color:rgba(255,122,0,.18);
}

.btn.is-loading{
  opacity:.85;
}

.fallback{
  padding:20px;
  margin-top:18px;
}

.dialog{
  width:min(760px, 92vw);
  padding:0;
}

.dialog::backdrop{
  background:rgba(19,12,45,.46);
}

.dialog-head,
.dialog-foot{
  padding:14px 16px;
  border-bottom:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}

.dialog-foot{
  border-bottom:none;
  border-top:1px solid var(--line);
}

.dialog-body{
  padding:16px;
  max-height:70vh;
  overflow:auto;
}

.dialog.is-busy .dialog-body{
  opacity:.82;
}

.dialog.is-busy .dialog-foot,
.dialog.is-busy .dialog-head{
  background:#fcfcfd;
}

.dialog-head-main{
  display:flex;
  flex-direction:column;
  gap:4px;
}

.dialog-head-main h2{
  margin:0;
}

.dialog-head-sub{
  margin:0;
  color:var(--muted);
  font-size:14px;
  line-height:1.4;
}

.dialog-details{
  width:min(920px, 94vw);
}

.details-empty{
  color:var(--muted);
}

.details-box{
  display:grid;
  grid-template-columns:minmax(0, 360px) minmax(0,1fr);
  gap:22px;
  align-items:start;
}

.details-media{
  border:1px solid rgba(123,78,252,.12);
  border-radius:18px;
  background:#f3f4f6;
  padding:16px;
}

.details-media img{
  width:100%;
  max-height:420px;
  object-fit:contain;
  display:block;
  filter:none;
}

.details-main{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.details-title{
  margin:0;
  font-size:28px;
  line-height:1.12;
}

.details-price{
  margin:0;
  font-size:28px;
  font-weight:1000;
  color:var(--accent);
}

.details-meta{
  display:grid;
  gap:10px;
}

.details-meta-item{
  padding:10px 12px;
  border:1px solid rgba(123,78,252,.10);
  border-radius:14px;
  background:#fff9ec;
}

.details-meta-label{
  display:block;
  font-size:12px;
  font-weight:900;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:var(--muted);
  margin-bottom:4px;
}

.details-meta-value{
  display:block;
  font-size:14px;
  line-height:1.5;
  color:var(--text);
}

.details-description{
  border-top:1px solid var(--line);
  padding-top:14px;
}

.details-description h3{
  margin:0 0 10px;
  font-size:16px;
}

.details-description-content{
  color:var(--text);
  line-height:1.6;
  font-size:14px;
  word-break:break-word;
}

.details-description-content p{
  margin:0 0 12px;
}

.details-description-content p:last-child{
  margin-bottom:0;
}

.details-description-content ul,
.details-description-content ol{
  margin:0 0 12px 20px;
  padding:0;
}

.details-description-content li{
  margin-bottom:6px;
}

.details-description-content strong{
  font-weight:900;
}

.details-description-content img{
  max-width:100%;
  height:auto;
}

.details-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  padding-top:6px;
}

.details-add-btn{
  min-width:220px;
  font-weight:900;
}

.dialog-customer{
  width:min(640px, 92vw);
}

.dialog-body-customer{
  display:flex;
  flex-direction:column;
  gap:16px;
}

.checkout-progress{
  display:flex;
  align-items:center;
  gap:10px;
  padding:12px 14px;
  border:1px solid rgba(123,78,252,.12);
  border-radius:16px;
  background:linear-gradient(180deg, #ffffff 0%, #fff8e6 100%);
}

.checkout-progress-step{
  display:flex;
  align-items:center;
  gap:10px;
  color:var(--muted);
  min-width:0;
}

.checkout-progress-step.is-active{
  color:var(--text);
}

.checkout-progress-number{
  width:28px;
  height:28px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:13px;
  font-weight:900;
  border:1px solid rgba(123,78,252,.16);
  background:#fff;
  flex:0 0 auto;
}

.checkout-progress-step.is-active .checkout-progress-number{
  background:var(--nav-bg-2);
  color:#fff;
  border-color:var(--nav-bg-2);
}

.checkout-progress-text{
  font-size:14px;
  font-weight:800;
  white-space:nowrap;
}

.checkout-progress-line{
  flex:1;
  height:1px;
  background:var(--line);
  min-width:24px;
}

.checkout-step{
  display:block;
}

.checkout-step-card{
  display:flex;
  flex-direction:column;
  gap:16px;
  padding:18px;
  border:1px solid rgba(123,78,252,.10);
  border-radius:16px;
  background:#fff;
}

.checkout-step-copy{
  display:flex;
  flex-direction:column;
  gap:6px;
}

.checkout-step-copy h3{
  margin:0;
  font-size:20px;
  line-height:1.2;
}

.checkout-step-eyebrow{
  margin:0;
  font-size:12px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--accent);
}

.checkout-step-text{
  margin:0;
  color:var(--muted);
  line-height:1.5;
}

.checkout-field{
  display:flex;
  flex-direction:column;
  gap:8px;
}

.checkout-field label{
  font-size:14px;
  font-weight:800;
  color:var(--text);
}

.dialog-foot-customer{
  align-items:flex-end;
}

.dialog-foot-info{
  display:flex;
  flex-direction:column;
  gap:4px;
}

.checkout-step-label{
  font-weight:900;
  color:var(--text);
}

.checkout-step-help{
  color:var(--muted);
  font-size:13px;
  line-height:1.4;
}

.cart-item{
  display:grid;
  grid-template-columns:72px 1fr auto;
  gap:12px;
  align-items:center;
  padding:12px 0;
  border-bottom:1px solid var(--line);
}

.cart-item img{
  width:72px;
  height:72px;
  object-fit:contain;
  background:#fff;
  border:1px solid var(--line);
  border-radius:12px;
}

.cart-item-title{
  font-weight:800;
}

.cart-item-meta{
  font-size:13px;
  color:var(--muted);
}

.cart-item-right{
  display:flex;
  flex-direction:column;
  gap:8px;
  align-items:flex-end;
}

.qty-box{
  display:flex;
  align-items:center;
  gap:8px;
}

.qty-btn{
  width:32px;
  height:32px;
  border-radius:10px;
  border:1px solid var(--line);
  background:#fff;
  font-weight:900;
  cursor:pointer;
}

.cart-note-box{
  margin-top:16px;
  display:flex;
  flex-direction:column;
  gap:8px;
}

.dialog-actions{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}

.empty{
  padding:18px;
  text-align:center;
  color:var(--muted);
  line-height:1.5;
}

#customerFeedback{
  margin-bottom:0;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid var(--line);
  font-weight:700;
  line-height:1.4;
}

#customerFeedback.info{
  background:#ecf8ff;
  border-color:rgba(0,183,255,.22);
  color:#075985;
}

#customerFeedback.success{
  background:#f0fdf4;
  border-color:rgba(34,197,94,.22);
  color:#166534;
}

#customerFeedback.error{
  background:#fef2f2;
  border-color:rgba(239,68,68,.22);
  color:#991b1b;
}

/* BLOCO: microinterações add */

@keyframes addPulse {
  0% { transform:scale(1); }
  40% { transform:scale(1.18); }
  100% { transform:scale(1); }
}

@keyframes badgePop {
  0% { transform:scale(.6); opacity:0; }
  60% { transform:scale(1.2); opacity:1; }
  100% { transform:scale(1); }
}

@keyframes cartPulse {
  0% { transform:scale(1); }
  50% { transform:scale(1.06); }
  100% { transform:scale(1); }
}

/* botão + clicado */
.icon-btn-add.is-adding{
  animation:addPulse .25s ease;
}

/* badge crescendo */
.icon-btn-badge{
  animation:badgePop .25s ease;
}

/* resumo da lista */
#cartSummary.is-updated{
  animation:cartPulse .3s ease;
}

@media (max-width:980px){
  .details-box{
    grid-template-columns:1fr;
  }
}

@media (max-width:700px){
	.header{
    position:static;
    top:auto;
  }

  .header-nav-shell{
    position:static;
  }

  .sub-category-nav{
    opacity:1;
    transform:none;
  }
  .brand{
    font-size:24px;
  }

    .brand-logo-slot{
    width:66px;
    height:66px;
    border-radius:18px;
  }

  .toolbar{
    padding:12px;
  }

  .dialog-head,
  .dialog-foot{
    padding:12px;
  }

  .dialog-body{
    padding:12px;
  }

  .checkout-progress{
    padding:10px 12px;
  }

  .checkout-progress-text{
    font-size:13px;
  }

  .checkout-step-card{
    padding:14px;
  }

  .checkout-step-copy h3{
    font-size:18px;
  }

  .dialog-foot-customer{
    align-items:stretch;
  }

  .dialog-actions{
    width:100%;
  }

  .dialog-actions .btn{
    flex:1 1 auto;
  }

  .details-title{
    font-size:24px;
  }

  .details-price{
    font-size:24px;
  }
}
@media (max-width:520px){
  .grid{
    grid-template-columns:repeat(2, minmax(0,1fr));
    gap:14px;
  }

  .header-top{
    padding-top:12px;
    padding-bottom:12px;
  }

  .header-actions,
  .header-actions .btn{
    width:100%;
  }

  .main-category-nav{
    min-height:64px;
    padding:10px 0 8px;
    gap:10px;
    align-items:stretch;
  }

  .main-category-btn{
    min-height:44px;
    padding:8px 14px;
    font-size:14px;
    border-radius:14px;
  }

  .main-category-btn-label{
    max-width:140px;
    font-size:13px;
    line-height:1.15;
  }

  .main-category-btn-indicator{
    width:7px;
    height:7px;
  }

  .sub-category-nav{
    padding-bottom:12px;
    opacity:1;
    transform:none;
  }

  .sub-category-panel{
    padding:10px;
    gap:8px;
    border-radius:14px;
    background:rgba(255,255,255,.14);
  }

  .sub-category-btn{
    font-size:13px;
    padding:9px 12px;
  }

  .card-body{
    padding:14px 12px 14px;
    gap:10px;
  }

  .card-title{
    min-height:auto;
    font-size:14px;
    line-height:1.25;
    padding-right:0;
  }

  .card-price{
    font-size:21px;
  }

  .card-price-row{
    position:relative;
    display:grid;
    grid-template-columns:1fr;
    align-items:center;
    gap:10px;
    min-height:auto;
    padding-right:0;
  }

  .icon-btn{
    width:40px;
    height:40px;
  }

  .icon-btn-add{
    position:relative;
    right:auto;
    bottom:auto;
    width:100%;
    height:42px;
    border-radius:14px;
    background:linear-gradient(135deg,#2dd36f,#20b45a);
    color:#fff;
    font-size:20px;
    box-shadow:0 10px 18px rgba(45,211,111,.25);
  }

  .icon-btn-badge{
    position:absolute;
    top:-5px;
    right:8px;
    min-width:18px;
    height:18px;
    padding:0 4px;
    border-radius:999px;
    background:var(--accent);
    color:#fff;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    font-size:11px;
    font-weight:900;
    line-height:1;
  }
}

/* =========================
   BOTÃO FIXO MOBILE LISTA
========================= */

.floating-cart-btn{
  position:fixed;
  left:16px;
  right:16px;
  bottom:16px;
  z-index:60;

  height:52px;
  border-radius:16px;
  border:none;

  background:linear-gradient(135deg,#2dd36f,#20b45a);
  color:#06240f;

  font-size:16px;
  font-weight:900;

  display:flex;
  align-items:center;
  justify-content:center;

  box-shadow:0 14px 28px rgba(0,0,0,.18);
  cursor:pointer;

  transition:transform .18s ease, opacity .18s ease;
}

.floating-cart-btn:active{
  transform:scale(.96);
}

/* esconder no desktop */
@media (min-width:701px){
  .floating-cart-btn{
    display:none !important;
  }
}

/* =========================
   SKELETON LOADING
========================= */

.skeleton {
  pointer-events: none;
  overflow: hidden;
}

.skeleton-box {
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    #f2f3f5 0%,
    #e6e8eb 50%,
    #f2f3f5 100%
  );
  background-size: 200% 100%;
  animation: skeletonMove 1.2s infinite;
}

.skeleton-line {
  height: 14px;
  border-radius: 8px;
  background: linear-gradient(
    90deg,
    #f2f3f5 0%,
    #e6e8eb 50%,
    #f2f3f5 100%
  );
  background-size: 200% 100%;
  animation: skeletonMove 1.2s infinite;
}

.skeleton-line.short {
  width: 60%;
}

@keyframes skeletonMove {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.card {
  animation: fadeIn .25s ease;
}

@keyframes fadeIn {
  from {
    opacity:0;
    transform:translateY(6px);
  }
  to {
    opacity:1;
    transform:translateY(0);
  }
}
.card {
  animation: fadeIn .25s ease;
}

@keyframes fadeIn {
  from {
    opacity:0;
    transform:translateY(6px);
  }
  to {
    opacity:1;
    transform:translateY(0);
  }
}

/* =========================
   ANCORA DA GRADE
========================= */

.catalog-shell{
  scroll-margin-top: 140px;
}

#productsGrid{
  scroll-margin-top: 140px;
}

@media (max-width:700px){
  .catalog-shell{
    scroll-margin-top: 12px;
  }

  #productsGrid{
    scroll-margin-top: 12px;
  }
}
/* =========================
   BREADCRUMB
========================= */

.statusbar-left{
  display:flex;
  flex-direction:column;
  gap:6px;
  min-width:0;
}

.breadcrumb-bar{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
  font-size:13px;
  font-weight:800;
  color:var(--muted);
  line-height:1.3;
}

.breadcrumb-item{
  color:#3b2a8f;
}

.breadcrumb-separator{
  color:#9b8ed8;
}

@media (max-width:700px){
  .statusbar-left{
    width:100%;
  }

  .breadcrumb-bar{
    font-size:12px;
  }
}

/* =========================
   BLOCOS DO VER TUDO
========================= */

/* quando o Ver tudo renderiza blocos, o grid pai vira 1 coluna */
#productsGrid:has(.product-block) {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.product-block {
  display: block;
  width: 100%;
  margin-bottom: 28px;
}

.product-block-title {
  font-size: 18px;
  font-weight: 900;
  margin: 0 0 12px;
  padding-left: 6px;
  color: #2a2d3a;
}

.products-grid-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.products-grid-inner .card {
  width: 100%;
  min-width: 0;
}

@media (max-width:1180px) {
  .products-grid-inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width:780px) {
  .products-grid-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width:520px) {
  .products-grid-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
}