/* ========================================================
   MASTER STYLESHEET — PRODUCTION READY
   Combines: Admin Theme + Product Category + Product
   Detail (IB Page) Styles
   ======================================================== */

/* --------------------------------------------------------
   GOOGLE FONTS
   -------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@500;600;700&family=Sora:wght@400;500;600;700;800&family=Manrope:wght@600;700;800&display=swap');


/* ========================================================
   SECTION 1 — CSS VARIABLES (ROOT)
   ======================================================== */
:root {
  /* Admin / Dashboard */
  --wp-bg: #f8fafc;
  --wp-sidebar: #0f172a;
  --wp-sidebar-hover: #1e293b;
  --wp-white: #ffffff;
  --wp-border: #e2e8f0;
  --wp-blue: #3b82f6;
  --wp-blue-hover: #2563eb;
  --wp-blue-glow: rgba(59, 130, 246, 0.4);
  --wp-text: #334155;
  --wp-text-light: #64748b;
  --shadow-sm: 0 12px 30px rgba(15, 23, 42, 0.06);

  /* Product Category / SaaS */
  --primary: #0d6efd;
  --primary-dark: #0b5ed7;
  --bg: #f5f7fb;
  --card: #ffffff;
  --text: #243042;
  --muted: #6c7a89;
  --border: #e9eef5;
  --soft: #f8fafc;
  --success: #198754;
  --danger: #dc3545;
  --warning: #f59f00;

  /* Product Detail (IB Page) */
  --ib-bg: #f3f4f6;
  --ib-card: #ffffff;
  --ib-line: #e2e5ea;
  --ib-ink: #1f2f5c;
  --ib-muted: #5e6d86;
  --ib-accent: #17a9e1;
  --ib-accent-dark: #0f8dc0;
  --ib-deep: #1d2a4d;
  --ib-green: #17a9e1;
}


/* ========================================================
   SECTION 2 — BASE LAYOUT & TYPOGRAPHY
   ======================================================== */
/* Admin-only styles are scoped to AdminLTE pages (body.hold-transition) so
   this stylesheet can also be loaded on the frontend safely. */
body.hold-transition {
  font-family: 'Inter', sans-serif !important;
  background-color: var(--wp-bg) !important;
  color: var(--wp-text);
  overflow-x: hidden;
}

.content-wrapper,
.main-footer {
  background-color: var(--wp-bg) !important;
}

.content-wrapper {
  padding-top: 130px !important;
  margin-right: 32px !important;
  margin-bottom: 32px !important;
  border-radius: 24px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02) !important;
  margin-left: calc(250px + 64px) !important;
  transition: margin-left 0.3s ease-in-out !important;
  min-height: calc(100vh - 64px) !important;
}

.sidebar-collapse .content-wrapper {
  margin-left: calc(73px + 64px) !important;
}


/* ========================================================
   SECTION 3 — FLOATING GLASS NAVBAR
   ======================================================== */
.main-header.navbar {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  background: rgba(255, 255, 255, 0.75) !important;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.6) !important;
  border-radius: 16px !important;
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.08),
              0 4px 6px -2px rgba(0, 0, 0, 0.04) !important;
  margin: 32px 32px 24px 32px !important;
  margin-left: calc(250px + 64px) !important;
  padding: 0.5rem 1.5rem !important;
  transition: all 0.3s ease-in-out !important;
  width: auto !important;
  z-index: 1030 !important;
}

.sidebar-collapse .main-header.navbar {
  margin-left: calc(73px + 64px) !important;
}

.hold-transition .navbar-nav .nav-link {
  color: var(--wp-text) !important;
  font-weight: 500;
  background: #f1f5f9;
  border-radius: 50% !important;
  padding: 10px !important;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 12px;
  border: 1px solid rgba(0, 0, 0, 0.04);
}


/* ========================================================
   SECTION 4 — FLOATING SIDEBAR
   ======================================================== */
.main-sidebar::before {
  display: none !important;
}

.main-sidebar.sidebar-dark-primary {
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%) !important;
  box-shadow: 10px 0 30px rgba(0, 0, 0, 0.05) !important;
  top: 32px !important;
  left: 32px !important;
  bottom: 32px !important;
  margin: 0 !important;
  height: calc(100vh - 64px) !important;
  border-radius: 16px !important;
  overflow-y: auto !important;
  z-index: 1040;
}


/* ========================================================
   SECTION 5 — BOOTSTRAP CARD OVERRIDE
   ======================================================== */
.hold-transition .card {
  border: none !important;
  border-radius: 20px !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.03) !important;
  background: #ffffff;
  margin-bottom: 2rem;
  overflow: hidden;
}

.hold-transition .card-header {
  background: #ffffff !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.03) !important;
  padding: 1.5rem !important;
  font-family: 'Outfit', sans-serif;
}

.hold-transition .card-title {
  font-weight: 600 !important;
  color: #1e293b !important;
  font-size: 1.1rem !important;
}


/* ========================================================
   SECTION 6 — BOOTSTRAP BUTTON OVERRIDE
   ======================================================== */
.hold-transition .btn {
  border-radius: 10px !important;
  font-weight: 600 !important;
  padding: 0.625rem 1rem !important;
  border: none !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: none !important;
}

