.pb-request-summary {
  width: 100%;
}

.pb-request-empty {
  padding: 14px 16px;
  border: 1px dashed #d1d5db;
  border-radius: 10px;
  color: #6b7280;
  font-size: 14px;
}

.pb-request-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pb-request-item {
  display:grid;
  grid-template-columns:72px minmax(0,1fr);
  grid-template-areas:
    "image info"
    "actions actions";
  gap:12px;
  padding:12px;
  border:1px solid #e5e7eb;
  border-radius:12px;
  background:#fff;
}

.pb-request-item.no-image {
  grid-template-columns: minmax(0, 1fr) auto auto;
}

.pb-request-image img {
  display: block;
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 8px;
  background: #f9fafb;
}

.pb-request-name {
  font-size: 15px;
  line-height: 1.25;
  font-weight: 700;
  color: #111827;
  margin: 0 0 3px;
}

.pb-request-sku,
.pb-request-description {
  font-size: 12px;
  line-height: 1.35;
  color: #6b7280;
  margin: 0;
}

.pb-request-qty {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.pb-request-qty button,
.pb-request-remove {
  appearance: none;
  border: 1px solid #d1d5db;
  background: #fff;
  color: #111827;
  border-radius: 999px;
  min-width: 30px;
  height: 30px;
  padding: 0 9px;
  line-height: 1;
  cursor: pointer;
  font-weight: 700;
}

.pb-request-qty-value {
  min-width: 18px;
  text-align: center;
  font-weight: 700;
}

.pb-request-price {
  text-align: right;
  font-size: 14px;
  font-weight: 700;
  color: #111827;
  white-space: nowrap;
}

.pb-request-subtotal {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  font-weight: 400;
  color: #6b7280;
}

.pb-request-remove {
  font-size: 12px;
  color: #991b1b;
}

.pb-request-total {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #e5e7eb;
  font-size: 16px;
}

.pb-cart-toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 999999;
  background: #fff;
  color: #15803d;
  border: 1px solid #bbf7d0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  border-radius: 999px;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 700;
  opacity: 0;
  transform: translateX(120%);
  transition: transform 280ms ease, opacity 280ms ease;
  pointer-events: none;
}

.pb-cart-toast.is-visible {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 767px) {
  .pb-request-item,
  .pb-request-item.no-image {
    grid-template-columns: 56px minmax(0, 1fr);
    align-items: start;
  }

  .pb-request-item.no-image {
    grid-template-columns: minmax(0, 1fr);
  }

  .pb-request-image img {
    width: 56px;
    height: 56px;
  }

  .pb-request-qty,
  .pb-request-price,
  .pb-request-remove {
    grid-column: 2;
    justify-self: start;
  }

  .pb-request-item.no-image .pb-request-qty,
  .pb-request-item.no-image .pb-request-price,
  .pb-request-item.no-image .pb-request-remove {
    grid-column: 1;
  }
}

.pb-request-submitted {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid #bbf7d0;
  border-radius: 10px;
  background: #f0fdf4;
  color: #166534;
  font-size: 14px;
  font-weight: 700;
}

.pb-request-submitted[hidden] {
  display: none !important;
}

.pb-request-clear {
  appearance: none;
  border: 1px solid #86efac;
  background: #fff;
  color: #166534;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.pb-request-button-submitted {
  opacity: 0.7;
  cursor: not-allowed !important;
  pointer-events: auto;
}


.pb-request-button-hidden {
  display: none !important;
}

.pb-request-image{grid-area:image;}
.pb-request-info{grid-area:info;}
.pb-request-actions{
 grid-area:actions;
 display:flex;
 align-items:center;
 justify-content:space-between;
 gap:12px;
 margin-top:8px;
}
.pb-request-actions-right{display:flex;align-items:center;gap:16px;}
.pb-request-remove{margin-right:auto;}
