/* User Admin portal — teal / emerald theme (extends admin-portal layout) */
.ua-portal-theme {
  --adm-violet: #0d9488;
  --adm-indigo: #14b8a6;
  --adm-blue: #06b6d4;
  --adm-top-bg: linear-gradient(90deg, #0f766e 0%, #14b8a6 45%, #f59e0b 100%);
  --adm-side-bg: linear-gradient(180deg, #042f2e 0%, #0f766e 50%, #115e59 100%);
}

.ua-portal-theme .adm-portal-logo-mark {
  background: rgba(255, 255, 255, 0.22);
}

.ua-portal-theme .adm-portal-avatar {
  background: linear-gradient(135deg, #34d399, #0d9488);
}

.ua-portal-theme .adm-portal-logout-btn,
.ua-portal-theme a.adm-portal-logout-btn {
  color: #0f766e !important;
}

.ua-portal-theme .adm-nav-ico--dash { background: linear-gradient(135deg, #2dd4bf, #14b8a6); }
.ua-portal-theme .adm-nav-ico--subs { background: linear-gradient(135deg, #38bdf8, #0284c7); }
.ua-portal-theme .adm-nav-ico--approve { background: linear-gradient(135deg, #fbbf24, #f59e0b); }
.ua-portal-theme .adm-nav-ico--products { background: linear-gradient(135deg, #fb923c, #ea580c); }
.ua-portal-theme .adm-nav-ico--wallets { background: linear-gradient(135deg, #4ade80, #16a34a); }
.ua-portal-theme .adm-nav-ico--settings { background: linear-gradient(135deg, #a78bfa, #7c3aed); }

.ua-portal-theme .adm-portal-nav-item.is-active .adm-nav-ico--dash { background: linear-gradient(135deg, #ccfbf1, #99f6e4); }
.ua-portal-theme .adm-portal-nav-item.is-active .adm-nav-ico--subs { background: linear-gradient(135deg, #e0f2fe, #bae6fd); }
.ua-portal-theme .adm-portal-nav-item.is-active .adm-nav-ico--approve { background: linear-gradient(135deg, #fef3c7, #fde68a); }
.ua-portal-theme .adm-portal-nav-item.is-active .adm-nav-ico--products { background: linear-gradient(135deg, #ffedd5, #fed7aa); }
.ua-portal-theme .adm-portal-nav-item.is-active .adm-nav-ico--wallets { background: linear-gradient(135deg, #dcfce7, #bbf7d0); }
.ua-portal-theme .adm-portal-nav-item.is-active .adm-nav-ico--settings { background: linear-gradient(135deg, #f3e8ff, #e9d5ff); }

.ua-portal-theme .adm-nav-badge {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}

.ua-portal-theme .adm-portal-side-promo {
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.3), rgba(245, 158, 11, 0.25));
}

.ua-portal-theme .adm-portal-main {
  background:
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(20, 184, 166, 0.1), transparent),
    radial-gradient(ellipse 60% 40% at 0% 100%, rgba(245, 158, 11, 0.08), transparent),
    #ecfdf5;
}

.ua-portal-theme .adm-page-head {
  border-left-color: #14b8a6;
  box-shadow: 0 4px 16px rgba(20, 184, 166, 0.1);
}

.ua-portal-theme .adm-page-head h1 {
  background: linear-gradient(90deg, #0f766e, #14b8a6, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ua-portal-theme .adm-portal-main .adm-stat-warn {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
}

.ua-portal-theme .adm-portal-main .adm-stat-info {
  background: linear-gradient(135deg, #22d3ee 0%, #06b6d4 50%, #0891b2 100%);
}

.ua-portal-theme .adm-portal-main .adm-stat-ok {
  background: linear-gradient(135deg, #4ade80 0%, #22c55e 50%, #16a34a 100%);
}

.ua-portal-theme .adm-portal-main .adm-stat:not(.adm-stat-warn):not(.adm-stat-info):not(.adm-stat-ok) {
  background: linear-gradient(135deg, #2dd4bf 0%, #14b8a6 50%, #0d9488 100%);
}

.ua-portal-theme .adm-portal-main .adm-panel-head h2 {
  color: #0f766e;
}

.ua-portal-theme .adm-portal-main .adm-panel-head a {
  color: #0d9488;
}

.ua-portal-theme .adm-portal-main .grid thead {
  background: linear-gradient(90deg, #ecfdf5, #f0fdfa);
}

.ua-portal-theme .adm-portal-main .grid th {
  color: #0f766e;
}

.ua-portal-theme .adm-portal-main .grid tbody tr:hover {
  background: #f0fdfa;
}

.ua-portal-theme .adm-filter-label {
  color: #0d9488;
}

.ua-portal-theme .adm-btn-primary {
  background: linear-gradient(135deg, #14b8a6, #0d9488);
  box-shadow: 0 4px 12px rgba(20, 184, 166, 0.35);
}

.ua-portal-theme .adm-foot-tag--violet { background: #ccfbf1; color: #0f766e; }
.ua-portal-theme .adm-foot-tag--blue { background: #fef3c7; color: #b45309; }
.ua-portal-theme .adm-foot-tag--mint { background: #dcfce7; color: #15803d; }

.ua-portal-theme .adm-sub-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
  border-radius: 14px;
  background: linear-gradient(135deg, #0f766e, #14b8a6);
  color: #fff;
  box-shadow: 0 8px 24px rgba(15, 118, 110, 0.3);
}

.ua-portal-theme .adm-sub-banner strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}

.ua-portal-theme .adm-sub-banner span {
  font-size: 0.85rem;
  opacity: 0.9;
}

.ua-portal-theme .adm-sub-banner .adm-pill-ok {
  background: rgba(255, 255, 255, 0.95);
  color: #047857;
}

.ua-login-wrap {
  background:
    radial-gradient(circle at 20% 20%, rgba(20, 184, 166, 0.45), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(245, 158, 11, 0.35), transparent 40%),
    linear-gradient(135deg, #042f2e 0%, #0f766e 50%, #14b8a6 100%);
}

.ua-login-wrap .adm-login-head {
  background: linear-gradient(180deg, #ecfdf5 0%, #fff 100%);
}

.ua-login-wrap .adm-login-head h1 {
  background: linear-gradient(90deg, #0f766e, #14b8a6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ua-login-wrap .adm-login-field label {
  color: #0f766e;
}

.ua-login-wrap .adm-login-submit {
  background: linear-gradient(135deg, #14b8a6, #0d9488, #f59e0b);
  box-shadow: 0 8px 20px rgba(20, 184, 166, 0.4);
}

.ua-login-wrap .adm-login-foot {
  background: linear-gradient(90deg, #ecfdf5, #d1fae5);
  border-top-color: #a7f3d0;
}

.ua-login-wrap .adm-login-foot a {
  color: #0d9488;
}

/* Trial countdown alert */
.ua-trial-alert {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
  border-radius: 14px;
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 50%, #fcd34d 100%);
  border: 1px solid #f59e0b;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.25);
}

.ua-trial-alert--urgent {
  background: linear-gradient(135deg, #fee2e2 0%, #fecaca 50%, #fca5a5 100%);
  border-color: #ef4444;
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.2);
}

.ua-trial-alert-main {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.ua-trial-alert-main strong {
  font-size: 1.05rem;
  color: #92400e;
}

.ua-trial-alert--urgent .ua-trial-alert-main strong {
  color: #991b1b;
}

.ua-trial-alert-main span {
  font-size: 0.88rem;
  color: #78350f;
}

.ua-trial-alert--urgent .ua-trial-alert-main span {
  color: #7f1d1d;
}

.ua-trial-alert-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.ua-quick-upload {
  margin-bottom: 1.25rem;
  padding: 1rem 1.25rem;
}

.ua-quick-upload .adm-muted {
  margin: 0 0 1rem;
}

/* Product upload form */
.ua-product-form {
  padding: 1.25rem;
}

.ua-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.ua-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.ua-form-col .adm-login-field input,
.ua-form-col .adm-login-field select,
.ua-form-col .adm-login-field textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 0.55rem 0.75rem;
  border: 1px solid #a7f3d0;
  border-radius: 8px;
  font-size: 0.9rem;
  background: #f0fdf4;
}

.ua-upload-zone {
  position: relative;
  padding: 2rem 1rem;
  text-align: center;
  border: 2px dashed #14b8a6;
  border-radius: 12px;
  background: linear-gradient(180deg, #ecfdf5, #f0fdf4);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.ua-upload-zone.is-drag {
  border-color: #0d9488;
  background: #d1fae5;
}

.ua-upload-zone p {
  margin: 0 0 0.35rem;
  color: #0f766e;
}

.ua-upload-zone span {
  font-size: 0.78rem;
  color: #64748b;
}

.ua-file-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.ua-preview-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.ua-preview-item {
  position: relative;
}

.ua-preview-remove {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 22px;
  height: 22px;
  border: none;
  border-radius: 50%;
  background: #ef4444;
  color: #fff;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
}

.ua-preview-thumb {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid #99f6e4;
}

.ua-form-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.ua-form-success {
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
  border-radius: 10px;
  background: linear-gradient(135deg, #d1fae5, #a7f3d0);
  border: 1px solid #34d399;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.ua-form-success strong {
  color: #065f46;
}

.ua-form-success span {
  font-size: 0.85rem;
  color: #047857;
}

@media (max-width: 900px) {
  .ua-form-grid {
    grid-template-columns: 1fr;
  }
}

/* Subscription upgrade / Razorpay UI */
.ua-upgrade-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 1.5rem;
  align-items: start;
}

.ua-upgrade-section-title {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f766e;
}

.ua-plan-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.ua-plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.1rem 1rem 1rem 2.5rem;
  border: 2px solid #a7f3d0;
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}

.ua-plan-card:hover {
  border-color: #14b8a6;
  box-shadow: 0 8px 24px rgba(20, 184, 166, 0.15);
}

.ua-plan-card--active {
  border-color: #0d9488;
  background: linear-gradient(180deg, #f0fdfa, #fff);
  box-shadow: 0 8px 28px rgba(13, 148, 136, 0.2);
}

.ua-plan-card--popular {
  border-color: #f59e0b;
}

.ua-plan-card--popular.ua-plan-card--active {
  border-color: #0d9488;
}

.ua-plan-card input[type="radio"] {
  position: absolute;
  left: 1rem;
  top: 1.25rem;
  width: 18px;
  height: 18px;
  accent-color: #0d9488;
}

.ua-plan-badge {
  align-self: flex-start;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  color: #92400e;
}

.ua-plan-card--popular .ua-plan-badge {
  background: linear-gradient(135deg, #ffedd5, #fdba74);
  color: #9a3412;
}

.ua-plan-duration {
  font-size: 0.88rem;
  font-weight: 600;
  color: #64748b;
}

.ua-plan-price {
  font-size: 1.65rem;
  font-weight: 800;
  color: #0f766e;
  line-height: 1.1;
}

.ua-plan-sub {
  font-size: 0.82rem;
  color: #475569;
}

.ua-plan-per {
  font-size: 0.75rem;
  color: #94a3b8;
  margin-top: 0.25rem;
}

.ua-pay-summary {
  background: #fff;
  border: 1px solid #a7f3d0;
  border-radius: 14px;
  padding: 1.25rem;
  position: sticky;
  top: 12px;
  box-shadow: 0 8px 24px rgba(20, 184, 166, 0.1);
}

.ua-pay-summary h2 {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #0f766e;
}

.ua-pay-summary-plan {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px dashed #ccfbf1;
}

.ua-pay-summary-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.25rem;
}

.ua-pay-summary-plan strong {
  display: block;
  font-size: 1.1rem;
  color: #0f766e;
}

.ua-razorpay-btn {
  background: linear-gradient(135deg, #0d9488, #14b8a6) !important;
  font-size: 1rem !important;
  padding: 0.75rem !important;
  margin-top: 0.5rem;
}

.ua-pay-key-hint {
  font-size: 0.72rem;
  color: #94a3b8;
  text-align: center;
  margin: 0.5rem 0;
}

.ua-pay-trust {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 1.15rem !important;
  margin-top: 0.5rem;
}

.ua-pay-trust strong {
  display: block;
  color: #0f766e;
  margin-bottom: 0.2rem;
}

.ua-pay-trust span {
  font-size: 0.82rem;
  color: #64748b;
}

.ua-pay-success {
  padding: 1.5rem;
  border-radius: 14px;
  background: linear-gradient(135deg, #d1fae5, #a7f3d0);
  border: 1px solid #34d399;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 520px;
}

.ua-pay-success strong {
  font-size: 1.15rem;
  color: #065f46;
}

.ua-pay-success span {
  font-size: 0.88rem;
  color: #047857;
}

.ua-admin-plans .ua-admin-plan-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 0 1rem 1rem;
}

.ua-admin-plans .adm-login-field input {
  max-width: 100%;
}

.adm-portal-main .ua-admin-plans .adm-btn {
  margin: 0 1rem 1rem;
}

@media (max-width: 900px) {
  .ua-upgrade-layout {
    grid-template-columns: 1fr;
  }

  .ua-plan-grid {
    grid-template-columns: 1fr;
  }

  .ua-admin-plans .ua-admin-plan-grid {
    grid-template-columns: 1fr 1fr;
  }

  .ua-pay-summary {
    position: static;
  }
}

/* ── Category-specific product fields (Add product) ── */
.ua-field-hint {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.78rem;
  color: #64748b;
}

.ua-cat-form-wrap {
  margin: 0.75rem 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid #99f6e4;
  background: linear-gradient(180deg, #f0fdfa, #ecfdf5);
}

.ua-cat-form-head strong {
  display: block;
  color: #0f766e;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.ua-cat-form-head .adm-muted {
  margin: 0 0 0.65rem;
  font-size: 0.8rem;
}

.ua-cat-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem 0.85rem;
}

.ua-cat-field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.ua-cat-field label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #134e4a;
}

.ua-req {
  color: #dc2626;
}

.ua-cat-input,
.ua-cat-field select,
.ua-cat-field textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 0.5rem 0.65rem;
  border: 1px solid #5eead4;
  border-radius: 8px;
  font-size: 0.88rem;
  background: #fff;
}

.ua-cat-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.65rem;
}

.ua-cat-check {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: #115e59;
  padding: 0.25rem 0.45rem;
  border-radius: 6px;
  background: #fff;
  border: 1px solid #a7f3d0;
  cursor: pointer;
}

.ua-choice-banner {
  margin: 0 0 0.55rem;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  font-size: 0.82rem;
  font-weight: 650;
}

.ua-cat-checks--choice .ua-cat-check {
  border-color: #5eead4;
  background: #f0fdfa;
}

.ua-cat-checks--choice .ua-cat-check:has(input:checked) {
  background: #0d9488;
  border-color: #0d9488;
  color: #fff;
  font-weight: 700;
}

.ua-cat-field[data-field-type="multiselect"] {
  grid-column: 1 / -1;
}

.ua-cat-field[data-field-type="textarea"] {
  grid-column: 1 / -1;
}

@media (max-width: 720px) {
  .ua-cat-fields {
    grid-template-columns: 1fr;
  }
}

/* Seller product view */
.ua-product-view .shop-pdp-layout {
  align-items: start;
}

.ua-product-view-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ua-product-view-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.ua-product-specs th {
  width: 140px;
  font-weight: 600;
  color: #475569;
  background: #f8fafc;
}

.ua-product-desc h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

.ua-product-desc p {
  margin: 0;
  color: #334155;
  line-height: 1.55;
}

.ua-reject-box {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  background: #fef2f2;
  border: 1px solid #fecaca;
}

.ua-reject-box strong {
  color: #991b1b;
  display: block;
  margin-bottom: 0.25rem;
}

.ua-reject-box p {
  margin: 0;
  color: #7f1d1d;
  font-size: 0.9rem;
}

.ua-store-link {
  margin-top: -0.25rem;
}

.adm-pill-danger {
  background: #fee2e2;
  color: #991b1b;
}

/* ===== Seller OrderView — PDP-style left/right ===== */
.ua-order-page {
  width: 100%;
  max-width: 1120px;
}
.ua-order-page-head {
  margin-bottom: 1rem;
}
.ua-order-page-head > a {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #0f766e;
  text-decoration: none;
  margin-bottom: 0.5rem;
}
.ua-order-page-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.ua-order-page-title h1 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 800;
  color: #0f172a;
}
.ua-order-page-title p {
  margin: 0.25rem 0 0;
  color: #64748b;
  font-size: 0.9rem;
}
.ua-order-h2 {
  margin: 0 0 0.85rem !important;
  font-size: 0.8rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #64748b !important;
}
.ua-order-help {
  margin: -0.35rem 0 0.9rem;
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.4;
}
.ua-order-strong {
  font-weight: 700 !important;
  color: #0f172a !important;
  font-size: 1rem !important;
  margin: 0 0 0.25rem !important;
}

/* Product row: large image LEFT, details RIGHT */
.ua-order-products .ua-order-pdp {
  display: grid !important;
  grid-template-columns: 220px minmax(0, 1fr) !important;
  gap: 1.5rem !important;
  align-items: center !important;
  padding: 0.5rem 0 0.75rem;
}
.ua-order-products .ua-order-pdp + .ua-order-pdp {
  border-top: 1px solid #e2e8f0;
  margin-top: 1rem;
  padding-top: 1.25rem;
}
.ua-order-pdp-media {
  width: 220px !important;
  height: 220px !important;
  max-width: 100%;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 12px;
  box-sizing: border-box;
}
.ua-order-pdp-media img {
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 196px !important;
  object-fit: contain !important;
  display: block !important;
}
.ua-order-pdp-info h3 {
  margin: 0 0 0.65rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
}
.ua-order-pdp-variant,
.ua-order-pdp-meta {
  margin: 0 0 0.45rem;
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.45;
}
.ua-order-pdp-total {
  margin: 0.85rem 0 0;
  font-size: 1.05rem;
  color: #0f766e;
}
.ua-order-pdp-total strong {
  font-size: 1.25rem;
  font-weight: 800;
}

/* Page columns */
.ua-order-columns {
  display: grid !important;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.85fr) !important;
  gap: 1rem !important;
  align-items: start;
  margin-top: 1rem;
}
.ua-order-col-left,
.ua-order-col-right {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
}
.ua-order-cust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}
.ua-order-box {
  padding: 0.9rem 1rem;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}
.ua-order-box h3 {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #94a3b8;
}
.ua-order-box p {
  margin: 0 0 0.2rem;
  font-size: 0.9rem;
  line-height: 1.45;
  color: #334155;
}

.ua-order-update-panel {
  background: linear-gradient(180deg, #fff 0%, #f0fdfa 100%) !important;
  border-color: #99f6e4 !important;
}
.ua-order-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1rem;
}
.ua-order-field {
  display: block !important;
  margin: 0 0 0.85rem !important;
  width: 100%;
  position: relative;
}
.ua-order-form-grid .ua-order-field {
  margin-bottom: 0 !important;
}
.ua-order-field-full { grid-column: 1 / -1; }
.ua-order-label {
  display: block !important;
  position: static !important;
  float: none !important;
  margin: 0 0 0.4rem !important;
  padding: 0 !important;
  line-height: 1.3 !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b !important;
}
.ua-order-label em {
  font-style: normal;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
  color: #94a3b8;
}
.ua-order-input.adm-input,
.ua-order-field .adm-input,
.ua-order-field select.adm-input,
.ua-order-field textarea.adm-input,
.ua-order-field input.adm-input {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  display: block !important;
  margin-top: 0 !important;
  position: relative !important;
  z-index: 1;
}
.ua-order-textarea {
  min-height: 88px !important;
  resize: vertical;
  line-height: 1.45 !important;
}

/* Shared footer actions outside all cards */
.ua-order-page-actions {
  margin-top: 1rem;
  padding: 1rem 1.15rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
}
.ua-order-page-actions-note {
  margin: 0;
  font-size: 0.84rem;
  color: #64748b;
}
.ua-order-page-actions-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.ua-order-cancel-btn {
  color: #b91c1c !important;
  border-color: #fecaca !important;
}

.ua-order-pay {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.ua-order-pay > div {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.9rem;
}
.ua-order-pay dt { margin: 0; color: #64748b; font-weight: 500; }
.ua-order-pay dd { margin: 0; font-weight: 700; color: #0f172a; }
.ua-order-pay-total {
  padding-top: 0.55rem;
  border-top: 1px solid #e2e8f0;
}
.ua-order-pay-total dd { color: #0f766e; font-size: 1.1rem; font-weight: 800; }

@media (max-width: 960px) {
  .ua-order-columns { grid-template-columns: 1fr !important; }
  .ua-order-products .ua-order-pdp {
    grid-template-columns: 160px minmax(0, 1fr) !important;
  }
  .ua-order-pdp-media {
    width: 160px !important;
    height: 160px !important;
  }
  .ua-order-pdp-media img { max-height: 136px !important; }
}
@media (max-width: 640px) {
  .ua-order-products .ua-order-pdp {
    grid-template-columns: 1fr !important;
  }
  .ua-order-pdp-media {
    width: 100% !important;
    height: 220px !important;
  }
  .ua-order-cust-grid,
  .ua-order-form-grid { grid-template-columns: 1fr; }
}