.hold-transition .btn-primary {
  background: linear-gradient(135deg, var(--wp-blue) 0%, #6366f1 100%) !important;
  color: white !important;
  box-shadow: 0 4px 12px var(--wp-blue-glow) !important;
  border-color: var(--primary);
}

.hold-transition .btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #2563eb 100%) !important;
  border-color: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px var(--wp-blue-glow) !important;
}

.hold-transition .btn-info    { background: #0ea5e9 !important; color: #fff !important; }
.hold-transition .btn-success { background: #10b981 !important; color: #fff !important; }
.hold-transition .btn-danger  { background: #ef4444 !important; color: #fff !important; }

.hold-transition .btn-light {
  background: #fff;
  border: 1px solid var(--border) !important;
  color: #334155;
}

.hold-transition .btn-light:hover {
  background: #f8fafc;
  border-color: #dbe4ef !important;
}

.hold-transition .btn-icon {
  width: 38px;
  height: 38px;
  padding: 0 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px !important;
}

.hold-transition .btn-edit {
  background: rgba(13, 110, 253, 0.08);
  color: var(--primary);
  border: 1px solid rgba(13, 110, 253, 0.12) !important;
}

.hold-transition .btn-edit:hover {
  background: rgba(13, 110, 253, 0.14);
  color: var(--primary-dark);
}

.hold-transition .btn-delete {
  background: rgba(220, 53, 69, 0.08);
  color: var(--danger);
  border: 1px solid rgba(220, 53, 69, 0.12) !important;
}

.hold-transition .btn-delete:hover {
  background: rgba(220, 53, 69, 0.14);
  color: #b02a37;
}

.hold-transition .btn-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  border-radius: 10px !important;
  font-weight: 700;
  text-decoration: none !important;
  background: #fff;
  color: #334155;
  border: 1px solid var(--border) !important;
}

.hold-transition .btn-back:hover {
  color: #111827;
  background: #f8fafc;
  text-decoration: none;
}


/* ========================================================
   SECTION 7 — BOOTSTRAP TABLE OVERRIDE
   ======================================================== */
.hold-transition .table { margin-bottom: 0; }

.hold-transition .table-bordered { border: none !important; }

.hold-transition .table-bordered th,
.hold-transition .table-bordered td {
  border: none !important;
  border-bottom: 1px solid #f1f5f9 !important;
  padding: 1.2rem !important;
  vertical-align: middle !important;
  font-size: 14px;
}

.hold-transition .table thead th {
  background: #f8fafc !important;
  color: #64748b !important;
  font-weight: 800 !important;
  text-transform: uppercase;
  font-size: 0.78rem !important;
  letter-spacing: 0.06em;
  border-top: none !important;
  border-bottom: none !important;
  padding: 0.85rem 1rem !important;
}

.hold-transition table.dataTable {
  border-collapse: separate !important;
  border-spacing: 0 10px !important;
  margin-top: 0 !important;
}

.hold-transition .table tbody tr {
  background: #fff;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.hold-transition .table tbody td {
  padding: 1rem !important;
  vertical-align: middle;
  border-top: 1px solid var(--border) !important;
  border-bottom: 1px solid var(--border) !important;
  color: #243042;
  font-size: 0.95rem;
}

.hold-transition .table tbody td:first-child {
  border-left: 1px solid var(--border) !important;
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
}

.hold-transition .table tbody td:last-child {
  border-right: 1px solid var(--border) !important;
  border-top-right-radius: 12px;
  border-bottom-right-radius: 12px;
}

.hold-transition .table tbody tr:hover td {
  background: #fbfdff;
}


/* ========================================================
   SECTION 8 — FORM CONTROLS
   ======================================================== */
.hold-transition .form-group label {
  font-weight: 700 !important;
  color: #243042;
  margin-bottom: 0.5rem;
  font-size: 0.92rem;
}

.hold-transition .form-control {
  border: 1px solid #d7e0ea;
  border-radius: 10px;
  min-height: 46px;
  padding: 0.7rem 0.95rem;
  color: #243042;
  font-size: 0.95rem;
  box-shadow: none;
}

.hold-transition .form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.10);
}

.is-invalid {
  border-color: #dc3545 !important;
  background-image: none !important;
}

.invalid-feedback {
  font-size: 0.82rem;
  font-weight: 600;
  margin-top: 0.45rem;
}

.required-mark { color: #dc3545; }

.small-note,
.field-note {
  font-size: 0.82rem;
  color: #7b8794;
  margin-top: 0.4rem;
}

.char-count {
  font-size: 11px;
  color: #94a3b8;
  text-align: right;
  margin-top: 4px;
}


/* ========================================================
   SECTION 9 — MODAL OVERRIDE
   ======================================================== */
.hold-transition .modal-content {
  border: none;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 25px 70px rgba(15, 23, 42, 0.18);
}

.hold-transition .modal-header {
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 1.5rem;
}

.hold-transition .modal-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #1f2d3d;
}

.hold-transition .modal-body  { padding: 1.5rem; }

