:root {
  --shop-bg: #f7f5f0;
  --shop-card: #ffffff;
  --shop-text: #1b1f27;
  --shop-muted: #6b7280;
  --shop-border: #e9e4d8;
  --shop-dark: #161b22;
  --shop-dark-soft: #232b38;
  --shop-gold: #b8914a;
  --shop-gold-soft: #f6ecd6;
  --shop-danger: #c0392b;
  --shop-success: #1f8a4c;
  --shop-shadow: 0 12px 32px rgba(20, 24, 33, 0.10);
  --shop-shadow-lift: 0 18px 40px rgba(20, 24, 33, 0.16);
  --shop-radius: 20px;
  --shop-radius-sm: 12px;
}

* { box-sizing: border-box; }

.shop-body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: radial-gradient(circle at top left, #fdfbf6, var(--shop-bg) 55%);
  color: var(--shop-text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ---------- Header ---------- */
.shop-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  background: rgba(22, 27, 34, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

.shop-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
  text-decoration: none;
}

.shop-brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--shop-gold), #8f6d2e);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  color: var(--shop-dark);
}

.shop-brand-name {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.shop-cart-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: white;
  text-decoration: none;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  font-weight: 700;
  position: relative;
  transition: transform 0.15s ease, background 0.15s ease;
}

.shop-cart-link:hover { background: rgba(255,255,255,0.16); }
.shop-cart-bump { animation: shopBump 0.4s ease; }

@keyframes shopBump {
  0% { transform: scale(1); }
  30% { transform: scale(1.12); }
  100% { transform: scale(1); }
}

.shop-cart-icon { font-size: 18px; }

.shop-cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--shop-gold);
  color: var(--shop-dark);
  font-size: 11px;
  font-weight: 800;
  min-width: 20px;
  height: 20px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

/* ---------- Main / footer ---------- */
.shop-main {
  flex: 1;
  padding: 36px 32px 64px;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.shop-footer {
  text-align: center;
  padding: 22px;
  color: var(--shop-muted);
  font-size: 13px;
  border-top: 1px solid var(--shop-border);
  background: var(--shop-card);
}

/* ---------- Hero / auth ---------- */
.shop-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  min-height: 60vh;
}

.shop-hero-narrow {
  grid-template-columns: 1fr;
  justify-items: center;
}

.shop-hero-text h1 {
  font-size: 44px;
  line-height: 1.15;
  margin: 0 0 18px;
  font-weight: 800;
  color: var(--shop-dark);
}

.shop-hero-text p {
  font-size: 17px;
  color: var(--shop-muted);
  max-width: 480px;
  line-height: 1.6;
}

.shop-auth-card {
  background: var(--shop-card);
  border-radius: var(--shop-radius);
  padding: 40px;
  box-shadow: var(--shop-shadow-lift);
  border: 1px solid var(--shop-border);
  max-width: 440px;
  width: 100%;
}

.shop-register-card { max-width: 560px; }

.shop-auth-icon { font-size: 34px; margin-bottom: 10px; }

.shop-auth-card h2 {
  margin: 0 0 8px;
  font-size: 24px;
  color: var(--shop-dark);
}

.shop-auth-subtitle {
  color: var(--shop-muted);
  margin: 0 0 24px;
  line-height: 1.5;
}

.shop-auth-form label, .shop-field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--shop-dark);
  margin-bottom: 6px;
}

