/* ============================================================
   SG Gloves Product Discussion styles
   NTMedia e-commerce | www.nt-media.pl | studio@nt-media.pl
   ============================================================ */
:root {
  --ntc-g1:var(--sg-brand-ink, #071b36); --ntc-g2:#0b2a52; --ntc-g3:#f4d36a;
  --ntc-white:#fff; --ntc-bg:#f8fafc; --ntc-border:#dbe4f0;
  --ntc-text:#0b1d3a; --ntc-muted:#5b6475;
  --ntc-ok:#38a169; --ntc-err:#e53e3e;
  --ntc-r:4px; --ntc-rs:2px;
  --ntc-shadow:0 10px 28px rgba(92,64,56,.08);
  --ntc-t:.28s cubic-bezier(.4,0,.2,1);
}

/* ── Widget ── */
.ntchat-wrapper { font-family:var(--ntc-font, inherit); margin:24px 0; }

.ntchat-toggle {
  display:flex; align-items:center; gap:10px;
  width:100%; padding:14px 20px;
  background:linear-gradient(90deg,var(--sg-brand-ink, #071b36),var(--sg-brand-ink, #071b36),var(--ntc-g3));
  color:var(--ntc-btn, #ffffff) !important; border:none; border-radius:var(--ntc-r);
  font-size:var(--ntc-font-h, 1rem) !important; font-weight:var(--ntc-fw-h, 600) !important; cursor:pointer;
  box-shadow:var(--ntc-shadow); transition:filter var(--ntc-t);
}
.ntchat-toggle:hover { filter:brightness(1.08); }
.ntchat-toggle span  { flex:1; text-align:left; }
.ntchat-icon  { width:22px; height:22px; flex-shrink:0; }
.ntchat-chevron { width:18px; height:18px; flex-shrink:0; transition:transform var(--ntc-t); }
.ntchat-toggle[aria-expanded="true"] .ntchat-chevron { transform:rotate(180deg); }

.ntchat-form-container {
  overflow:hidden; background:var(--ntc-form-bg, #fff);
  border:1px solid var(--ntc-form-border, #e2e8f0); border-top:none;
  border-radius:0 0 var(--ntc-r) var(--ntc-r);
  box-shadow:0 4px 16px rgba(21,32,96,.07);
}
.ntchat-anim-slide { max-height:0; overflow:hidden; transition:max-height .36s cubic-bezier(.4,0,.2,1); }
.ntchat-anim-slide.ntchat-open { max-height:1400px; }
.ntchat-anim-fade { opacity:0; pointer-events:none; transition:opacity .28s; }
.ntchat-anim-fade.ntchat-open  { opacity:1; pointer-events:auto; }
.ntchat-anim-fade  { opacity:0; pointer-events:none; transition:opacity var(--ntc-t); }
.ntchat-anim-fade.ntchat-open  { opacity:1; pointer-events:auto; }

.ntchat-form-inner { padding:22px 24px; }
.ntchat-product-info { margin:0 0 14px; color:var(--ntc-muted); font-size:.9rem; }

.ntchat-field { margin-bottom:15px; }
.ntchat-field label { display:block; margin-bottom:5px; font-weight:600; font-size:.875rem; }

.ntchat-input,.ntchat-textarea,.ntchat-select {
  width:100%; padding:10px 13px; border:1px solid var(--ntc-border);
  border-radius:var(--ntc-rs); font-size:.95rem; background:var(--ntc-input-bg, #f8fafc);
  color:var(--ntc-text); box-sizing:border-box;
  transition:border-color var(--ntc-t),box-shadow var(--ntc-t);
}
.ntchat-input:focus,.ntchat-textarea:focus,.ntchat-select:focus {
  border-color:var(--sg-brand-yellow, #f4d36a); box-shadow:0 0 0 3px rgba(244,211,106,.25); outline:none;
}
.ntchat-input[readonly] { background:#edf2f7; cursor:not-allowed; }

.ntchat-consent-wrapper { margin-bottom:17px; }
.ntchat-consent-label { display:flex; align-items:flex-start; gap:9px; cursor:pointer; font-size:.86rem; color:var(--ntc-muted); line-height:1.45; }
.ntchat-consent-checkbox { width:17px; height:17px; flex-shrink:0; margin-top:2px; accent-color:var(--sg-brand-yellow, #f4d36a); cursor:pointer; }

.ntchat-submit-btn {
  display:inline-flex; align-items:center; gap:8px; padding:11px 22px;
  background:linear-gradient(90deg,var(--sg-brand-ink, #071b36),var(--sg-brand-ink, #071b36));
  color:var(--ntc-btn, #ffffff); border:none; border-radius:var(--ntc-rs);
  font-size:var(--ntc-font-btn, .95rem); font-weight:600; cursor:pointer; transition:filter var(--ntc-t),opacity var(--ntc-t);
}
.ntchat-submit-btn svg { width:17px; height:17px; }
.ntchat-submit-btn:disabled { opacity:.45; cursor:not-allowed; }
.ntchat-submit-btn:not(:disabled):hover { filter:brightness(1.1); }

.ntchat-success-msg,.ntchat-error-msg { padding:11px 15px; border-radius:var(--ntc-rs); margin-bottom:14px; font-size:.9rem; font-weight:600; }
.ntchat-success-msg { background:#f0fff4; border:1px solid #9ae6b4; color:var(--ntc-ok); }
.ntchat-error-msg   { background:#fff5f5; border:1px solid #feb2b2; color:var(--ntc-err); }

.ntchat-my-discussions { display:inline-block; margin-top:12px; font-size:.875rem; color:var(--sg-brand-ink, #071b36); text-decoration:none; }
.ntchat-my-discussions:hover { text-decoration:underline; }

/* ── Account ── */
.ntchat-badge { display:inline-block; background:var(--ntc-g3); color:var(--ntc-btn, #fff); border-radius:99px; padding:2px 8px; font-size:.78rem; font-weight:700; margin-left:6px; }

.ntchat-account-wrapper { max-width:860px; margin:0 auto; }
.ntchat-account-wrapper .ntchat-account-header { display:flex; align-items:center; gap:14px; margin-bottom:26px; padding:18px 22px; background:linear-gradient(90deg,var(--sg-brand-ink, #071b36),var(--sg-brand-ink, #071b36),var(--ntc-g3)) !important; color:var(--ntc-btn, #fff) !important; border-radius:var(--ntc-r); }
.ntchat-account-header svg { width:26px; height:26px; flex-shrink:0; }
.ntchat-account-wrapper .ntchat-account-header h2 { margin:0 !important; font-size:var(--ntc-font-h, 1.1rem) !important; font-weight:var(--ntc-fw-h, 700) !important; color:var(--ntc-btn, #fff) !important; }

.ntchat-disc-list { display:grid; gap:14px; }
.ntchat-disc-card { border:1px solid var(--ntc-border); border-radius:var(--ntc-r); overflow:hidden; background:var(--ntc-white); box-shadow:0 2px 8px rgba(21,32,96,.05); transition:box-shadow var(--ntc-t); }
.ntchat-disc-card:hover { box-shadow:var(--ntc-shadow); }
.ntchat-disc-card.ntchat-disc-closed { opacity:.75; }
.ntchat-disc-card-header { display:flex; justify-content:space-between; align-items:center; padding:10px 16px; background:var(--ntc-bg); border-bottom:1px solid var(--ntc-border); font-size:.8rem; }
.ntchat-disc-card-body   { padding:14px 16px; }
.ntchat-disc-product     { margin:0 0 4px; font-size:1rem; }
.ntchat-disc-id          { margin:0; font-size:.8rem; color:var(--ntc-muted); }
.ntchat-disc-card-footer { display:flex; gap:10px; padding:10px 16px; border-top:1px solid var(--ntc-border); }

.ntchat-disc-status,.ntchat-badge-status { display:inline-block; padding:3px 10px; border-radius:99px; font-size:.78rem; font-weight:700; }
.ntchat-status-open,.ntchat-badge-open   { background:#ebf8ff; color:#2b6cb0; }
.ntchat-status-closed,.ntchat-badge-closed { background:#f7fafc; color:#718096; }

.ntchat-btn-view { display:inline-block; padding:8px 16px; background:linear-gradient(90deg,var(--sg-brand-ink, #071b36),var(--sg-brand-ink, #071b36)); color:var(--ntc-btn, #ffffff); border:none; border-radius:var(--ntc-rs); font-size:.875rem; font-weight:600; cursor:pointer; text-decoration:none; transition:filter var(--ntc-t); }
.ntchat-btn-view:hover { filter:brightness(1.1); color:var(--ntc-btn, #ffffff); }
.ntchat-btn-delete { display:inline-block; padding:8px 16px; background:transparent; color:var(--ntc-danger, #e53e3e); border:1px solid var(--ntc-danger, #e53e3e); border-radius:var(--ntc-rs); font-size:.875rem; font-weight:600; cursor:pointer; transition:background var(--ntc-t),color var(--ntc-t); }
.ntchat-btn-delete:hover { background:var(--ntc-danger, #e53e3e); color:#fff; }

.ntchat-messages-timeline { margin:20px 0; display:flex; flex-direction:column; gap:14px; }
.ntchat-msg { display:flex; }
.ntchat-msg-customer { justify-content:flex-start; }
.ntchat-msg-admin    { justify-content:flex-end; }
.ntchat-msg-bubble { max-width:72%; padding:12px 16px; border-radius:16px; box-shadow:0 2px 8px rgba(0,0,0,.06); }
.ntchat-msg-customer .ntchat-msg-bubble { background:var(--ntc-msg-cust-bg, #fff); border:1px solid var(--ntc-form-border, #dbe4f0); border-bottom-left-radius:4px; color:var(--ntc-msg-cust-txt, #0b1d3a); }
.ntchat-msg-admin    .ntchat-msg-bubble { background:var(--ntc-msg-adm-bg, var(--sg-brand-ink, #071b36)); color:var(--ntc-msg-adm-txt, #fff); border-bottom-right-radius:4px; }
.ntchat-msg-header { display:flex; align-items:center; gap:8px; margin-bottom:6px; flex-wrap:wrap; }
.ntchat-msg-author { font-weight:700; font-size:.82rem; }
.ntchat-msg-date   { font-size:.75rem; opacity:.65; margin-left:auto; }
.ntchat-msg-content{ font-size:.9rem; line-height:1.5; }

.ntchat-reply-form { margin-top:20px; display:flex; flex-direction:column; gap:12px; }
.ntchat-btn-send-reply { align-self:flex-start; padding:10px 20px; background:linear-gradient(90deg,var(--sg-brand-ink, #071b36),var(--sg-brand-ink, #071b36)); color:var(--ntc-btn, #fff); border:none; border-radius:var(--ntc-rs); font-size:.9rem; font-weight:600; cursor:pointer; }
.ntchat-btn-send-reply:hover { filter:brightness(1.1); }

.ntchat-empty,.ntchat-no-msgs { text-align:center; padding:40px; color:var(--ntc-muted); }
.ntchat-back-link { color:var(--sg-brand-ink, #071b36); text-decoration:none; font-size:.9rem; }
.ntchat-back-link:hover { text-decoration:underline; }
.ntchat-detail-nav { margin-bottom:18px; }
.ntchat-account-back { margin-top:24px; }
.ntchat-detail-info { display:flex; gap:20px; flex-wrap:wrap; align-items:center; padding:14px 18px; background:var(--ntc-bg); border:1px solid var(--ntc-border); border-radius:var(--ntc-rs); margin-bottom:20px; font-size:.9rem; }

/* ── Admin ── */
.ntchat-admin-page { font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif; }

.ntchat-admin-header { display:flex; align-items:center; gap:18px; padding:18px 26px; background:linear-gradient(90deg,var(--sg-brand-ink, #071b36) 0%,var(--sg-brand-ink, #071b36) 55%,var(--ntc-g3) 100%); border-radius:var(--ntc-r); box-shadow:0 4px 20px rgba(21,32,96,.18); }
.ntchat-admin-logo-wrap { width:54px; height:54px; background:var(--ntc-white); border-radius:9px; display:flex; align-items:center; justify-content:center; flex-shrink:0; overflow:hidden; padding:4px; }
.ntchat-admin-logo-wrap img { width:100%; height:100%; object-fit:contain; }
.ntchat-admin-brand    { color:var(--ntc-btn, #fff); font-size:var(--ntc-font-h, 1rem); font-weight:var(--ntc-fw-h, 800); letter-spacing:.06em; }
.ntchat-admin-subtitle { color:var(--ntc-btn, #fff); opacity:.85; font-size:.86rem; margin-top:2px; }

.ntchat-admin-nav { display:flex; gap:2px; background:var(--ntc-white); border:1px solid var(--ntc-border); border-top:none; border-radius:0 0 8px 8px; padding:6px 14px; margin-bottom:20px; box-shadow:0 2px 8px rgba(21,32,96,.05); }
.ntchat-admin-nav-item { display:inline-flex; align-items:center; gap:7px; padding:8px 16px; border-radius:var(--ntc-rs); font-size:.875rem; font-weight:600; color:var(--ntc-muted); text-decoration:none; transition:background var(--ntc-t),color var(--ntc-t); }
.ntchat-admin-nav-item svg { width:16px; height:16px; }
.ntchat-admin-nav-item:hover { background:var(--ntc-bg); color:var(--ntc-text); }
.ntchat-admin-nav-item.active { background:linear-gradient(90deg,var(--sg-brand-ink, #071b36),var(--sg-brand-ink, #071b36)); color:var(--ntc-btn, #fff); }

.ntchat-admin-content { padding:0 4px; }
.ntchat-alert { padding:12px 16px; border-radius:var(--ntc-rs); margin-bottom:14px; font-size:.9rem; }
.ntchat-alert-success { background:#f0fff4; border:1px solid #9ae6b4; color:#276749; }
.ntchat-alert-danger  { background:#fff5f5; border:1px solid #feb2b2; color:#9b2c2c; }

.ntchat-admin-toolbar form { display:flex; justify-content:space-between; align-items:center; gap:12px; flex-wrap:wrap; padding:14px 0; margin-bottom:8px; }
.ntchat-toolbar-left,.ntchat-toolbar-right { display:flex; gap:8px; flex-wrap:wrap; align-items:center; }
.ntchat-admin-count { font-size:.85rem; color:var(--ntc-muted); margin-bottom:10px; }
.ntchat-admin-empty { padding:40px; text-align:center; color:var(--ntc-muted); }

.ntchat-admin-table { width:100%; border-collapse:collapse; background:var(--ntc-white); border-radius:var(--ntc-r); overflow:hidden; box-shadow:0 2px 10px rgba(21,32,96,.06); font-size:.875rem; }
.ntchat-admin-table thead tr { background:linear-gradient(90deg,var(--sg-brand-ink, #071b36),var(--sg-brand-ink, #071b36)); color:var(--ntc-btn, #fff); }
.ntchat-admin-table th { padding:13px 14px; text-align:left; font-weight:600; font-size:.82rem; letter-spacing:.04em; }
.ntchat-admin-table td { padding:12px 14px; border-bottom:1px solid var(--ntc-border); }
.ntchat-admin-table tr:last-child td { border-bottom:none; }
.ntchat-admin-table tr:hover td { background:#f7fbff; }
.ntchat-row-closed td { opacity:.65; }

.ntchat-actions { display:flex; gap:5px; align-items:center; }
.ntchat-action-btn { display:inline-flex; align-items:center; justify-content:center; width:30px; height:30px; border-radius:6px; border:1px solid var(--ntc-border); background:var(--ntc-white); color:var(--ntc-muted); cursor:pointer; text-decoration:none; transition:background var(--ntc-t),color var(--ntc-t); }
.ntchat-action-btn svg { width:14px; height:14px; }
.ntchat-action-view:hover   { background:#ebf8ff; color:#2b6cb0; border-color:#2b6cb0; }
.ntchat-action-close:hover  { background:#fff3cd; color:#856404; border-color:#856404; }
.ntchat-action-open:hover   { background:#d4edda; color:#155724; border-color:#155724; }
.ntchat-action-delete:hover { background:#fff5f5; color:var(--ntc-danger, #e53e3e); border-color:var(--ntc-danger, #e53e3e); }

.ntchat-pagination { display:flex; gap:6px; margin-top:18px; flex-wrap:wrap; }
.ntchat-page-btn { display:inline-flex; align-items:center; justify-content:center; width:34px; height:34px; border-radius:6px; border:1px solid var(--ntc-border); background:var(--ntc-white); color:var(--ntc-text); font-size:.875rem; text-decoration:none; transition:background var(--ntc-t),color var(--ntc-t); }
.ntchat-page-btn.active,.ntchat-page-btn:hover { background:linear-gradient(90deg,var(--sg-brand-ink, #071b36),var(--sg-brand-ink, #071b36)); color:var(--ntc-btn, #fff); border-color:transparent; }

.ntchat-btn-primary  { display:inline-flex; align-items:center; gap:7px; padding:9px 18px; background:linear-gradient(90deg,var(--sg-brand-ink, #071b36),var(--sg-brand-ink, #071b36)); color:var(--ntc-btn, #fff); border:none; border-radius:var(--ntc-rs); font-size:var(--ntc-font-btn, .875rem); font-weight:600; cursor:pointer; text-decoration:none; transition:filter var(--ntc-t); }
.ntchat-btn-primary:hover { filter:brightness(1.1); color:var(--ntc-btn, #fff); }
.ntchat-btn-secondary{ display:inline-flex; align-items:center; gap:7px; padding:9px 16px; background:transparent; color:var(--ntc-secondary, #0b2a52); border:1.5px solid var(--ntc-secondary, #0b2a52); border-radius:var(--ntc-rs); font-size:.875rem; font-weight:600; cursor:pointer; text-decoration:none; transition:background var(--ntc-t),color var(--ntc-t); }
.ntchat-btn-secondary:hover { background:var(--ntc-secondary, #0b2a52); color:#fff; }
.ntchat-btn-danger   { display:inline-flex; align-items:center; gap:7px; padding:9px 16px; background:transparent; color:var(--ntc-danger, #e53e3e); border:1px solid var(--ntc-danger, #e53e3e); border-radius:var(--ntc-rs); font-size:.875rem; font-weight:600; cursor:pointer; text-decoration:none; transition:background var(--ntc-t),color var(--ntc-t); }
.ntchat-btn-danger:hover { background:var(--ntc-danger, #e53e3e); color:#fff; }
.ntchat-btn-filter  { padding:9px 14px; background:var(--ntc-bg); color:var(--ntc-text); border:1px solid var(--ntc-border); border-radius:var(--ntc-rs); cursor:pointer; font-size:.875rem; }
.ntchat-btn-sm { padding:5px 12px !important; font-size:.8rem !important; }

.ntchat-view-meta { background:var(--ntc-bg); border:1px solid var(--ntc-border); border-radius:var(--ntc-r); padding:18px 22px; margin-bottom:20px; display:flex; flex-direction:column; gap:10px; }
.ntchat-meta-row { display:flex; align-items:center; gap:10px; flex-wrap:wrap; font-size:.9rem; }
.ntchat-admin-back { margin-bottom:14px; }

.ntchat-admin-page .ntchat-messages-timeline { max-height:520px; overflow-y:auto; padding:4px; }
.ntchat-admin-page .ntchat-msg-admin .ntchat-msg-bubble { background:linear-gradient(135deg,#0b2a52,var(--sg-brand-ink, #071b36)); }
.ntchat-msg-badge { display:inline-block; padding:2px 8px; border-radius:99px; font-size:.7rem; font-weight:700; }
.ntchat-msg-badge-admin    { background:rgba(255,255,255,.2); color:rgba(255,255,255,.9); }
.ntchat-msg-badge-customer { background:var(--ntc-bg); color:var(--ntc-text); }

.ntchat-admin-reply { margin-top:22px; padding:20px; background:var(--ntc-white); border:1px solid var(--ntc-border); border-radius:var(--ntc-r); }
.ntchat-admin-reply h3 { margin:0 0 14px; font-size:1rem; }

.ntchat-settings-form { max-width:600px; }
.ntchat-settings-section { background:var(--ntc-white); border:1px solid var(--ntc-border); border-radius:var(--ntc-r); padding:22px 24px; margin-bottom:16px; }
.ntchat-settings-section h3 { margin:0 0 18px; font-size:1rem; font-weight:700; }
.ntchat-hint { display:block; margin-top:5px; font-size:.8rem; color:var(--ntc-muted); }
.ntchat-settings-footer { margin-top:4px; }
.ntchat-about a { color:var(--sg-brand-ink, #071b36); text-decoration:none; }
.ntchat-about a:hover { text-decoration:underline; }

.ntchat-toggle{font-size:var(--ntc-font-size,16px)!important;border:var(--ntc-border-width,1px) solid var(--ntc-border)!important}
.ntchat-form-container{background:var(--ntc-bg)!important;border:var(--ntc-border-width,1px) solid var(--ntc-border)!important}
.ntchat-input,.ntchat-select,.ntchat-textarea{background:var(--ntc-input-bg,var(--ntc-bg))!important;border-radius:var(--ntc-rs)!important}
.ntchat-submit,.ntchat-btn-primary{background:var(--ntc-btn-bg,var(--sg-brand-ink, #071b36))!important;color:var(--ntc-btn-text,#fff)!important;border-radius:var(--ntc-r)!important}
.ntchat-success-msg{color:var(--ntc-ok)!important}
.ntchat-error-msg{color:var(--ntc-err)!important}

/* ── Color settings ── */
.ntchat-color-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}
.ntchat-color-field label {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  margin-bottom: 7px;
  color: var(--ntc-text);
}
.ntchat-color-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ntchat-color-picker {
  width: 44px;
  height: 38px;
  padding: 2px;
  border: 1px solid var(--ntc-border);
  border-radius: var(--ntc-rs);
  cursor: pointer;
  background: transparent;
  flex-shrink: 0;
}
.ntchat-color-hex {
  flex: 1;
  font-family: monospace;
  font-size: .9rem;
}
.ntchat-color-preview {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.ntchat-preview-label { font-size: .85rem; color: var(--ntc-muted); flex-shrink: 0; }
.ntchat-preview-bar {
  flex: 1;
  min-width: 200px;
  padding: 12px 20px;
  border-radius: var(--ntc-rs);
  font-weight: 600;
  font-size: .95rem;
  color: #fff;
  transition: background var(--ntc-t);
}

/* ── Ikona SVG w toggle (logo_icon.svg) ── */
.ntchat-icon-img {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  filter: brightness(0) invert(1); /* biała na gradiencie */
}

/* ── Licznik w menu konta ── */
.ntchat-badge-count {
  display: inline-block;
  background: var(--ntc-g3, #f4d36a);
  color: var(--ntc-white, #fff);
  border-radius: 99px;
  padding: 1px 7px;
  font-size: .72rem;
  font-weight: 700;
  margin-left: 5px;
  vertical-align: middle;
}

/* ── Typografia dynamiczna przez CSS vars (nadpisywane inline z PHP) ── */
.ntchat-toggle span {
  font-size: var(--ntc-font-h, 1rem) !important;
  font-weight: var(--ntc-fw-h, 600) !important;
}
.ntchat-submit-btn,
.ntchat-btn-send-reply,
.ntchat-btn-view,
.ntchat-btn-primary,
.ntchat-btn-secondary,
.ntchat-btn-danger {
  font-size: var(--ntc-font-btn, 0.95rem) !important;
}
.ntchat-account-wrapper .ntchat-account-header h2 {
  font-size: var(--ntc-font-h, 1.1rem) !important;
  font-weight: var(--ntc-fw-h, 700) !important;
  color: var(--ntc-btn, #fff) !important;
}
.ntchat-wrapper {
  border-radius: var(--ntc-r, 10px);
}
.ntchat-toggle {
  border-radius: var(--ntc-r, 10px);
}

/* ── Ikona w menu konta — dopasowanie do motywu PS ── */
.account-list-item svg {
  color: inherit;
  opacity: 0.7;
}

/* ── Widget — widok wątku (historia dyskusji) ── */
.ntchat-widget-thread {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.ntchat-widget-thread-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0 10px;
  border-bottom: 1px solid var(--ntc-border, #e2e8f0);
  margin-bottom: 10px;
  font-size: .82rem;
}
.ntchat-thread-link {
  font-size: .8rem;
  color: var(--sg-brand-ink, #071b36);
  text-decoration: none;
}
.ntchat-thread-link:hover { text-decoration: underline; }

/* Przewijana lista wiadomości w widgecie */
.ntchat-widget-messages {
  max-height: 260px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-right: 4px;
  margin-bottom: 12px;
  scroll-behavior: smooth;
}
.ntchat-widget-messages::-webkit-scrollbar { width: 4px; }
.ntchat-widget-messages::-webkit-scrollbar-track { background: transparent; }
.ntchat-widget-messages::-webkit-scrollbar-thumb {
  background: var(--ntc-border, #e2e8f0);
  border-radius: 99px;
}

/* Bąbelki w widgecie — nieco mniejsze niż na stronie dyskusji */
.ntchat-widget-messages .ntchat-msg-bubble {
  max-width: 90%;
  font-size: .88rem;
}
.ntchat-widget-messages .ntchat-msg-header {
  gap: 6px;
  margin-bottom: 3px;
}
.ntchat-widget-messages .ntchat-msg-author { font-size: .78rem; }
.ntchat-widget-messages .ntchat-msg-date   { font-size: .72rem; }

/* Pole odpowiedzi w widgecie */
.ntchat-widget-reply {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--ntc-border, #e2e8f0);
  padding-top: 12px;
}
.ntchat-widget-reply-input {
  resize: none;
  font-size: .9rem;
}
.ntchat-widget-send-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  align-self: flex-start;
  padding: 9px 18px;
  background: linear-gradient(90deg, var(--sg-brand-ink, #071b36), var(--sg-brand-ink, #071b36));
  color: var(--ntc-btn, #fff);
  border: none;
  border-radius: var(--ntc-rs, 6px);
  font-size: .875rem;
  font-weight: 600;
  cursor: pointer;
  transition: filter .25s;
}
.ntchat-widget-send-btn svg { width: 15px; height: 15px; }
.ntchat-widget-send-btn:hover   { filter: brightness(1.1); }
.ntchat-widget-send-btn:disabled { opacity: .5; cursor: not-allowed; }

.ntchat-closed-info {
  font-size: .85rem;
  color: var(--ntc-muted, #718096);
  padding: 8px 0 0;
  border-top: 1px solid var(--ntc-border, #e2e8f0);
}
.ntchat-closed-info a { color: var(--sg-brand-ink, #071b36); }

.ntchat-form-footer {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ── Settings: message bubble preview ── */
.ntchat-msg-preview {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 18px;
  padding: 16px;
  background: var(--ntc-bg, #f8fafc);
  border: 1px solid var(--ntc-border, #e2e8f0);
  border-radius: var(--ntc-rs, 6px);
}
.ntchat-msg-preview-item { display: flex; }
.ntchat-msg-preview-admin { justify-content: flex-end; flex: 1; }
.ntchat-msg-preview-bubble {
  padding: 10px 16px;
  border-radius: 12px;
  font-size: .9rem;
  font-weight: 500;
  max-width: 220px;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  transition: background .2s, color .2s;
}

/* ── Input border CSS var ── */
.ntchat-input:focus,
.ntchat-textarea:focus,
.ntchat-select:focus {
  border-color: var(--ntc-input-border, var(--sg-brand-yellow, #f4d36a));
}

/* ── Modal trigger button ── */
.ntchat-modal-trigger-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 22px;
  background: var(--ntc-modal-bg, var(--sg-brand-ink, #071b36));
  color: var(--ntc-modal-txt, #ffffff);
  border: none;
  border-radius: var(--ntc-rs, 6px);
  font-size: var(--ntc-font-btn, .95rem);
  font-weight: 600;
  cursor: pointer;
  transition: filter var(--ntc-t, .28s);
  margin-bottom: 12px;
}
.ntchat-modal-trigger-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.ntchat-modal-trigger-btn:hover { filter: brightness(1.12); }

.ntchat-existing-hint {
  font-size: .875rem;
  color: var(--ntc-muted, #718096);
  margin: 0 0 14px;
}

/* ── Modal overlay ── */
.ntchat-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.52);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: ntchat-fade-in .18s ease;
}
.ntchat-modal-overlay[hidden] { display: none !important; }

@keyframes ntchat-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ── Modal box ── */
.ntchat-modal-box {
  background: var(--ntc-form-bg, #fff);
  border-radius: var(--ntc-r, 10px);
  box-shadow: 0 24px 64px rgba(0,0,0,.28);
  width: 100%;
  max-width: 640px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: ntchat-slide-up .2s cubic-bezier(.4,0,.2,1);
}
@keyframes ntchat-slide-up {
  from { transform: translateY(20px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

/* ── Modal header ── */
.ntchat-modal-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  background: linear-gradient(90deg, var(--sg-brand-ink, #071b36), var(--sg-brand-ink, #071b36), var(--ntc-g3, #f4d36a));
  color: var(--ntc-btn, #fff);
  flex-shrink: 0;
}
.ntchat-modal-header svg { width: 20px; height: 20px; flex-shrink: 0; }
.ntchat-modal-header span:nth-child(2) {
  flex: 1;
  font-weight: 700;
  font-size: var(--ntc-font-h, 1rem);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ntchat-modal-status {
  font-size: .76rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 99px;
  white-space: nowrap;
  background: rgba(255,255,255,.2);
  color: #fff;
}

/* ── Modal timeline (scrollable) ── */
.ntchat-modal-timeline {
  flex: 1;
  overflow-y: auto;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  scroll-behavior: smooth;
}
.ntchat-modal-timeline::-webkit-scrollbar { width: 5px; }
.ntchat-modal-timeline::-webkit-scrollbar-track { background: transparent; }
.ntchat-modal-timeline::-webkit-scrollbar-thumb {
  background: var(--ntc-form-border, #e2e8f0);
  border-radius: 99px;
}

/* ── Modal reply form ── */
.ntchat-modal-reply {
  padding: 14px 20px;
  border-top: 1px solid var(--ntc-form-border, #e2e8f0);
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}
.ntchat-modal-textarea {
  resize: none;
  font-size: var(--ntc-font-msg, .9rem);
}
.ntchat-modal-send-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 10px 20px;
  background: linear-gradient(90deg, var(--sg-brand-ink, #071b36), var(--sg-brand-ink, #071b36));
  color: var(--ntc-btn, #fff);
  border: none;
  border-radius: var(--ntc-rs, 6px);
  font-size: var(--ntc-font-btn, .9rem);
  font-weight: 600;
  cursor: pointer;
  transition: filter var(--ntc-t, .28s);
}
.ntchat-modal-send-btn svg { width: 16px; height: 16px; }
.ntchat-modal-send-btn:hover    { filter: brightness(1.1); }
.ntchat-modal-send-btn:disabled { opacity: .5; cursor: not-allowed; }

/* ── Modal footer ── */
.ntchat-modal-footer {
  padding: 12px 20px;
  border-top: 1px solid var(--ntc-form-border, #e2e8f0);
  display: flex;
  justify-content: flex-end;
  flex-shrink: 0;
}
.ntchat-modal-close-btn {
  padding: 9px 20px;
  background: transparent;
  color: var(--ntc-muted, #718096);
  border: 1px solid var(--ntc-form-border, #e2e8f0);
  border-radius: var(--ntc-rs, 6px);
  font-size: .875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--ntc-t, .28s), color var(--ntc-t, .28s);
}
.ntchat-modal-close-btn:hover {
  background: var(--ntc-form-border, #e2e8f0);
  color: var(--ntc-text, #0b1d3a);
}

/* ── "Pokaż całą rozmowę" wrapper — always visible above the toggle widget ── */
.ntchat-show-conv-wrap {
  margin-bottom: 10px;
}
.ntchat-modal-trigger-btn .ntchat-modal-trigger-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 99px;
  background: rgba(255,255,255,.25);
  font-size: .72rem;
  font-weight: 700;
  vertical-align: middle;
}

/* ── Direct discussion link (under modal trigger) ── */
.ntchat-direct-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 10px;
  font-size: .85rem;
  color: var(--sg-brand-ink, #071b36);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--ntc-t, .28s);
}
.ntchat-direct-link svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  stroke: currentColor;
}
.ntchat-direct-link:hover { color: var(--sg-brand-ink, #071b36); text-decoration: underline; }

/* ============================================================
   Warm product-page theme - SG Gloves visual convention
   ============================================================ */
.ntchat-wrapper,
.ntchat-show-conv-wrap,
.ntchat-modal-overlay {
  --ntc-brand-deep: #6b524b;
  --ntc-brand-soft: #f8fafc;
  --ntc-brand-line: #dbe4f0;
  --ntc-brand-muted: #5b6475;
  --ntc-brand-rose: var(--sg-brand-ink, #071b36);
  color: var(--ntc-text, #0b1d3a);
  font-family: var(--ntc-font, inherit);
}

.ntchat-wrapper {
  margin: 22px 0 18px;
  border-radius: var(--ntc-r, 4px);
}

.ntchat-toggle {
  min-height: 46px;
  padding: 13px 18px;
  background: linear-gradient(90deg, var(--sg-brand-ink, #071b36), var(--sg-brand-ink, #071b36));
  border: 0 !important;
  border-radius: var(--ntc-rs, 2px) !important;
  color: var(--ntc-btn, #fff) !important;
  box-shadow: none;
  text-transform: uppercase;
}

.ntchat-toggle span {
  font-size: var(--ntc-font-h, 15px) !important;
  font-weight: var(--ntc-fw-h, 600) !important;
}

.ntchat-toggle:hover,
.ntchat-submit-btn:not(:disabled):hover,
.ntchat-modal-send-btn:hover,
.ntchat-modal-trigger-btn:hover {
  filter: none;
  background-image: none !important;
  background-color: var(--sg-brand-ink, #071b36) !important;
}

.ntchat-form-container {
  background: var(--ntc-form-bg, #f8fafc) !important;
  border: 1px solid var(--ntc-form-border, #dbe4f0) !important;
  border-top: 0 !important;
  border-radius: 0 0 var(--ntc-r, 4px) var(--ntc-r, 4px);
  box-shadow: 0 12px 34px rgba(11, 29, 58, .07);
}

.ntchat-form-inner {
  padding: 24px 24px 22px;
}

.ntchat-form-head {
  margin: 0 0 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ntc-form-border, #dbe4f0);
}

.ntchat-form-kicker {
  display: block;
  margin: 0 0 5px;
  color: var(--ntc-brand-muted);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.ntchat-product-info {
  margin: 0;
  color: var(--ntc-brand-deep);
  font-size: 15px;
  line-height: 1.35;
}

.ntchat-field {
  margin-bottom: 16px;
}

.ntchat-field label {
  margin-bottom: 7px;
  color: var(--ntc-brand-deep);
  font-size: 12px;
  font-weight: 600;
}

.ntchat-input,
.ntchat-textarea,
.ntchat-select {
  min-height: 42px;
  padding: 11px 13px;
  background: var(--ntc-input-bg, #fff) !important;
  border: 1px solid var(--ntc-input-border, #b8c7da) !important;
  border-radius: var(--ntc-rs, 2px) !important;
  color: var(--ntc-input-txt, #0b1d3a);
  font-size: 13px;
  box-shadow: none;
}

.ntchat-textarea {
  min-height: 112px;
  line-height: 1.55;
  resize: vertical;
}

.ntchat-input::placeholder,
.ntchat-textarea::placeholder {
  color: #8491a3;
}

.ntchat-input:focus,
.ntchat-textarea:focus,
.ntchat-select:focus {
  border-color: var(--sg-brand-yellow, #f4d36a) !important;
  box-shadow: 0 0 0 3px rgba(244, 211, 106, .25);
}

.ntchat-input[readonly] {
  background: #fff9e5 !important;
  color: var(--ntc-brand-muted);
}

.ntchat-consent-wrapper {
  margin: 4px 0 18px;
}

.ntchat-consent-label {
  color: var(--ntc-brand-muted);
  font-size: 12px;
  line-height: 1.55;
}

.ntchat-consent-checkbox {
  accent-color: var(--sg-brand-yellow, #f4d36a);
}

.ntchat-form-footer {
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 2px;
}

.ntchat-submit-btn,
.ntchat-modal-send-btn,
.ntchat-modal-trigger-btn,
.ntchat-btn-view,
.ntchat-btn-primary {
  min-height: 40px;
  padding: 11px 20px;
  background: var(--sg-brand-ink, #071b36) !important;
  color: var(--ntc-btn, #fff) !important;
  border: 0 !important;
  border-radius: var(--ntc-rs, 2px) !important;
  box-shadow: none;
  font-size: var(--ntc-font-btn, 13px) !important;
  font-weight: 600;
  text-transform: uppercase;
}

.ntchat-submit-btn:disabled {
  background: #a9b6c8 !important;
  opacity: 1;
}

.ntchat-my-discussions,
.ntchat-direct-link,
.ntchat-back-link,
.ntchat-thread-link {
  color: var(--ntc-brand-deep);
  font-size: 12px;
  font-weight: 600;
}

.ntchat-success-msg,
.ntchat-error-msg {
  border-radius: var(--ntc-rs, 2px);
  font-size: 12px;
  font-weight: 600;
}

.ntchat-success-msg {
  background: #f6fbf4;
  border-color: #c8dfc1;
  color: #56774d;
}

.ntchat-error-msg {
  background: #fff6f4;
  border-color: var(--sg-brand-yellow, #f4d36a);
  color: #a45249;
}

.ntchat-show-conv-wrap {
  margin: 20px 0 12px;
}

.ntchat-modal-trigger-btn {
  margin-bottom: 8px;
}

.ntchat-modal-trigger-btn .ntchat-modal-trigger-badge {
  background: rgba(255, 255, 255, .24);
  border-radius: 2px;
}

.ntchat-modal-overlay {
  background: rgba(7, 27, 54, .58);
  backdrop-filter: blur(3px);
}

.ntchat-modal-box {
  max-width: 620px;
  background: var(--ntc-form-bg, #f8fafc);
  border: 1px solid var(--ntc-form-border, #dbe4f0);
  border-radius: var(--ntc-r, 4px);
  box-shadow: 0 24px 70px rgba(7, 27, 54, .22);
}

.ntchat-modal-header {
  padding: 16px 18px;
  background: #f8fafc;
  border-bottom: 1px solid var(--ntc-form-border, #dbe4f0);
  color: var(--ntc-brand-deep);
}

.ntchat-modal-header span:nth-child(2) {
  font-size: 15px;
  font-weight: 600;
}

.ntchat-modal-status {
  background: #fff9e5;
  border-radius: 2px;
  color: var(--ntc-brand-deep);
}

.ntchat-modal-x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  min-height: 30px;
  padding: 0;
  background: transparent !important;
  border: 1px solid var(--ntc-form-border, #dbe4f0) !important;
  color: var(--ntc-brand-muted);
}

.ntchat-modal-x svg {
  width: 15px;
  height: 15px;
}

.ntchat-modal-timeline {
  padding: 20px;
  background: #ffffff;
}

.ntchat-modal-reply,
.ntchat-modal-footer {
  background: var(--ntc-form-bg, #f8fafc);
  border-top-color: var(--ntc-form-border, #dbe4f0);
}

.ntchat-modal-footer {
  padding: 12px 20px 16px;
}

.ntchat-modal-close-btn {
  border-radius: var(--ntc-rs, 2px);
}

.ntchat-msg-bubble {
  border-radius: 4px;
  box-shadow: none;
}

.ntchat-msg-customer .ntchat-msg-bubble {
  border-color: var(--ntc-form-border, #dbe4f0);
}

.ntchat-msg-admin .ntchat-msg-bubble,
.ntchat-admin-page .ntchat-msg-admin .ntchat-msg-bubble {
  background: var(--ntc-msg-adm-bg, var(--sg-brand-ink, #071b36));
}

@media (max-width: 575px) {
  .ntchat-form-inner {
    padding: 20px 16px;
  }

  .ntchat-toggle,
  .ntchat-submit-btn,
  .ntchat-modal-send-btn,
  .ntchat-modal-trigger-btn {
    width: 100%;
    justify-content: center;
  }

  .ntchat-form-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .ntchat-modal-header {
    gap: 8px;
  }

  .ntchat-modal-status {
    display: none;
  }
}

/* SG-GLOVES 2026 light product-card skin */
.ntchat-wrapper {
  --ntc-g1: #071b36;
  --ntc-g2: var(--sg-brand-ink, #071b36);
  --ntc-g3: #f7f8fb;
  --ntc-text: #101828;
  --ntc-muted: #667085;
  --ntc-border: #e7edf3;
  --ntc-bg: #ffffff;
  margin: 18px 0 !important;
  color: var(--ntc-text) !important;
}

.ntchat-toggle {
  min-height: 56px !important;
  padding: 14px 18px !important;
  gap: 12px !important;
  background: #ffffff !important;
  color: #101828 !important;
  border: 1px solid var(--ntc-border) !important;
  border-left: 4px solid var(--sg-brand-yellow, #f4d36a) !important;
  border-radius: 8px !important;
  box-shadow: 0 14px 34px rgba(16, 24, 40, .055) !important;
  font-weight: 500 !important;
  text-transform: none !important;
}

.ntchat-toggle:hover {
  filter: none !important;
  border-color: rgba(244, 211, 106, .36) !important;
  box-shadow: 0 18px 42px rgba(16, 24, 40, .075) !important;
}

.ntchat-toggle span {
  color: inherit !important;
  font-size: 1rem !important;
  font-weight: var(--sg-type-button-font-weight, 300) !important;
  letter-spacing: 0 !important;
}

.ntchat-icon {
  box-sizing: border-box !important;
  flex: 0 0 22px !important;
  width: 22px !important;
  height: 22px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: inherit !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.65 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

.ntchat-chevron {
  width: 20px !important;
  height: 20px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: inherit !important;
  stroke: currentColor !important;
  stroke-width: 1.65 !important;
}

.ntchat-form-container {
  margin-top: 8px !important;
  background: #ffffff !important;
  border: 1px solid var(--ntc-border) !important;
  border-radius: 8px !important;
  box-shadow: 0 14px 34px rgba(16, 24, 40, .055) !important;
}

.ntchat-form-inner {
  padding: 18px !important;
}

.ntchat-field label {
  color: #101828 !important;
  font-weight: 500 !important;
}

.ntchat-input,
.ntchat-textarea,
.ntchat-select {
  background: #f8fafc !important;
  border-color: var(--ntc-border) !important;
  border-radius: 8px !important;
  color: #101828 !important;
  font-weight: 400 !important;
}

.ntchat-submit-btn,
.ntchat-modal-send-btn,
.ntchat-btn-primary {
  background: var(--sg-brand-ink, #071b36) !important;
  color: #ffffff !important;
  border-radius: 8px !important;
  box-shadow: 0 14px 28px rgba(7, 27, 54, .18) !important;
  font-weight: 500 !important;
}

.ntchat-modal-trigger-btn {
  background: #071b36 !important;
  color: #ffffff !important;
  border-radius: 8px !important;
  font-weight: 500 !important;
}

.ntchat-direct-link,
.ntchat-my-discussions {
  color: var(--sg-brand-ink, #071b36) !important;
  font-weight: 500 !important;
}

.ntchat-account-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: inherit;
}

.ntchat-account-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* SG-GLOVES 2026: full-width product discussion section */
body#product .sg-product-wide-section--chat {
  width: 100% !important;
  max-width: none !important;
  margin: 24px 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body#product .sg-product-wide-section--chat .ntchat-wrapper,
body#product .sg-product-wide-section--chat .ntchat-show-conv-wrap {
  width: 100% !important;
  max-width: none !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
}

body#product .sg-product-wide-section--chat .ntchat-wrapper {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

body#product .sg-product-wide-section--chat .ntchat-toggle {
  min-height: 76px !important;
  padding: 16px 22px !important;
  background: #0b2f5b !important;
  color: #ffffff !important;
  border: 1px solid #0b2f5b !important;
  border-left: 4px solid var(--sg-brand-yellow, #f4d36a) !important;
  border-radius: 8px !important;
  box-shadow: 0 16px 36px rgba(11, 47, 91, .14) !important;
  text-align: left !important;
  transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease !important;
}

body#product .sg-product-wide-section--chat .ntchat-toggle:hover,
body#product .sg-product-wide-section--chat .ntchat-toggle:focus-visible {
  background: #ffffff !important;
  color: #0b2f5b !important;
  border-color: #0b2f5b !important;
  box-shadow: 0 18px 40px rgba(16, 24, 40, .10) !important;
  filter: none !important;
  outline: none !important;
}

body#product .sg-product-wide-section--chat .ntchat-icon {
  flex: 0 0 24px !important;
  width: 24px !important;
  height: 24px !important;
  color: inherit !important;
}

body#product .sg-product-wide-section--chat .ntchat-toggle-copy {
  display: flex !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 3px !important;
  color: inherit !important;
  text-align: left !important;
}

body#product .sg-product-wide-section--chat .ntchat-toggle-title {
  display: block !important;
  flex: 0 0 auto !important;
  color: inherit !important;
  font-size: 1.05rem !important;
  font-weight: 500 !important;
  line-height: 1.25 !important;
}

body#product .sg-product-wide-section--chat .ntchat-toggle-copy small {
  display: block !important;
  flex: 0 0 auto !important;
  color: inherit !important;
  font-size: .86rem !important;
  font-weight: 300 !important;
  line-height: 1.4 !important;
  opacity: .78 !important;
}

body#product .sg-product-wide-section--chat .ntchat-chevron {
  flex: 0 0 20px !important;
  color: inherit !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body#product .sg-product-wide-section--chat .ntchat-form-container {
  margin-top: 10px !important;
  border: 1px solid #dbe4ef !important;
  border-radius: 8px !important;
  box-shadow: 0 18px 44px rgba(16, 24, 40, .06) !important;
}

body#product .sg-product-wide-section--chat .ntchat-form-inner {
  padding: 24px !important;
}

body#product .sg-product-wide-section--chat .ntchat-fields-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 16px !important;
}

body#product .sg-product-wide-section--chat .ntchat-fields-grid--single {
  grid-template-columns: minmax(0, 1fr) !important;
}

body#product .sg-product-wide-section--chat .ntchat-fields-grid .ntchat-field {
  margin-bottom: 0 !important;
}

body#product .sg-product-wide-section--chat .ntchat-field--message {
  margin-top: 16px !important;
}

body#product .sg-product-wide-section--chat .ntchat-submit-btn {
  background: #0b2f5b !important;
  border: 1px solid #0b2f5b !important;
  border-radius: 8px !important;
  font-weight: 400 !important;
  text-transform: none !important;
}

body#product .sg-product-wide-section--chat .ntchat-submit-btn:not(:disabled):hover,
body#product .sg-product-wide-section--chat .ntchat-submit-btn:not(:disabled):focus-visible {
  background: #ffffff !important;
  color: #0b2f5b !important;
  border: 1px solid #0b2f5b !important;
  filter: none !important;
}

body#product .sg-product-wide-section--chat .ntchat-show-conv-wrap {
  margin-top: 0 !important;
  margin-bottom: 12px !important;
}

body#product .sg-product-wide-section--chat .ntchat-modal-trigger-btn {
  width: 100% !important;
  min-height: 56px !important;
  margin: 0 !important;
  justify-content: flex-start !important;
  background: #ffffff !important;
  color: #0b2f5b !important;
  border: 1px solid #dbe4ef !important;
  border-left: 4px solid var(--sg-brand-yellow, #f4d36a) !important;
  border-radius: 8px !important;
  box-shadow: 0 14px 32px rgba(16, 24, 40, .05) !important;
  font-weight: 400 !important;
  text-transform: none !important;
}

body#product .sg-product-wide-section--chat .ntchat-modal-trigger-btn:hover,
body#product .sg-product-wide-section--chat .ntchat-modal-trigger-btn:focus-visible {
  background: #0b2f5b !important;
  color: #ffffff !important;
  border-color: #0b2f5b !important;
  border-left-color: var(--sg-brand-yellow, #f4d36a) !important;
  filter: none !important;
  outline: none !important;
}

body#product .sg-product-wide-section--chat .ntchat-modal-trigger-badge {
  margin-left: auto !important;
  background: rgba(244, 211, 106, .12) !important;
  color: var(--sg-brand-ink, #071b36) !important;
}

body#product .sg-product-wide-section--chat .ntchat-modal-trigger-btn:hover .ntchat-modal-trigger-badge,
body#product .sg-product-wide-section--chat .ntchat-modal-trigger-btn:focus-visible .ntchat-modal-trigger-badge {
  background: rgba(255, 255, 255, .14) !important;
  color: #ffffff !important;
}

@media (max-width: 767.98px) {
  body#product .sg-product-wide-section--chat {
    margin: 16px 0 !important;
  }

  body#product .sg-product-wide-section--chat .ntchat-toggle {
    min-height: 68px !important;
    padding: 14px 16px !important;
    justify-content: flex-start !important;
  }

  body#product .sg-product-wide-section--chat .ntchat-toggle-copy small {
    display: none !important;
  }

  body#product .sg-product-wide-section--chat .ntchat-form-inner {
    padding: 18px 16px !important;
  }

  body#product .sg-product-wide-section--chat .ntchat-fields-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 14px !important;
  }

  body#product .sg-product-wide-section--chat .ntchat-field--message {
    margin-top: 14px !important;
  }
}