.hold-transition .modal-footer {
  background: #fbfcfe;
  border-top: 1px solid var(--border);
  padding: 1rem 1.5rem;
}


/* ========================================================
   SECTION 10 — PAGE HERO & BREADCRUMB
   ======================================================== */
.page-hero {
  background: linear-gradient(135deg, #ffffff 0%, #f7faff 100%);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.page-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: #111827;
  margin: 0 0 0.35rem 0;
  letter-spacing: -0.4px;
}

.page-subtitle {
  color: var(--muted);
  margin-bottom: 0;
  font-size: 0.95rem;
}

.breadcrumb-modern {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.7rem 1rem;
  margin: 0;
}

.breadcrumb-modern .breadcrumb-item a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}

.breadcrumb-modern .breadcrumb-item.active {
  color: var(--primary);
  font-weight: 700;
}


/* ========================================================
   SECTION 11 — STAT CARDS
   ======================================================== */
.stat-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1rem 1.2rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
  height: 100%;
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.icon-blue   { background: rgba(13, 110, 253, 0.10); color: var(--primary); }
.icon-green  { background: rgba(25, 135, 84, 0.10);  color: var(--success); }
.icon-orange { background: rgba(245, 159, 0, 0.12);  color: var(--warning); }

.stat-label {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.stat-value {
  font-size: 1.45rem;
  font-weight: 800;
  color: #182433;
  line-height: 1.1;
}


/* ========================================================
   SECTION 12 — MAIN CARD (PRODUCT CATEGORY)
   ======================================================== */
.main-card {
  border: none;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.06);
  background: #fff;
  margin-bottom: 1.5rem;
}

.main-card .card-header {
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
  border-bottom: 1px solid var(--border);
  padding: 1.35rem 1.5rem;
}

.card-title-main {
  font-size: 1.15rem;
  font-weight: 800;
  color: #1f2d3d;
  margin: 0;
}

.card-subtitle-main {
  margin: 0.2rem 0 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.toolbar-box {
  background: #f9fbfd;
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.5rem;
}

.table-wrap {
  padding: 0 1.5rem 1.5rem 1.5rem;
}


/* ========================================================
   SECTION 13 — TABLE BADGES & PILLS
   ======================================================== */
.category-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #f8fbff;
  border: 1px solid #dce9ff;
  color: #1849a9;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.83rem;
}

.id-pill {
  background: #f4f7fb;
  color: #51606f;
  border: 1px solid #e4ebf3;
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 700;
  display: inline-block;
}

.name-block {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.name-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #e8f1ff 0%, #dbeafe 100%);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.name-title {
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.15rem;
}

.name-meta {
  font-size: 0.82rem;
  color: #7b8794;
}


/* ========================================================
   SECTION 14 — DATATABLES CUSTOM STYLE
   ======================================================== */
.dataTables_filter label,
.dataTables_length label {
  font-weight: 600;
  color: #475569;
  margin-bottom: 0;
}

.dataTables_filter input,
.dataTables_length select {
  border: 1px solid #dbe4ef !important;
  border-radius: 10px !important;
  min-height: 40px;
  padding: 0.45rem 0.8rem !important;
  background: #fff;
  outline: none !important;
}

.dataTables_filter input:focus,
.dataTables_length select:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.10) !important;
}

.dataTables_info {
  color: #64748b !important;
  font-weight: 600;
  padding-top: 1rem !important;
}

.dataTables_paginate { padding-top: 0.75rem !important; }

.dataTables_paginate .paginate_button {
  border: none !important;
  background: transparent !important;
  margin: 0 0.15rem;
}

.dataTables_paginate .paginate_button,
.dataTables_paginate .paginate_button .page-link {
  border-radius: 10px !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
  background: var(--primary) !important;
  color: #fff !important;
  border: none !important;
}


/* ========================================================
   SECTION 15 — WP EDITOR / PRODUCT ADD-EDIT LAYOUT
   ======================================================== */
.wp-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.wp-topbar h1 {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 700;
  color: #1e293b;
}

.wp-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  padding-bottom: 40px;
}

.wp-panel {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  margin-bottom: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  overflow: hidden;
}