.shop-auth-form input,
.shop-auth-form textarea,
.shop-field input,
.shop-field textarea {
  width: 100%;
  padding: 13px 14px;
  border-radius: var(--shop-radius-sm);
  border: 1.5px solid var(--shop-border);
  font-size: 15px;
  margin-bottom: 16px;
  background: #fcfbf8;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.shop-auth-form input:focus,
.shop-auth-form textarea:focus,
.shop-field input:focus,
.shop-field textarea:focus {
  outline: none;
  border-color: var(--shop-gold);
  box-shadow: 0 0 0 3px var(--shop-gold-soft);
}

.shop-field input:disabled {
  background: #f1efe9;
  color: var(--shop-muted);
}

.shop-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.shop-field-small { max-width: 120px; }

.shop-btn-primary {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--shop-gold), #8f6d2e);
  color: var(--shop-dark);
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(184, 145, 74, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.shop-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(184, 145, 74, 0.45); }
.shop-btn-primary:active { transform: translateY(0); }
.shop-btn-primary:disabled { opacity: 0.6; cursor: default; transform: none; }

.shop-btn-secondary {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1.5px solid var(--shop-border);
  background: white;
  font-weight: 700;
  cursor: pointer;
  color: var(--shop-dark);
}

.shop-auth-note {
  text-align: center;
  font-size: 13px;
  color: var(--shop-muted);
  margin-top: 18px;
}

.shop-back-link, .shop-clear-link, .shop-switch-link {
  display: inline-block;
  margin-top: 16px;
  color: var(--shop-dark);
  font-weight: 700;
  text-decoration: none;
  font-size: 14px;
}

.shop-back-link:hover, .shop-clear-link:hover, .shop-switch-link:hover { text-decoration: underline; }

.shop-error {
  background: #fdecea;
  color: var(--shop-danger);
  padding: 12px 14px;
  border-radius: var(--shop-radius-sm);
  margin-bottom: 18px;
  font-size: 14px;
  font-weight: 600;
}

/* ---------- Welcome bar / search ---------- */
.shop-welcome-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--shop-gold-soft);
  padding: 12px 20px;
  border-radius: var(--shop-radius-sm);
  margin-bottom: 20px;
  font-size: 14px;
}

.shop-search-bar {
  display: flex;
  gap: 10px;
  margin-bottom: 28px;
  flex-wrap: wrap;
  align-items: center;
}

.shop-search-bar input {
  flex: 1;
  min-width: 240px;
  padding: 13px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--shop-border);
  font-size: 15px;
  background: white;
}

.shop-search-bar input:focus {
  outline: none;
  border-color: var(--shop-gold);
  box-shadow: 0 0 0 3px var(--shop-gold-soft);
}

.shop-search-btn { width: auto; padding: 12px 26px; }

/* ---------- Category grid ---------- */
.shop-section-intro { margin-bottom: 24px; }
.shop-section-intro h1 { font-size: 30px; margin: 0 0 6px; color: var(--shop-dark); }
.shop-section-intro p { color: var(--shop-muted); margin: 0; }

.shop-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
}

.shop-category-card {
  background: var(--shop-card);
  border-radius: var(--shop-radius);
  padding: 28px 22px;
  text-decoration: none;
  color: var(--shop-dark);
  box-shadow: var(--shop-shadow);
  border: 1px solid var(--shop-border);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  position: relative;
  overflow: hidden;
}

.shop-category-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--shop-gold-soft), transparent 60%);
  opacity: 0;
  transition: opacity 0.18s ease;
}

.shop-category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shop-shadow-lift);
  border-color: var(--shop-gold);
}

.shop-category-card:hover::before { opacity: 1; }

.shop-category-name {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 6px;
  position: relative;
}

.shop-category-count {
  font-size: 13px;
  color: var(--shop-muted);
  position: relative;
}

/* ---------- Product grid ---------- */
.shop-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 22px;
}

.shop-product-card {
  background: var(--shop-card);
  border-radius: var(--shop-radius);
  overflow: hidden;
  box-shadow: var(--shop-shadow);
  border: 1px solid var(--shop-border);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  display: flex;
  flex-direction: column;
}

.shop-product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shop-shadow-lift);
}

.shop-product-image-wrap {
  aspect-ratio: 1 / 1;
  background: #f1efe9;
  overflow: hidden;
}

.shop-product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.shop-product-card:hover .shop-product-image { transform: scale(1.04); }

.shop-product-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.shop-product-title {
  font-size: 15px;
  font-weight: 700;
  margin: 0;
  line-height: 1.35;
  color: var(--shop-dark);
  min-height: 40px;
}

