/* — Box — */
#noryx-account-box.noryx-box{
  margin-top: 16px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.noryx-box__head{
  display:flex; justify-content:space-between; align-items:flex-end; gap:12px;
  margin-bottom: 10px;
}
.noryx-box__head h3{ margin:0; color:#fff; font-size:18px; }
.noryx-box__hint{ opacity:.85; color:#fff; }

/* Items */
.noryx-item{ margin-bottom:14px; padding-bottom:10px; border-bottom:1px dashed rgba(255,255,255,.18); }
.noryx-item:last-child{ border-bottom:0; padding-bottom:0; margin-bottom:0; }
.noryx-item__title{ font-weight:600; color:#fff; margin-bottom:6px; }

.noryx-toggle{ display:inline-flex; align-items:center; gap:6px; color:#fff; font-size:13px; margin-bottom:8px; }

/* Grid (2 columns per row) */
.noryx-grid-2{
  display:grid; grid-template-columns:repeat(2, minmax(180px, 1fr));
  gap: 10px 12px;
}
.noryx-field{ display:flex; flex-direction:column; }
.noryx-lbl{ font-size:12px; color:#fff; opacity:.9; margin-bottom:4px; }

.noryx-field input[type="text"],
.noryx-field input[type="email"],
.noryx-field input[type="tel"]{
  width:100%; padding:10px 12px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.95);
  color:#111;
}

/* Error state */
.noryx-field.noryx-error input{ border-color:#ff5a5a; box-shadow: 0 0 0 2px rgba(255,90,90,0.15); }

/* Footer */
.noryx-box__footer{ display:flex; align-items:center; gap:10px; margin-top:10px; }
.noryx-save{
  padding:10px 14px; border-radius:10px; border:0; cursor:pointer;
}
.noryx-status{ display:none; font-size:13px; }
.noryx-status.is-error{ color:#ffd4d4; }
.noryx-status.is-ok{ color:#d7ffd7; }

/* Lock proceed button (visual) */
.wc-block-cart__submit-button.noryx-locked{
  opacity:.6; pointer-events:auto; /* کلیک رو می‌گیریم ولی جلو می‌گیریم */
}
/* باکس اکانت وسط صفحه + فاصله پایین */
#noryx-account-box.noryx-box{
  max-width: 960px;
  margin: 16px auto 28px; /* بالا | چپ/راست (auto = وسط) | پایین */
}
/* زیر نام محصول: نوع محصول */
.noryx-variant-badge{
  font-size: 12px;
  line-height: 1.4;
  margin-top: 4px;
  color: rgba(255,255,255,.85);
}
.noryx-variant-badge__val{
  color: #fff;
  font-weight: 600;
}
