.demo-status {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  color: #071a4a;
  background: #f4c20d;
  border-radius: 999px;
  font-size: .62rem;
  font-weight: 900;
  letter-spacing: .08em;
}

.header-action,
.cart-dock button,
.footer-button {
  border: 0;
  font: inherit;
  cursor: pointer;
}

.header-action { background: transparent; }
.cart-dock button { display: flex; flex-direction: column; align-items: center; gap: 5px; color: #071a4a; background: transparent; }
.footer-button { padding: 0; color: inherit; background: transparent; text-align: left; }
.demo-header-actions { margin-left: auto; }

.product-card__media,
.product-title-button,
.market-department {
  width: 100%;
  border: 0;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.product-card__media { border-radius: 0; }
.product-title-button { padding: 0; color: inherit; background: transparent; font-weight: inherit; line-height: inherit; }

.carvalho-slide--market { background-image: url('../img/carvalho-campanha-mercado-v1.png'); }
.carvalho-slide--breakfast { background-image: url('../img/carvalho-campanha-cafe-v1.png'); }
.market-department--meats::before { background-image: url('../img/products-demo/carvalho-demo-157490.jpg'); }
.market-department--cold-cuts::before { background-image: url('../img/products-demo/carvalho-demo-100556.jpg'); }
.market-department--produce::before { background-image: url('../img/products-demo/carvalho-demo-19194.jpg'); }
.market-department--bakery::before { background-image: url('../img/products-demo/carvalho-demo-56440.jpg'); }

.demo-catalog { padding: 52px 0 72px; background: #f5f6f8; }
.demo-catalog__head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.demo-catalog__head h2 { margin: 4px 0 7px; color: #071a4a; font-size: clamp(1.8rem, 4vw, 2.65rem); line-height: 1; }
.demo-catalog__head p { color: #666d7c; }
.demo-catalog__clear { white-space: nowrap; }
.demo-empty { grid-column: 1 / -1; padding: 54px 20px; color: #656b78; background: #fff; border: 1px solid #dfe3e8; text-align: center; }
.demo-note { margin-top: 22px; color: #7b8190; font-size: .75rem; text-align: center; }

.demo-cart-list { display: grid; gap: 10px; }
.demo-cart-item { display: grid; grid-template-columns: 76px minmax(0,1fr) auto auto; align-items: center; gap: 13px; padding: 12px; border: 1px solid #e0e3e8; border-radius: 10px; }
.demo-cart-item__image { width: 76px; height: 76px; padding: 4px; object-fit: contain; background: #f7f6f1; border-radius: 8px; }
.demo-cart-item h3 { margin: 0 0 3px; color: #071a4a; font-size: .88rem; }
.demo-cart-item p { margin: 0; color: #757b88; font-size: .72rem; }
.demo-cart-item__end { display: grid; justify-items: end; gap: 8px; }
.demo-remove { color: #a2262f; background: transparent; border: 0; font-size: .72rem; font-weight: 800; cursor: pointer; }
.demo-cart-summary { display: grid; gap: 13px; padding: 20px; background: #f5f6f8; border-radius: 12px; }
.demo-cart-summary > div { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.demo-cart-summary strong { color: #071a4a; font-size: 1.35rem; }
.demo-cart-layout { display: grid; grid-template-columns: minmax(0,1fr) 260px; align-items: start; gap: 18px; }

.demo-checkout { display: grid; gap: 20px; }
.demo-checkout__intro { padding: 14px 16px; color: #33405b; background: #eef3ff; border-left: 4px solid #0c337a; border-radius: 7px; font-size: .82rem; }
.demo-checkout .selection-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
.demo-address[hidden] { display: none; }
.demo-checkout-summary { padding: 17px; color: #343b4a; background: #f5f6f8; border-radius: 11px; white-space: pre-line; }
.demo-checkout-summary strong { color: #071a4a; }
.demo-whatsapp-result { display: grid; justify-items: center; gap: 14px; padding: 26px 10px 8px; text-align: center; }
.demo-whatsapp-result__icon { width: 68px; height: 68px; display: grid; place-items: center; color: #fff; background: #20b45a; border-radius: 50%; font-size: 2rem; }
.demo-whatsapp-result h3 { margin: 0; color: #071a4a; font-size: 1.5rem; }
.demo-whatsapp-result p { max-width: 480px; color: #666d7c; }

.demo-product-detail { display: grid; grid-template-columns: minmax(220px, .8fr) 1.2fr; gap: 25px; align-items: center; }
.demo-product-detail__media { min-height: 280px; display: grid; place-items: center; padding: 18px; background: #f7f6f1; border-radius: 14px; }
.demo-product-detail__media img { width: 100%; max-height: 300px; object-fit: contain; mix-blend-mode: multiply; }
.demo-product-detail h3 { margin: 8px 0; color: #071a4a; font-size: 1.65rem; line-height: 1.1; }
.demo-product-detail p { color: #686f7e; }
.demo-product-detail .price-block { margin: 22px 0 8px; }

@media (max-width: 820px) {
  .demo-cart-layout { grid-template-columns: 1fr; }
  .demo-catalog__head { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 640px) {
  .topbar__message, .topbar__links .demo-status { display: none; }
  .demo-header-actions .header-action:first-child { display: none; }
  .demo-cart-item { grid-template-columns: 62px minmax(0,1fr) auto; }
  .demo-cart-item__image { width: 62px; height: 62px; }
  .demo-cart-item .quantity-stepper { grid-column: 2; justify-self: start; }
  .demo-cart-item__end { grid-column: 3; grid-row: 1 / span 2; }
  .demo-checkout .selection-grid { grid-template-columns: 1fr; }
  .demo-product-detail { grid-template-columns: 1fr; }
  .demo-product-detail__media { min-height: 210px; }
  .modal__actions { flex-direction: column-reverse; }
  .modal__actions .btn { width: 100%; }
}