.shop-product-price {
  font-size: 18px;
  font-weight: 800;
  color: var(--shop-gold);
  min-height: 22px;
}

.shop-variant-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Visual order only (Size, WIL, Color) - the color/size/wil cascade filtering
   logic in shop-catalog.ejs queries these by class, not DOM position, so
   reordering here doesn't touch how the picker actually works. */
.js-size-step { order: 1; }
.js-wil-step { order: 2; }
.js-color-step { order: 3; }
.shop-variant-message { order: 4; }

.shop-hidden { display: none !important; }

.shop-select {
  width: 100%;
  padding: 9px 10px;
  border-radius: 10px;
  border: 1.5px solid var(--shop-border);
  font-size: 13px;
  background: #fcfbf8;
}

.shop-variant-message {
  font-size: 12px;
  color: var(--shop-muted);
  font-style: italic;
}

.shop-stock-row { font-size: 12px; }

.js-stock-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 11px;
}

.shop-stock-good { background: #e5f6ec; color: var(--shop-success); }
.shop-stock-low { background: #fdecea; color: var(--shop-danger); }

.shop-add-row {
  display: flex;
  gap: 8px;
  margin-top: auto;
  padding-top: 6px;
}

.shop-qty-input {
  width: 60px;
  padding: 10px 8px;
  border-radius: 10px;
  border: 1.5px solid var(--shop-border);
  text-align: center;
  font-size: 14px;
}

.shop-add-btn { flex: 1; padding: 10px; font-size: 13px; }

.shop-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--shop-muted);
  font-size: 15px;
}

.shop-empty a { color: var(--shop-gold); font-weight: 700; }

/* ---------- Pagination ---------- */
.shop-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 32px;
}

.shop-page-btn {
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--shop-dark);
  color: white;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
}

.shop-page-center { color: var(--shop-muted); font-size: 14px; }

/* ---------- Toast ---------- */
.shop-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--shop-dark);
  color: white;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 200;
}

.shop-toast-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ---------- Cart ---------- */
.shop-cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 26px;
}

.shop-cart-header h1 { font-size: 30px; margin: 0; color: var(--shop-dark); }

.shop-cart-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.shop-cart-item {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 16px;
  align-items: center;
  background: var(--shop-card);
  border: 1px solid var(--shop-border);
  border-radius: var(--shop-radius-sm);
  padding: 16px 18px;
  box-shadow: var(--shop-shadow);
}

.shop-cart-item-name { font-weight: 700; color: var(--shop-dark); }
.shop-cart-item-variant { font-size: 12px; color: var(--shop-muted); margin-top: 2px; }
.shop-cart-item-price { font-size: 13px; color: var(--shop-muted); margin-top: 4px; }

.shop-cart-qty-form { display: flex; gap: 8px; align-items: center; }

.shop-cart-item-total { font-weight: 800; color: var(--shop-dark); min-width: 70px; text-align: right; }

.shop-remove-btn {
  background: none;
  border: none;
  font-size: 22px;
  color: var(--shop-danger);
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
}

.shop-cart-summary {
  background: var(--shop-card);
  border-radius: var(--shop-radius);
  padding: 26px;
  border: 1px solid var(--shop-border);
  box-shadow: var(--shop-shadow);
  max-width: 460px;
  margin-left: auto;
}

.shop-cart-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 18px;
  color: var(--shop-dark);
}

.shop-checkout-form label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--shop-dark);
}

.shop-checkout-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--shop-radius-sm);
  border: 1.5px solid var(--shop-border);
  font-size: 14px;
  margin-bottom: 14px;
  resize: vertical;
  font-family: inherit;
}

.shop-checkout-btn { width: 100%; }

/* ---------- Success ---------- */
.shop-success-card {
  max-width: 460px;
  margin: 40px auto;
  text-align: center;
  background: var(--shop-card);
  padding: 44px 32px;
  border-radius: var(--shop-radius);
  box-shadow: var(--shop-shadow-lift);
  border: 1px solid var(--shop-border);
}