.wp-panel-hd {
  padding: 16px 20px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  font-weight: 600;
  color: #334155;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wp-panel-bd { padding: 20px; }

.post-title-input {
  width: 100%;
  font-size: 24px;
  padding: 16px 20px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  margin-bottom: 16px;
  font-weight: 600;
  color: #0f172a;
  outline: none;
  transition: border-color 0.2s;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.post-title-input:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.permalink-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 13px;
  color: #475569;
  margin-bottom: 24px;
}

.permalink-bar strong { color: #334155; }
.slug-display { background: #f1f5f9; padding: 2px 8px; border-radius: 4px; font-weight: 500; color: #0f172a; }
.slug-input-field { display: none; border: 1px solid #cbd5e1; border-radius: 4px; padding: 2px 8px; font-size: 13px; outline: none; }
.hold-transition .btn-slug { border: none; background: none; color: #3b82f6; font-size: 13px; cursor: pointer; font-weight: 500; text-decoration: underline; }

.hold-transition .btn-publish {
  width: 100%;
  padding: 12px;
  background: #3b82f6;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.hold-transition .btn-publish:hover {
  background: #2563eb;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.hold-transition .btn-draft {
  width: 100%;
  padding: 10px;
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-weight: 500;
  font-size: 14px;
  margin-top: 10px;
  cursor: pointer;
  transition: all 0.2s;
}

.hold-transition .btn-draft:hover { background: #e2e8f0; color: #1e293b; }


/* ========================================================
   SECTION 16 — SEO / SERP PREVIEW BOX
   ======================================================== */
.serp-box {
  background: #fff;
  border: 1px solid #e2e8f0;
  padding: 16px;
  border-radius: 8px;
  margin-top: 8px;
  margin-bottom: 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.serp-site { font-size: 12px; color: #475569; margin-bottom: 4px; display: flex; align-items: center; gap: 6px; }
.serp-title { font-size: 20px; color: #1a0dab; text-decoration: none; margin-bottom: 4px; display: block; line-height: 1.3; font-family: arial, sans-serif; }
.serp-desc { font-size: 14px; color: #4d5156; line-height: 1.5; font-family: arial, sans-serif; }

.seo-bar { height: 4px; background: #e2e8f0; border-radius: 2px; margin-bottom: 8px; overflow: hidden; }
.seo-bar-fill { height: 100%; transition: width 0.3s ease, background 0.3s ease; }


/* ========================================================
   SECTION 17 — PRODUCT IMAGE UPLOAD
   ======================================================== */
.img-drop-zone {
  border: 2px dashed #cbd5e1;
  border-radius: 8px;
  padding: 24px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s;
  background: #f8fafc;
}

.img-drop-zone:hover { border-color: #3b82f6; background: #eff6ff; }
.img-thumb { width: 100%; border-radius: 6px; border: 1px solid #e2e8f0; height: auto; }
.img-thumb-wrap { position: relative; display: inline-block; margin-bottom: 12px; width: 100%; }

.preview-image,
.js--image-preview {
  width: 100%;
  max-height: 200px;
  object-fit: cover;
  border-radius: 12px;
  border: 2px dashed #e2e8f0;
  margin-top: 10px;
}

.upload-note {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #9a3412;
  border-radius: 12px;
  padding: 0.85rem 1rem;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.upload-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  padding: 0.9rem;
  height: 100%;
}

.upload-preview {
  width: 100%;
  height: 190px;
  border-radius: 12px;
  background: #f8fafc center center / cover no-repeat;
  border: 1px dashed #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 1.4rem;
  margin-bottom: 0.85rem;
  overflow: hidden;
  position: relative;
}

.upload-preview.has-image { border-style: solid; }
.upload-preview img { width: 100%; height: 100%; object-fit: cover; display: block; }

.upload-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  min-height: 42px;
  border-radius: 10px;
  border: 1px dashed #bfd3f8;
  background: #f7fbff;
  color: var(--wp-blue);
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: 0.55rem;
}

.upload-btn:hover { background: #eef6ff; border-color: var(--wp-blue); }
.upload-meta { font-size: 0.8rem; color: #7b8794; text-align: center; margin: 0; }


/* ========================================================
   SECTION 18 — PRODUCT ADD/EDIT PANELS
   ======================================================== */
.title-card,
.side-card {
  border: none;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: #fff;
  margin-bottom: 1.5rem;
}

.section-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  color: #111827;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.flash-success {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: #ecfdf3;
  color: #166534;
  border: 1px solid #ccebd7;
  border-radius: 14px;
  padding: 0.9rem 1rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.title-wrap { padding: 1.25rem; background: #fff; }

.title-label {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
  margin-bottom: 0.65rem;
}

.title-input {
  width: 100%;
  border: none;
  outline: none;
  font-size: 1.9rem;
  line-height: 1.3;
  font-weight: 800;
  color: #111827;
  padding: 0;
  background: transparent;
}

.title-input::placeholder { color: #9ca3af; font-weight: 700; }

.helper-box {
  margin-top: 1rem;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  color: #475569;
  font-size: 0.9rem;
}

.input-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.price-row { display: flex; gap: 16px; }
.price-row > div { flex: 1; }

.small-head {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
  margin-bottom: 0.75rem;
}

.side-sticky { position: sticky; top: 85px; }

.publish-btn {
  width: 100%;
  min-height: 46px;
  border: none;
  border-radius: 12px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--wp-blue) 0%, #2563eb 100%);
}

.publish-btn:hover {
  background: linear-gradient(135deg, var(--wp-blue-hover) 0%, #1d4ed8 100%);
  transform: translateY(-1px);
}


/* ========================================================
   SECTION 19 — SUMMERNOTE EDITOR SHELL
   ======================================================== */
.editor-shell .note-editor {
  border: 1px solid var(--border) !important;
  border-radius: 14px !important;
  overflow: hidden;
  box-shadow: none !important;
}

.editor-shell .note-toolbar {
  background: #fbfcfe !important;
  border-bottom: 1px solid var(--border) !important;
}

.editor-shell .note-editing-area { background: #fff; }

.editor-shell .note-editor.note-frame .note-editing-area .note-editable {
  min-height: 220px;
  color: #243042;
  padding: 16px;
  line-height: 1.75;
}


/* ========================================================
   SECTION 20 — DASHBOARD SPECIFIC
   ======================================================== */
.welcome-card {
  background: linear-gradient(135deg, var(--wp-blue) 0%, #6366f1 100%);
  color: white;
  padding: 24px 32px;
  border-radius: 20px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}

.welcome-card h2 { font-family: 'Outfit', sans-serif; font-weight: 700; margin-bottom: 4px; font-size: 1.5rem; }
.welcome-card p  { opacity: 0.9; font-size: 14px; margin: 0; }
.welcome-card .fa-tachometer { position: absolute; right: 30px; top: 50%; transform: translateY(-50%); font-size: 70px; opacity: 0.1; }

.chart-container { height: 300px; position: relative; }

.quick-action-btn {
  padding: 15px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  text-align: center;
  transition: all 0.2s;
  text-decoration: none !important;
  color: #334155 !important;
  display: block;
  margin-bottom: 15px;
}

.quick-action-btn:hover {
  background: #fff;
  border-color: var(--wp-blue);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transform: translateY(-2px);
}

.quick-action-btn i    { font-size: 20px; color: var(--wp-blue); margin-bottom: 8px; display: block; }
.quick-action-btn span { font-weight: 600; font-size: 13px; }


/* ========================================================
   SECTION 21 — IB PRODUCT DETAIL PAGE (FRONTEND)
   ======================================================== */
.page-content.ib-page {
  background: var(--ib-bg);
  color: var(--ib-ink);
  font-family: 'Sora', 'Poppins', sans-serif;
  padding-top: var(--ib-header-offset, 0px);
}

/* Top Bar */
.ib-topbar { background: var(--ib-deep); color: #fff; font-size: 12px; }

.ib-topbar-inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.ib-topbar-left i,
.ib-topbar-right a i { color: var(--ib-accent); }

.ib-topbar-right a { color: #fff; margin-left: 14px; white-space: nowrap; }

/* Header */
.ib-header { background: #fff; border-bottom: 1px solid #dde4eb; }

.ib-header-inner { min-height: 64px; display: flex; align-items: center; gap: 12px; }

.ib-cat-btn { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: #2c4562; font-weight: 700; white-space: nowrap; }

.ib-logo img { height: 34px; width: auto; }
.ib-search { flex: 1 1 auto; }
.ib-search .input-group { border: 1px solid #d5dee8; border-radius: 4px; overflow: hidden; }
.ib-search .form-control { border: 0; font-size: 12px; height: 34px; }
.ib-search .btn { border: 0; border-left: 1px solid #d5dee8; background: var(--ib-accent); color: #fff; font-size: 13px; }

.ib-header-actions { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.ib-quick-link { color: #354f6d; font-size: 12px; font-weight: 600; }

.ib-help-btn,
.ib-login-btn { border: 1px solid #d3dce7; border-radius: 4px; padding: 6px 12px; font-size: 12px; font-weight: 700; color: #2a4361; background: #fff; }
.ib-help-btn { background: var(--ib-accent); border-color: var(--ib-accent); color: #fff; }

/* Breadcrumb */
.ib-breadcrumb-wrap { background: #fff; border-bottom: 1px solid var(--ib-line); }
.ib-breadcrumb { background: transparent; margin-bottom: 0; padding: 0; font-size: 12px; }
.ib-breadcrumb .breadcrumb-item a { color: #4e5f77; }
.ib-breadcrumb .breadcrumb-item.active { color: #758196; }

/* Main Product Card */
.ib-main-card {
  background: var(--ib-card);
  border: 1px solid var(--ib-line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 14px 32px rgba(14, 31, 53, 0.06);
}

.ib-col-divider { border-right: 1px solid var(--ib-line); }

/* Gallery */
.ib-gallery-stage {
  height: 430px;
  border: 1px solid #dfe5ed;
  border-radius: 8px;
  background: linear-gradient(180deg, #f8fbff 0%, #eef3f8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.ib-gallery-stage img { max-width: 100%; max-height: 100%; object-fit: contain; }

.ib-thumb-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

.ib-thumb {
  width: 62px;
  height: 62px;
  border: 1px solid #d4deea;
  background: #fff;
  border-radius: 6px;
  padding: 4px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.ib-thumb img { width: 100%; height: 100%; object-fit: contain; }

.ib-thumb:hover,
.ib-thumb.active { border-color: var(--ib-accent); transform: translateY(-1px); }

/* Product Info */
.ib-product-title { font-size: 24px; line-height: 1.36; margin-bottom: 10px; font-family: 'Manrope', 'Sora', sans-serif; word-break: break-word; }

.ib-rating-line { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; font-size: 13px; }

.ib-rating-badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 4px; background: #eaf7fd; color: #116a8d; font-weight: 700; border: 1px solid #cfeaf7; }

.ib-brand-link { color: #20aae4; font-weight: 700; }

.ib-badges .badge { margin-right: 6px; margin-bottom: 4px; border: 1px solid #d4e1ef; font-size: 11px; text-transform: uppercase; letter-spacing: 0.04em; }

.ib-short-text { color: var(--ib-muted); font-size: 14px; line-height: 1.66; margin-bottom: 12px; }

/* Cards within product info */
.ib-select-card,
.ib-offer-card,
.ib-mini-spec {
  border: 1px solid var(--ib-line);
  border-radius: 8px;
  background: #fff;
  margin-bottom: 14px;
}

.ib-select-card { padding: 13px 12px; }
.ib-offer-card  { padding: 13px 12px; background: #f7fcff; }

.ib-price-inline-card {
  background: linear-gradient(180deg, #ffffff 0%, #f2faff 100%);
  border-color: #cfe7f5;
}

.ib-price-inline-card .ib-price    { font-size: 28px; margin-bottom: 6px; }
.ib-price-inline-card .ib-price-sub { margin-bottom: 10px; }
.ib-price-inline-card .ib-btn-primary { margin-bottom: 0; }
.ib-price-inline-card .ib-label    { color: #5a6f8a; }

.ib-price-action-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ib-price-action-row .ib-price     { margin-bottom: 2px; }
.ib-price-action-row .ib-price-sub { margin-bottom: 0; }
.ib-price-action-row .ib-btn-primary { width: auto; min-width: 190px; padding-left: 20px; padding-right: 20px; }

/* Label */
.ib-label { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; color: #64748b; margin-bottom: 6px; font-weight: 700; }

/* Offers */
.ib-offer-item { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 7px; font-size: 13px; color: #495a70; }
.ib-offer-item:last-child { margin-bottom: 0; }
.ib-offer-item i { color: var(--ib-accent); margin-top: 2px; }

/* Mini Spec */
.ib-mini-spec table { margin-bottom: 0; }
.ib-mini-spec th, .ib-mini-spec td { border-color: #e3e9f0; font-size: 13px; padding: 10px 11px; }
.ib-mini-spec th { width: 38%; color: #3f566f; }

/* Buy Panel */
.ib-buy-panel { border: 1px solid var(--ib-line); border-radius: 8px; padding: 14px; position: sticky; top: 90px; }

.ib-price { font-family: 'Manrope', 'Sora', sans-serif; font-size: 34px; line-height: 1; color: #111f34; margin-bottom: 6px; }

.is-blurred-price { display: inline-block; filter: blur(5px); user-select: none; }

.ib-price-sub { color: #6f7f95; font-size: 12px; margin-bottom: 10px; }

.ib-qty-wrap { display: inline-flex; align-items: center; border: 1px solid #d2dbe7; border-radius: 999px; overflow: hidden; margin-bottom: 12px; }
.ib-qty-btn   { border: 0; background: #f6f8fb; width: 34px; height: 34px; font-weight: 700; color: #324a67; }
.ib-qty-input { width: 42px; border: 0; text-align: center; font-weight: 700; color: #253c58; font-size: 14px; }

/* IB Buttons */
.ib-btn-primary,
.ib-btn-secondary,
.ib-btn-deep { width: 100%; font-weight: 700; border-radius: 4px; margin-bottom: 8px; border: 0; padding: 10px 12px; font-size: 13px; letter-spacing: 0.03em; }

.ib-btn-primary { background: var(--ib-accent); color: #fff; box-shadow: 0 6px 14px rgba(23, 169, 225, 0.30); }
.ib-btn-primary:hover { background: var(--ib-accent-dark); color: #fff; }

.ib-btn-deep { background: var(--ib-deep); color: #fff; }
.ib-btn-deep:hover { background: #16223f; color: #fff; }

.page-content.ib-page .btn-warning {
  background: var(--ib-accent);
  border-color: var(--ib-accent);
  color: #fff;
}

.page-content.ib-page .btn-warning:hover,
.page-content.ib-page .btn-warning:focus {
  background: var(--ib-accent-dark);
  border-color: var(--ib-accent-dark);
  color: #fff;
}

/* Contact Grid */
.ib-contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }

.ib-contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid #d9e4ef;
  border-radius: 6px;
  padding: 9px 6px;
  text-align: center;
  color: #445a77;
  font-size: 12px;
  line-height: 1.4;
  text-decoration: none !important;
  background: #fff;
  transition: all 0.2s ease;
}

.ib-contact-item:hover { border-color: var(--ib-accent); color: #1d3653; transform: translateY(-1px); }
.ib-contact-item i { display: block; margin-bottom: 5px; font-size: 14px; }
.ib-contact-item.whatsapp i { color: #25d366; }

/* Pin Box */
.ib-pin-box { border-top: 1px solid #e3e8ef; margin-top: 12px; padding-top: 12px; }
.ib-pin-box p { font-size: 12px; margin-bottom: 6px; color: #5f7087; }

/* Assurance */
.ib-assurance-strip { background: #fff; border: 1px solid var(--ib-line); border-radius: 8px; padding: 14px 10px; }
.ib-assurance-item { display: flex; align-items: center; justify-content: center; gap: 9px; font-size: 12px; font-weight: 700; color: #324a66; padding: 6px; }
.ib-assurance-icon { width: 30px; height: 30px; border-radius: 50%; background: #eaf7fd; color: var(--ib-accent); display: inline-flex; align-items: center; justify-content: center; }

/* Sections */
.ib-section { background: #fff; border: 1px solid var(--ib-line); border-radius: 8px; padding: 16px; }
.ib-section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.ib-section-head h2 { font-family: 'Manrope', 'Sora', sans-serif; font-size: 26px; margin-bottom: 0; }
.ib-section-head p  { margin-bottom: 0; color: #66758a; font-size: 13px; }

/* Variant List */
.ib-variant-list { border: 1px solid #e2e8ef; border-radius: 8px; overflow: hidden; }
.ib-variant-row  { border-bottom: 1px solid #e4eaf1; padding: 12px; }
.ib-variant-row:last-child { border-bottom: 0; }

.ib-variant-media { width: 96px; height: 96px; border: 0; border-radius: 8px; padding: 0; background: transparent; }
.ib-variant-media img { width: 100%; height: 100%; object-fit: contain; }

.ib-variant-title { font-size: 16px; margin-bottom: 6px; font-family: 'Manrope', 'Sora', sans-serif; }
.ib-variant-title a { color: #1d314d; }

.ib-ship-badge { display: inline-flex; align-items: center; gap: 5px; font-size: 10px; text-transform: uppercase; font-weight: 700; letter-spacing: 0.04em; color: #d55656; margin-bottom: 5px; }

.ib-variant-actions .btn { min-width: 92px; font-size: 11px; font-weight: 700; }
.ib-variant-desc  { color: #637389; font-size: 12px; margin-bottom: 0; line-height: 1.56; }
.ib-variant-price { font-family: 'Manrope', 'Sora', sans-serif; font-size: 22px; color: #132b47; margin-bottom: 8px; }

/* Tabs */
.ib-tabs .nav-link { color: #4a5f77; border-top-left-radius: 6px; border-top-right-radius: 6px; font-weight: 700; text-transform: uppercase; font-size: 12px; letter-spacing: 0.04em; }
.ib-tabs .nav-link.active { background: #eaf7fd; color: #136b8f; border-color: #cde9f7; }
.ib-tab-pane { border: 1px solid #e4e9f0; border-top: 0; background: #fff; padding: 14px; }

/* Spec Table */
.ib-spec-table th, .ib-spec-table td { border-color: #e5ebf2; font-size: 13px; padding: 10px; }
.ib-spec-table thead th { background: #f4f8fc; text-transform: uppercase; font-size: 11px; letter-spacing: 0.05em; color: #4a617c; }
.ib-spec-table td:first-child { width: 35%; font-weight: 700; color: #344d68; }

/* Row Cards (Related Products) */
.ib-row-cards { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }

.ib-mini-card { border: 1px solid #dfe6ee; border-radius: 8px; background: #fff; overflow: hidden; display: flex; flex-direction: column; }

.ib-mini-card-media { height: 118px; background: linear-gradient(180deg, #f8fbff 0%, #edf4fb 100%); display: flex; align-items: center; justify-content: center; padding: 8px; }
.ib-mini-card-media img { width: 100%; height: 100%; object-fit: contain; }

.ib-mini-card-body { padding: 9px; display: flex; flex-direction: column; height: 100%; }

.ib-mini-card-title { font-size: 12px; line-height: 1.45; min-height: 36px; margin-bottom: 6px; color: #223955; font-weight: 600; word-break: break-word; }

.ib-mini-card-price { font-size: 14px; font-family: 'Manrope', 'Sora', sans-serif; font-weight: 700; color: #1e3551; margin-bottom: 8px; }

.ib-mini-card .btn { font-size: 11px; padding: 6px 7px; font-weight: 700; margin-top: auto; }

.ib-mini-card-actions { display: flex; gap: 6px; }
.ib-mini-card-actions .btn { margin-top: 0; }

.ib-mini-card-tags { margin-bottom: 8px; }
.ib-mini-card-tags .badge { font-size: 10px; font-weight: 700; letter-spacing: 0.02em; margin-bottom: 4px; }
.ib-mini-brand-badge { background: #eef1ff; color: var(--ib-deep); border: 1px solid #d6ddff; }
.ib-mini-category-badge { background: #eaf7fd; color: #126a8e; border: 1px solid #cde9f7; }
.ib-mini-card-desc { color: #637389; font-size: 12px; line-height: 1.56; margin-bottom: 8px; min-height: 56px; }

.ib-recommended-slider .owl-item { padding: 2px; }
.ib-recommended-slider .item,
.ib-recommended-slider .ib-mini-card { height: 100%; }
.ib-recommended-slider .owl-nav,
.ib-recommended-slider .owl-dots { display: none !important; }

.page-content.ib-page .badge-primary { background: var(--ib-deep); color: #fff; }
.page-content.ib-page .btn-outline-primary { border-color: #9ed8ef; color: #136b8f; background: #fff; }
.page-content.ib-page .btn-outline-primary:hover,
.page-content.ib-page .btn-outline-primary:focus { background: #eaf7fd; border-color: var(--ib-accent); color: #136b8f; }

/* Reviews */
.ib-review-wrap { background: #fff; border: 1px solid var(--ib-line); border-radius: 8px; padding: 16px; }

.ib-review-score { text-align: center; border: 1px solid #deebf6; border-radius: 8px; padding: 14px; background: #f8fbff; }
.ib-review-score .score { font-family: 'Manrope', 'Sora', sans-serif; font-size: 48px; line-height: 1; margin-bottom: 8px; color: #1f3d5e; }
.ib-review-score .stars { color: var(--ib-accent); margin-bottom: 8px; }

.ib-review-item { border-bottom: 1px solid #e8edf3; padding: 10px 0; }
.ib-review-item:last-child { border-bottom: 0; }
.ib-review-item .badge { background: #eaf7fd; color: #126a8e; border: 1px solid #cde9f7; font-size: 11px; }

.ib-rating-breakdown { margin-top: 12px; }
.ib-rating-row { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; font-size: 12px; color: #566b84; }
.ib-rating-row .progress { flex: 1 1 auto; height: 7px; background: #e8edf3; }
.ib-rating-row .progress-bar { background: var(--ib-accent); }

.ib-review-form-wrap { margin-top: 14px; padding-top: 14px; border-top: 1px solid #e3eaf1; }
.ib-review-form-wrap .form-control { font-size: 13px; }
.ib-review-alert { font-size: 13px; margin-bottom: 10px; }

/* Footer */
.ib-footer-links { background: #fff; border-top: 1px solid #dfe5ec; border-bottom: 1px solid #dfe5ec; padding: 18px 0 8px; }
.ib-footer-links h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 8px; color: #203a57; font-weight: 800; }
.ib-footer-links p  { font-size: 12px; color: #596b83; line-height: 1.7; margin-bottom: 10px; }
.ib-footer-links a  { color: #475d78; }

.ib-footer-trust { background: var(--ib-deep); color: #dfe9f5; padding: 16px 0; }
.ib-trust-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }

.ib-trust-card { display: flex; align-items: center; gap: 8px; font-size: 11px; line-height: 1.45; }
.ib-trust-card i { width: 26px; height: 26px; border-radius: 50%; border: 1px solid #4f6681; display: inline-flex; align-items: center; justify-content: center; color: var(--ib-accent); }

.ib-footer-bottom { background: #eef6fc; border-top: 1px solid #d4e8f6; padding: 18px 0 10px; }
.ib-footer-bottom h5 { font-size: 13px; margin-bottom: 8px; color: #1d2a4d; font-weight: 800; text-transform: uppercase; }
.ib-footer-bottom ul { list-style: none; padding: 0; margin: 0; }
.ib-footer-bottom li { margin-bottom: 5px; font-size: 12px; }
.ib-footer-bottom a  { color: #2e4d71; }

.ib-copy { background: #fff; border-top: 1px solid #dfe6ee; font-size: 12px; color: #5e6f84; padding: 8px 0; }

/* IB Modal */
.ib-modal .modal-content { border: 0; border-radius: 12px; overflow: hidden; }
.ib-modal .modal-header  { background: var(--ib-accent); color: #fff; }


/* ========================================================
   SECTION 22 — RESPONSIVE BREAKPOINTS
   ======================================================== */

/* Large tablets / small desktops */
@media (max-width: 1199px) {
  .ib-row-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ib-contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ib-trust-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
}

/* Tablets */
@media (max-width: 992px) {
  .hold-transition .main-header.navbar {
    margin: 16px !important;
    margin-left: 16px !important;
  }

  .hold-transition .main-sidebar.sidebar-dark-primary { left: -274px !important; }
  .hold-transition.sidebar-open .main-sidebar.sidebar-dark-primary { left: 16px !important; }

  .hold-transition .wp-layout { grid-template-columns: 1fr; }
  .hold-transition .side-sticky { position: static; }

  .ib-col-divider { border-right: 0; border-bottom: 1px solid var(--ib-line); }
  .ib-gallery-stage { height: 360px; }
  .ib-buy-panel { position: relative; top: auto; }
  .ib-row-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ib-header-inner { flex-wrap: wrap; padding: 10px 0; }
  .ib-header-actions { width: 100%; justify-content: flex-start; flex-wrap: wrap; }
}

/* Mobile */
@media (max-width: 767.98px) {
  .hold-transition .page-title { font-size: 1.45rem; }
  .hold-transition .title-input { font-size: 1.45rem; }
  .hold-transition .input-grid { grid-template-columns: 1fr; }

  .hold-transition .main-card .card-header,
  .hold-transition .toolbar-box,
  .hold-transition .table-wrap { padding-left: 1rem; padding-right: 1rem; }

  .hold-transition .table thead th,
  .hold-transition .table tbody td { white-space: nowrap; }

  .ib-product-title { font-size: 20px; }
  .ib-row-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ib-variant-price { font-size: 20px; }
  .ib-variant-media { width: 82px; height: 82px; }
  .ib-price-action-row { flex-direction: column; align-items: stretch; }
  .ib-price-action-row .ib-btn-primary { width: 100%; min-width: 0; }
  .ib-topbar-inner { flex-wrap: wrap; padding: 6px 0; }
  .ib-topbar-right a { margin-left: 0; margin-right: 10px; }
  .ib-trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
