.shop-panel {
  margin: 20px 0;
  padding: 22px;
  border: 1px solid rgba(148, 163, 184, .2);
  border-radius: 24px;
  background: #111c2e;
}
.shop-panel[hidden] { display: none !important; }
.shop-panel [hidden] { display: none !important; }
.shop-panel-heading, .shop-row, .shop-card-actions, .shop-cart-line, .shop-order-heading {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.shop-panel-heading h2 { margin: 4px 0 0; }
.shop-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin-top: 18px; }
.shop-card { overflow: hidden; border: 1px solid rgba(148,163,184,.2); border-radius: 18px; background: #0f172a; }
.shop-card-image { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; background: #1e293b; }
.shop-card-placeholder { display: grid; place-items: center; width: 100%; aspect-ratio: 4/3; color: #94a3b8; background: #1e293b; }
.shop-card-body { padding: 16px; }
.shop-card-body h3 { margin: 0 0 8px; }
.shop-price { color: #fb923c; font-size: 1.3rem; font-weight: 800; }
.shop-stock { color: #94a3b8; font-size: .88rem; }
.shop-toolbar { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0; }
.shop-toolbar button { width: auto; margin: 0; }
.shop-cart { margin-top: 20px; padding: 18px; border: 1px solid rgba(249,115,22,.35); border-radius: 18px; background: rgba(15,23,42,.72); }
.shop-cart-line { padding: 10px 0; border-bottom: 1px solid rgba(148,163,184,.15); }
.shop-cart-line input { width: 76px; margin: 0; }
.shop-checkout-grid, .shop-director-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.shop-checkout-grid .shop-wide, .shop-director-grid .shop-wide { grid-column: 1 / -1; }
.shop-checkout-section { margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(148,163,184,.18); }
.shop-order-card, .shop-director-card { margin: 14px 0; padding: 16px; border: 1px solid rgba(148,163,184,.2); border-radius: 16px; background: rgba(15,23,42,.65); }
.shop-admin-images { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.shop-admin-image { position: relative; width: 92px; }
.shop-admin-image img { width: 92px; height: 72px; object-fit: cover; border-radius: 10px; }
.shop-admin-image button { margin: 4px 0 0; padding: 6px; font-size: .75rem; }
.shop-status { display: inline-block; padding: 5px 9px; border-radius: 999px; background: #334155; font-size: .8rem; font-weight: 700; }
.shop-order-details { margin: 12px 0; padding: 12px; border-radius: 12px; background: rgba(15,23,42,.75); }
.shop-order-details p { margin: 6px 0; overflow-wrap: anywhere; }
.shop-order-details ul { margin: 8px 0; padding-left: 20px; }
.shop-empty { padding: 28px; text-align: center; color: #94a3b8; }
.shop-parcel-search > small { display: block; margin-top: 6px; color: #94a3b8; }
.shop-parcel-results { max-height: 320px; margin-top: 10px; overflow-y: auto; border: 1px solid rgba(56,189,248,.38); border-radius: 14px; background: #0f172a; }
.shop-parcel-option { display: flex; width: 100%; margin: 0; padding: 13px 14px; flex-direction: column; align-items: flex-start; gap: 4px; border: 0; border-bottom: 1px solid rgba(148,163,184,.16); border-radius: 0; text-align: left; background: transparent; }
.shop-parcel-option:last-child { border-bottom: 0; }
.shop-parcel-option:hover, .shop-parcel-option:focus-visible { background: rgba(37,99,235,.24); }
.shop-parcel-option span { color: #cbd5e1; font-size: .9rem; font-weight: 500; }
.shop-selected-locker { display: flex; margin-top: 10px; padding: 14px; flex-direction: column; gap: 5px; border: 2px solid #22c55e; border-radius: 14px; background: rgba(34,197,94,.1); }
.shop-selected-locker span { color: #dbeafe; }
@media (max-width: 768px) {
  .shop-panel { padding: 16px; border-radius: 18px; }
  .shop-panel-heading { align-items: flex-start; }
  .shop-checkout-grid, .shop-director-grid { grid-template-columns: 1fr; }
  .shop-checkout-grid .shop-wide, .shop-director-grid .shop-wide { grid-column: auto; }
  .shop-cart-line { align-items: flex-start; flex-wrap: wrap; }
  .shop-card-actions { align-items: stretch; flex-direction: column; }
}