.shop-success-icon { font-size: 46px; margin-bottom: 12px; }
.shop-success-card h2 { margin: 0 0 10px; color: var(--shop-dark); }
.shop-success-card p { color: var(--shop-muted); line-height: 1.5; }
.shop-success-note { font-size: 13px; }
.shop-success-btn { margin-top: 20px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .shop-hero { grid-template-columns: 1fr; text-align: center; }
  .shop-hero-text p { margin: 0 auto; }
  .shop-auth-card { margin: 0 auto; }
}

@media (max-width: 640px) {
  .shop-header { padding: 14px 18px; }
  .shop-main { padding: 22px 16px 48px; }
  .shop-hero-text h1 { font-size: 32px; }
  .shop-form-row { grid-template-columns: 1fr; }
  .shop-field-small { max-width: none; }
  .shop-cart-item { grid-template-columns: 1fr; text-align: left; }
  .shop-cart-item-total { text-align: left; }
  .shop-cart-summary { margin-left: 0; }
}

/* ---------- Header account links ---------- */
.shop-header-links {
  display: flex;
  align-items: center;
  gap: 14px;
}

.shop-header-link {
  color: white;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  opacity: 0.9;
}

.shop-header-link:hover { opacity: 1; text-decoration: underline; }

.shop-welcome-links {
  display: flex;
  gap: 16px;
  align-items: center;
}

/* ---------- Method tabs (OTP login) ---------- */
.shop-method-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.shop-method-tab {
  flex: 1;
  text-align: center;
  padding: 10px;
  border-radius: 999px;
  border: 1.5px solid var(--shop-border);
  color: var(--shop-muted);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
}

.shop-method-tab.active {
  background: var(--shop-dark);
  color: white;
  border-color: var(--shop-dark);
}

/* ---------- OTP verify ---------- */
.shop-otp-input {
  letter-spacing: 6px;
  text-align: center;
  font-size: 22px;
  font-weight: 800;
}

.shop-resend-form {
  text-align: center;
  margin-top: 14px;
}

.shop-link-btn {
  background: none;
  border: none;
  color: var(--shop-gold);
  font-weight: 700;
  cursor: pointer;
  font-size: 14px;
  text-decoration: underline;
}

.shop-success-inline {
  background: #e5f6ec;
  color: var(--shop-success);
  padding: 12px 14px;
  border-radius: var(--shop-radius-sm);
  margin-bottom: 18px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

/* ---------- Complete profile ---------- */
.shop-field-missing label {
  color: var(--shop-danger);
}

.shop-field-missing input {
  border-color: var(--shop-danger);
  background: #fdf3f2;
}

/* ---------- Account page ---------- */
.shop-account-header { margin-bottom: 18px; }
.shop-account-header h1 { font-size: 30px; margin: 0 0 4px; color: var(--shop-dark); }
.shop-account-subtitle { color: var(--shop-muted); margin: 0; }

.shop-profile-nudge {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  background: var(--shop-gold-soft);
  border: 1px solid var(--shop-gold);
  border-radius: var(--shop-radius-sm);
  padding: 14px 18px;
  margin-bottom: 22px;
  font-size: 14px;
}

.shop-profile-nudge .shop-btn-secondary {
  width: auto;
  white-space: nowrap;
}

.shop-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.shop-stat-card {
  background: var(--shop-card);
  border: 1px solid var(--shop-border);
  border-radius: var(--shop-radius);
  padding: 20px 22px;
  box-shadow: var(--shop-shadow);
}

.shop-stat-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--shop-muted);
  font-weight: 700;
  margin-bottom: 8px;
}

.shop-stat-value {
  font-size: 28px;
  font-weight: 800;
  color: var(--shop-dark);
}

.shop-stat-warning .shop-stat-value { color: var(--shop-danger); }
.shop-stat-positive .shop-stat-value { color: var(--shop-success); }

.shop-profile-card {
  background: var(--shop-card);
  border: 1px solid var(--shop-border);
  border-radius: var(--shop-radius);
  padding: 22px;
  box-shadow: var(--shop-shadow);
  margin-bottom: 26px;
}

.shop-profile-card h3 { margin: 0 0 14px; font-size: 16px; color: var(--shop-dark); }

.shop-profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin-bottom: 14px;
  font-size: 14px;
}

.shop-profile-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--shop-muted);
  font-weight: 700;
  margin-bottom: 4px;
}

.shop-account-actions {
  display: flex;
  gap: 14px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.shop-account-action-btn {
  width: auto;
  padding: 13px 28px;
}

.shop-history-title {
  font-size: 22px;
  color: var(--shop-dark);
  margin-bottom: 14px;
}

/* ---------- Pending orders (account page) ---------- */
.shop-pending-subtitle {
  margin: -10px 0 16px;
  font-size: 13px;
}

.shop-pending-orders {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}

.shop-pending-card {
  background: var(--shop-card);
  border: 1px solid var(--shop-border);
  border-radius: var(--shop-radius-sm);
  box-shadow: var(--shop-shadow);
  padding: 4px 18px;
}

.shop-pending-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 14px 0;
  cursor: pointer;
  list-style: none;
}

.shop-pending-summary::-webkit-details-marker { display: none; }

.shop-pending-order-no {
  font-weight: 800;
  color: var(--shop-dark);
  margin-right: 10px;
}

.shop-pending-date {
  color: var(--shop-muted);
  font-size: 13px;
}

.shop-pending-summary-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.shop-pending-status {
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.shop-pending-status-open {
  background: var(--shop-gold-soft);
  color: var(--shop-dark);
}

.shop-pending-status-completed {
  background: #e5f6ec;
  color: var(--shop-success);
}

.shop-pending-total {
  font-weight: 800;
  color: var(--shop-dark);
}

.shop-pending-items {
  border-top: 1px solid var(--shop-border);
  padding: 12px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.shop-pending-item {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 14px;
  font-size: 13px;
  color: var(--shop-text);
}

/* ---------- Quote PDF / email actions ---------- */
.shop-quote-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 20px 0;
}

.shop-quote-action-btn,
.shop-pending-action-btn {
  width: auto;
  padding: 10px 18px;
  font-size: 13px;
  white-space: nowrap;
}

.shop-quote-email-form {
  display: inline-flex;
}

.shop-quote-email-inline {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.shop-quote-email-input {
  padding: 10px 12px;
  border-radius: 999px;
  border: 1.5px solid var(--shop-border);
  font-size: 13px;
  width: 200px;
}

.shop-quote-email-input:focus {
  outline: none;
  border-color: var(--shop-gold);
  box-shadow: 0 0 0 3px var(--shop-gold-soft);
}

.shop-pending-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 0 14px;
}

.portal-receipt-pdf-actions {
  margin-top: 12px;
  padding-top: 12px;
  padding-bottom: 0;
  border-top: 1px solid var(--border, #e7e2d8);
}

/* ---------- Edit-order mode on the catalog page ---------- */
.shop-edit-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  background: var(--shop-dark);
  color: white;
  padding: 14px 20px;
  border-radius: var(--shop-radius-sm);
  margin-bottom: 20px;
  font-size: 14px;
}

.shop-edit-banner b { color: var(--shop-gold); }

.shop-edit-banner-btn {
  width: auto;
  padding: 9px 18px;
  font-size: 13px;
}

/* ---------- Order edit page ---------- */
.shop-order-edit-summary {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.shop-add-more-btn {
  width: auto;
  align-self: flex-start;
  padding: 12px 24px;
}

.shop-cancel-order-form {
  align-self: flex-start;
}

.shop-cancel-order-btn {
  background: none;
  border: 1px solid var(--shop-danger);
  color: var(--shop-danger);
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  font-size: 13px;
}

.shop-cancel-order-btn:hover {
  background: var(--shop-danger);
  color: white;
}
