h1.logins {
    position: relative;
    font-size: 30px;
    margin-block-start: 0px;
    margin-block-end: 0px;
    font-weight: 700;
    text-align: center;
    color: #2e5e9c;
    text-transform: uppercase;
    margin: 0px 0px 20px 0px;
    transition: opacity .2s ease;
}
h1.logins.is-changing { opacity: .25; }

h1.logins::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #2c5aa0, #4a7cbd);
    border-radius: 2px;
}

h2.subs-card__title {
  font-size: 20px !important;
  margin-block-start: 0!important;
  margin-block-end: 0.83em!important;
  margin-inline-start: 0px!important;
  margin-inline-end: 0px!important;
}

h2.lkp-title {
  font-size: 20px !important;
  margin-block-start: 0!important;
  margin-block-end: 0!important;
  margin-inline-start: 0px!important;
  margin-inline-end: 0px!important;
}

/* Страница авторизации */
.auth {
  display: flex;
  justify-content: center;
}

.auth__card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 8px 30px rgb(0 0 0 / 15%);
  width: 100%;
  max-width: 400px;
  padding: 20px;
}

.auth__form { display: block; }
.is-hidden { display: none !important; }

.auth__field + .auth__field { margin-top: 20px; }

.auth__label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 14px;
}

.auth__input {
  width: 100%;
  height: 46px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #fff;
  padding: 10px 14px;
  font-size: 16px;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.auth__input:focus {
  outline: none;
  border-color: #60a5fa;
  box-shadow: 0 0 0 3px rgba(96,165,250,.25);
}

.auth__password { position: relative; }

.auth__toggle {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 6px;
  line-height: 0;
  color: #6b7280;
}

.auth__toggle:hover { color: #111827; }

.auth__icon { display: block; }
.auth__icon--hide { display: none; }
.auth__toggle.is-on .auth__icon--show { display: none; }
.auth__toggle.is-on .auth__icon--hide { display: block; }

.auth__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 16px 0 20px;
  gap: 12px;
}

.auth__row--between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 16px 0 0;
  gap: 12px;
}

.auth__remember {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  user-select: none;
}

.link-button,
.auth__forgot,
.auth__back {
  font-size: 14px;
  color: #2563eb;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0;
}
.link-button:hover,
.auth__forgot:hover,
.auth__back:hover { text-decoration: underline; }

.auth__submit {
  width: 100%;
  height: 48px;
  border: 0;
  border-radius: 12px;
  background: #990900;
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: 0.5s;
}
.auth__submit:hover { background: #7e0901; transition: 0.5s;}
.auth__submit:active { transform: translateY(1px); }

.requireds {
  color: #990900;
}

/* Сообщения */
.auth__messages { margin-bottom: 16px; }

.auth__alert {
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.4;
    margin: 0 0 10px 0;
    text-align: center;
}

.auth__alert--error {
  background: #fee2e2;
  color: #7f1d1d;
  border: 1px solid #fecaca;
}

.auth__alert--success {
  background: #dcfce7;
  color: #065f46;
  border: 1px solid #bbf7d0;
}

/* Honeypot (визуально скрыт, но доступен скринридерам) */
.hp-field-label,
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}




/* Личный кабинет */
:root {
  --sm-header-bg: #1d2b36;
  --sm-header-color: #ffc100;
  --sm-accent: #4bc4fb;
  --sm-sidebar-bg: #1d2b36;
  --sm-sidebar-active: #1e80af;
  --sm-main-bg: #f5f3f3;
  --sm-transition: 220ms ease;
  --sm-break: 1035px;
}

.store-wrapper { display: block; }
.store-body {
  display: flex;
  align-items: stretch;
  gap: 0;
  min-height: 490px;
  position: relative;
  z-index: 1;
}

.store-header {
  width: 100%;
  height: 50px;
  background: var(--sm-header-bg);
  color: var(--sm-header-color);
  display: flex;
  align-items: center;
  box-shadow: 0 6px 12px -6px rgba(0,0,0,1);
  position: relative;
  z-index: 10;
  border-radius: 7px 7px 0px 0px;
}

.store-header .sh-col { display: flex; align-items: center; }
.store-header .sh-left { width: 180px; padding-left: 12px; }
.sh-left__inner { display: flex; align-items: center; gap: 10px; }
.sh-avatar {
  width: 34px; height: 34px; border-radius: 50px; object-fit: cover; display: block;
  background: #fff;
}
.sh-shop-title { font-weight: 500; font-size: 18px; color: var(--sm-header-color); }

.sh-center { flex: 1 1 auto; display: flex; align-items: center; gap: 14px; padding: 0 10px; }
.sh-burger {
  width: 38px; height: 32px; position: relative; display: inline-flex;
  align-items: center; justify-content: center; background: transparent; border: 0; cursor: pointer;
}
.sh-burger__bar {
  position: absolute; width: 22px; height: 2px; background: var(--sm-accent); transition: transform var(--sm-transition);
}
.sh-burger__bar:nth-child(1) { transform: translateY(-6px); }
.sh-burger__bar:nth-child(2) { transform: translateY(0); }
.sh-burger__bar:nth-child(3) { transform: translateY(6px); }

.sh-title { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.sh-title__icon { width: 27px; height: 27px; object-fit: contain; display: block; }
.sh-title__text { font-size: 18px; font-weight: 500; color: var(--sm-header-color); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.sh-right { display: flex; justify-content: center; }
.sh-right__icons {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  white-space: nowrap;
}

.sh-right__icons .fa-regular {
  font-size: 18px;
  color: #ffffff;
  line-height: 1;
}

.sh-icon {
  width: 24px;
  height: 24px;
  display: block;
  object-fit: contain;
  cursor: pointer;
}

.sh-right__icons .fa-regular:hover,
.sh-right__icons .sh-icon:hover {
  opacity: .8;
  transition: opacity .15s linear;
}

/* ===============================
   ДОБАВЛЕНО: бейдж поверх колокольчика
   Разметка: <a class="sh-icon-link"><i class="fa-regular fa-bell"></i><span class="sh-badge">1</span></a>
   =============================== */

/* Обёртка ссылки на колокольчик — делаем коробку 24×24,
   чтобы абсолютный бейдж привязывался именно к иконке */
.sh-right__icons .sh-icon-link {
  position: relative;
  display: inline-flex;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: inherit;   /* не меняем цвет иконки */
  line-height: 1;   /* убираем лишнюю высоту строки */
}

/* На всякий случай — внутри ссылки иконка остаётся как у тебя */
.sh-right__icons .sh-icon-link .fa-regular {
  font-size: 18px;
  line-height: 1;
}

/* Сам бейдж: поверх, в правом верхнем углу колокольчика */
.sh-right__icons .sh-icon-link .sh-badge {
  position: absolute;
  top: -6px;
  right: -7px;
  background: #FFC100;
  color: #000;
  border-radius: 9999px;
  min-width: 6px;
  height: 14px;
  padding: 0 5px;
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
  border: 2px solid #fff;
  pointer-events: none;
  z-index: 2;
}

/* Ховер для колокольчика через ссылку — оставляем твою логику */
.sh-right__icons .sh-icon-link:hover .fa-regular {
  opacity: .8;
  transition: opacity .15s linear;
}



.store-sidebar {
  width: 200px;
  background: var(--sm-sidebar-bg);
  flex: 0 0 auto;
  position: relative;
  transition: width var(--sm-transition), transform var(--sm-transition);
  z-index: 1002;
  border-radius: 0px 0px 0px 7px;
}

.sm-nav { padding: 10px 0; }
.sm-list { list-style: none; margin: 0; padding: 0; }
.sm-item {}
.sm-link {
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: center;
  gap: 8px;
  padding: 7px 8px;
  color: #fff;
  text-decoration: none;
  position: relative;
}
.sm-link:hover { background: rgba(255,255,255,.06); }
.sm-item.is-active > .sm-link { background: var(--sm-sidebar-active); }

.sm-ico-wrap { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; }
.sm-icon { width: 27px; height: 27px; object-fit: contain; display: block; }
.sm-label { font-size: 14px; line-height: 1.2; }

.sm-tooltip {
  position: absolute;
  left: 64px;
  top: 50%;
  transform: translateY(-50%);
  display: none;
  background: var(--sm-sidebar-bg);
  color: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  white-space: nowrap;
  box-shadow: 0 8px 16px rgba(0,0,0,.2);
  pointer-events: none;
}

.store-sidebar.sidebar--collapsed {
  width: 50px;
}
.store-sidebar.sidebar--collapsed .sm-label {
  display: none;
}
.store-sidebar.sidebar--collapsed .sm-item:hover .sm-tooltip {
  display: block;
}

.store-main {
  background: var(--sm-main-bg);
  flex: 1 1 auto;
  min-width: 0;
  position: relative;
  z-index: 1;
  border-radius: 0px 0px 7px 0px;
  padding: 12px;
}

.sm-dashboard-title { margin: 0 0 10px; }

.sh-burger:focus-visible,
.sm-link:focus-visible {
  outline: 2px solid var(--sm-accent);
  outline-offset: 2px;
}

.store-header .sh-right {
  width: 85px;
}

.sm-welcome-card {
  background: #fff;
  border-radius: 16px;
  padding: 25px 25px;
  box-shadow: 0 6px 22px rgb(0 0 0 / 28%);
}

.sm-welcome-grid {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 30px;
  align-items: center;
}

.sm-welcome-left {
  display: flex;
  align-items: center;
  justify-content: center;
}

.sm-welcome-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  background: #fff;
  border: #d1dae58c solid 5px;
}

.sm-welcome-avatar--fallback {
  background: #e5e7eb;
}

.sm-welcome-right {
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
}

.sm-welcome-title {
  color: #1ba2b5;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
}

.sm-welcome-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.sm-welcome-shopname {
  color: #787677;
  font-size: 18px;
  line-height: 1.3;
}

.sm-welcome-membership {
  color: #990606;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
}

.sm-welcome-membership a {
  color: inherit;
  text-decoration: underline;
}

.sm-welcome-lastlogin {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #8c99a9;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.3;
  margin-top: 2px;
}

.sm-welcome-clock {
  width: 23px;
  height: 23px;
  display: block;
}



/* ===== Seller Cabinet: Products (lkp-*) ===== */
.lkp-card {
  background: #fff;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.lkp-card__head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
}
.lkp-status-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.lkp-status-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #f3f5f7;
  border: 1px solid transparent;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
}
.lkp-status-tab .lkp-count {
  background: #e9edf2;
  border-radius: 10px;
  padding: 2px 6px;
  font-size: 12px;
}
.lkp-status-tab.is-active { background: #98c3f1; border-color: #b7dcff; }

.lkp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 10px 0 10px;
  border: 1px solid #dfe5eb;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  text-decoration: none;
}
.lkp-btn--primary { background: #2563eb!important; border-color: #2563eb!important; color: #fff!important; }
.lkp-btn--primary:hover { filter: brightness(0.95); }

.lkp-filter-toggle { display: none; }

.lkp-divider { margin: 16px 0; height: 1px; background: #eef2f6; width: 100%; }

.lkp-filters {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr 1.2fr 0.6fr;
  gap: 12px;
  margin-bottom: 16px;
}
.lkp-filter { display: grid; gap: 6px; }
.lkp-label { font-size: 12px; color: #6b7280; }
.lkp-input, .lkp-select {
  height: 38px;
  padding: 0 10px;
  border: 1px solid #d9dee5;
  border-radius: 8px;
  background: #fff;
}

.lkp-table-wrap { width: 100%; overflow-x: auto; }
.lkp-table { width: 100%; border-collapse: separate; border-spacing: 0 8px; }
.lkp-table thead th {
  text-align: left;
  font-weight: 600;
  font-size: 14px;
  color: #475569;
  padding: 8px 10px;
}
.lkp-table tbody tr {
  background: #fff;
  box-shadow: 0 1px 0 rgba(18,29,46,0.06), 0 6px 12px rgba(18,29,46,0.05);
  border-radius: 10px;
}
.lkp-table tbody td {
  padding: 12px 10px;
  vertical-align: middle;
  border-top: 1px solid #f3f4f6;
}
.lkp-table tbody tr td:first-child { border-top-left-radius: 10px; }
.lkp-table tbody tr td:last-child  { border-top-right-radius: 10px; }

.lkp-td-center { text-align: center; color: #6b7280; }

.lkp-thumb { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; display: block; }
.lkp-thumb--placeholder { width: 48px; height: 48px; border-radius: 8px; background: #f3f5f7; display: inline-block; }

.lkp-title-link { color: #111827; text-decoration: none; font-weight: 600; }
.lkp-title-link:hover { text-decoration: underline; }

.lkp-badge { display: inline-block; padding: 4px 8px; font-size: 12px; border-radius: 999px; background: #eef2f7; color: #334155; text-align: center; }
.lkp-badge--published { background: #e8f7ee; color: #14532d; }
.lkp-badge--pending   { background: #fff6e5; color: #7a4d00; }
.lkp-badge--revision  { background: #eaf0ff; color: #1e3a8a; }
.lkp-badge--rejected  { background: #fee2e2; color: #7f1d1d; }

.lkp-badge--stock-instock     { background: #e8f7ee; color: #14532d; }
.lkp-badge--stock-onbackorder { background: #fff6e5; color: #7a4d00; }
.lkp-badge--stock-outofstock  { background: #fee2e2; color: #7f1d1d; }

.lkp-price { line-height: 1.1; }
.lkp-price--strike { text-decoration: line-through; color: #d52d2d; }

.col-thumb   { width: 56px; }
.col-master  { width: 140px; }
.col-actions { width: 120px; }
.col-price { width: 65px; }
.col-tags { width:100px; }

.lkp-catlist { margin: 0; padding: 0; list-style: none; }
.lkp-catlist li { display: block; line-height: 1.2; font-size: 13px; margin: 2px 0; color:#111827; }

.lkp-actions { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.lkp-action-row { display: flex; gap: 8px; }
.lkp-action { border: 0; background: transparent; padding: 0; margin: 0; cursor: pointer; }

.lkp-pagination { display: flex; justify-content: flex-end; gap: 6px; margin-top: 14px; flex-wrap: wrap; }
.lkp-page-btn { min-width: 36px; height: 36px; padding: 0 10px; border: 1px solid #dfe5eb; border-radius: 8px; background: #fff; cursor: pointer; }
.lkp-page-btn.is-active { background: #2563eb; border-color: #2563eb; color: #fff; }
.lkp-page-btn[disabled] { opacity: 0.5; cursor: default; }



/* Добавление/Редактирование товаров */
.lkp-add-card { padding-bottom: 16px; }
.lkp-add-form { margin-top: 12px; }
.lkp-add-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  grid-gap: 24px;
}

.lkp-field { margin-bottom: 10px; }
.lkp-label { display:block; font-weight:600; margin-bottom:8px; }
.lkp-input, .lkp-select, .lkp-textarea {
  width:100%; box-sizing:border-box; border:1px solid #d7dbe0; border-radius:8px;
  padding:10px 12px; font-size:14px; background:#fff;
}
.lkp-input:focus, .lkp-select:focus, .lkp-textarea:focus {
  outline:none; border-color:#9bb5f3; box-shadow:0 0 0 3px rgba(55,121,255,.12);
}
.lkp-field-hint { margin-top:6px; color:#b00020; font-size:13px; min-height: 16px; }

.lkp-2col { display:grid; grid-template-columns: 1fr 1fr; grid-gap: 12px; }

.lkp-wp-editor .wp-editor-wrap { border:1px solid #d7dbe0; border-radius:8px; overflow:hidden; }
.wp-editor-tabs { display: none!important; }

.lkp-cat-tree { border:1px solid #e0e6ee; border-radius:12px; padding:8px 10px; max-height:330px; overflow:auto; }
.lkp-cat-ul { list-style:none; margin:0; padding-left:12px; }
.lkp-cat-li { margin:3px 0; }
.lkp-cat-row { display:flex; align-items:center; gap:8px; cursor:default; }
.lkp-cat-toggle {
  width:22px; height:22px; border-radius:6px; border:1px solid #cfd6df; background:#fff; cursor:pointer;
  line-height:20px; text-align:center; font-weight:700; padding:0;
}
.lkp-cat-toggle:hover { background:#f2f6ff; border-color:#b8c5ff; }
.lkp-cat-spacer { width:22px; height:22px; display:inline-block; }
.lkp-cat-name { user-select:none; }
.lkp-cat-children { margin-left:26px; }

.lkp-tags-scroll {
  border:1px solid #e0e6ee; border-radius:12px; padding:8px 10px; max-height:240px; overflow:auto;
}
.lkp-tags-ul { list-style:none; margin:0; padding:0; }
.lkp-tags-ul li { margin:4px 0; }
.lkp-checkbox { display:flex; align-items:center; gap:8px; }
.lkp-muted { font-size:13px; color:#8a95a5; }

.lkp-upload-one { border:1px dashed #cfd6df; border-radius:12px; padding:12px; text-align:center; }
.lkp-one-preview { display:flex; justify-content:center; }
.lkp-one-img-wrap { position:relative; width:260px; height:260px; border-radius:12px; overflow:hidden; }
.lkp-one-img { width:100%; height:100%; object-fit:cover; display:block; }
.lkp-one-remove { position:absolute; top:6px; right:6px; width:28px; height:28px; border-radius:50%; border:none; background:rgba(0,0,0,.52); color:#fff; font-size:18px; line-height:26px; cursor:pointer; }
.lkp-one-remove:hover { background:rgba(0,0,0,.7); }

.lkp-upload-gallery { border:1px dashed #cfd6df; border-radius:12px; padding:12px; }
.lkp-gallery { display:flex; flex-wrap:wrap; gap:10px; margin-bottom:10px; }
.lkp-gal-item { position:relative; width:120px; height:120px; border-radius:10px; overflow:hidden; background:#f4f6f9; }
.lkp-gal-img { width:100%; height:100%; object-fit:cover; display:block; }
.lkp-gal-remove { position:absolute; top:4px; right:4px; width:24px; height:24px; border-radius:50%; border:none; background:rgba(0,0,0,.52); color:#fff; font-size:16px; line-height:22px; cursor:pointer; }
.lkp-gal-remove:hover { background:rgba(0,0,0,.7); }

#lkp-attrs { display:flex; flex-direction:column; gap:8px; }
.lkp-attr-row { display:grid; grid-template-columns: 1fr 1fr auto; gap:8px; }

.lkp-add-actions { display:flex; gap:10px; margin-top:10px; }

.lkp-btn.is-loading {
  position: relative;
  pointer-events: none;
  opacity: .92;
}
.lkp-btn.is-loading::after {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-left: 8px;
  border-radius: 50%;
  border: 2px solid currentColor;
  border-right-color: transparent;
  animation: lkp-spin .8s linear infinite;
  vertical-align: -2px;
}
@keyframes lkp-spin {
  to { transform: rotate(360deg); }
}

.lkp-attr-remove {
  background: #ffc100;
  padding: 0px 10px 0px 10px;
}

.lkp-card__head-right a.lkp-btn {
  background: #ffc100;
  padding: 0px 10px 0px 0px;
  color: #0f1e66;
}

section.lkp-add-card a.lkp-btn {
  padding: 0px 10px 0px 10px!important;
}




/* отзывы товаров и магазина в кабинете */
.sm-reviews-card{
  background:#fff;
  border-radius:16px;
  box-shadow:0 8px 24px rgba(0,0,0,.06);
  padding:20px;
}

.sm-reviews-tabs{
  display:flex;
  gap:8px;
  margin-bottom:16px;
  border-bottom:1px solid #eee;
}
.sm-tab{
  appearance:none;
  background:transparent;
  border:none;
  padding:12px 16px;
  font-weight:600;
  cursor:pointer;
  border-bottom:2px solid transparent;
  transition:all .2s ease;
}
.sm-tab:hover{ color:#111; }
.sm-tab.is-active{
  color:#111;
  border-bottom-color:#111;
}

.sm-reviews-skeleton{
  padding:24px;
  color:#999;
  font-size:14px;
}

.sm-reviews-empty{
  padding:24px;
  color:#666;
}

.sm-reviews-list{
  display:flex;
  flex-direction:column;
  gap:16px;
}
.sm-review{
  border:1px solid #eee;
  border-radius:12px;
  padding:16px;
}
.sm-review__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.sm-review__author{
  font-weight:700;
}
.sm-review__meta{
  margin-top:6px;
  font-size:14px;
  color:#444;
}
.sm-review__meta a{
  color:inherit;
  text-decoration:underline;
  text-underline-offset:3px;
}
.sm-review__body{
  margin-top:10px;
  line-height:1.6;
  color:#222;
}

.sm-stars{
  display:inline-flex;
  gap:4px;
}
.sm-star{
  width:18px;
  height:18px;
  position:relative;
  display:inline-block;
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='%23ddd' d='M12 17.27 18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z'/></svg>")
    no-repeat center/contain;
  border-radius:2px;
  overflow:hidden;
}
.sm-star__fill{
  position:absolute; inset:0 0 0 0;
  width:0%;
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='%23ffc107' d='M12 17.27 18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z'/></svg>")
    no-repeat center/contain;
}

.sm-review__actions{
  margin-top:12px;
  display:flex;
  gap:8px;
}
.sm-btn{
  appearance:none;
  border:1px solid #ddd;
  background:#f7f7f7;
  padding:8px 12px;
  border-radius:8px;
  cursor:pointer;
  transition:all .15s ease;
  font-weight:600;
}
.sm-btn:hover{ background:#efefef; }
.sm-btn--approve{ border-color:#b7e1b7; background:#eef9ee; }
.sm-btn--approve:hover{ background:#e4f6e4; }
.sm-btn--delete{ border-color:#f1c2c2; background:#fff1f1; }
.sm-btn--delete:hover{ background:#ffe8e8; }

.sm-reviews-content{ min-height:80px; }



/* Статистика магазина */
.sm-stats-block { margin: 0 0 24px; }
.sm-stats-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.06);
}

.sm-stats-title {
  margin: 0 0 16px;
  font-size: 24px;
  line-height: 1.25;
  font-weight: 700;
}

/* Вкладки */
.sm-tabs {
  display: flex;
  gap: 8px;
  margin: 0 0 14px;
}
.sm-tab {
  appearance: none;
  border: 1px solid #e5e7eb;
  background: #fff;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 14px;
  cursor: pointer;
  color: #0f172a;
}
.sm-tab.is-active,
.sm-tab:hover {
  background: #0ea5e9;
  color: #fff;
  border-color: #0ea5e9;
}
.sm-panel { display: none; }
.sm-panel.is-active { display: block; }

.sm-stats-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.sm-stats-label { font-size: 14px; color: #555; }
.sm-stats-select {
  padding: 6px 10px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  font-size: 14px;
}

.sm-stats-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  background: #fff;
  overflow: hidden;
  border-radius: 12px;
}
.sm-stats-summary { margin-bottom: 14px; }

.sm-stats-table thead th {
  text-align: center;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 12px;
  background: #f8fafc;
  border-bottom: 1px solid #eef2f7;
  white-space: nowrap;
}
.sm-stats-table tbody td {
  padding: 10px 12px;
  border-bottom: 1px solid #f1f5f9;
  font-size: 14px;
  vertical-align: middle;
}
.sm-stats-table tbody tr:last-child td { border-bottom: none; }

.col-photo { width: 64px; }
.col-title { width: auto; }
.col-day, .col-total, .col-orders, .col-fav { width: 120px; text-align: right; }

.sm-st-photo img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background: #fff;
}

.sm-st-title a { color: #0f172a; text-decoration: none; }
.sm-st-title a:hover { text-decoration: underline; }

.sm-st-day, .sm-st-total, .sm-st-orders, .sm-st-fav, .sm-st-email, .sm-st-phone, .sm-st-vk, .sm-st-tg, .sm-st-wa {
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.ico-photo { display: inline-block; fill: #64748b; }

.sm-st-summary-row td { font-weight: 600; background: #fcfcfd; }

.sm-stats-pagination {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.sm-stats-pagination .sm-page {
  border: 1px solid #e5e7eb;
  background: #fff;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
}
.sm-stats-pagination .sm-page.is-active,
.sm-stats-pagination .sm-page:hover {
  background: #0ea5e9;
  color: #fff;
  border-color: #0ea5e9;
}
.sm-stats-pagination .sm-page[disabled] {
  opacity: .5;
  cursor: default;
  background: #fff;
  color: #64748b;
}

.sm-stats-block.is-loading .sm-stats-table { opacity: .7; }

.news_stats {
  margin: 10px 0px 0px 0px;
  font-size: 16px;
}






/* ===== Страница "Подписки" (ЛК магазина) ===== */

.sm-subs-page--notice {
  display: grid;
  gap: 16px;
}

.subs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

@media (max-width: 1035px) {
  .subs-grid {
    grid-template-columns: 1fr;
  }
  .sm-tabs {
    flex-direction: column;
    align-items: stretch;
  }
  .sm-tab {
    width: 100%;
    text-align: center;
  }
}

.subs-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.subs-card--notice {
  text-align: center;
}

.subs-card__title {
  margin: 0 0 16px 0;
  font-size: 20px;
  line-height: 1.35;
  font-weight: 700;
  text-align: center;
}

/* Ряды из двух колонок внутри карточек */
.subs-rows {
  display: grid;
  gap: 10px;
}

.subs-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 12px 20px;
}

@media (max-width: 700px) {
  .subs-row {
    grid-template-columns: 1fr;
  }
}

.subs-row__label {
  color: #6b7280;
}

.subs-row__value {
  font-weight: 700;
  color: #111827;
  justify-self: start;
}

.subs-divider {
  height: 1px;
  background: #f0f0f0;
  margin: 6px 0 4px;
}

.subs-subtitle {
  margin: 14px 0 6px;
  font-weight: 700;
  text-align: center;
  color: #111827;
}

/* Цены */
.price-plain { font-weight: 800; }
.price-old   { text-decoration: line-through; opacity: 0.75; margin-right: 8px; }
.price-new   { font-weight: 900; }

/* Просрочено */
.subs-expired { color: #d63638; font-weight: 700; }

/* ===== Продление подписки ===== */
.subs-renew {
  margin-top: 20px;
}

.subs-renew-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 24px;
}

@media (max-width: 900px) {
  .subs-renew-grid {
    grid-template-columns: 1fr;
  }
}

.subs-renew-label {
  display: block;
  margin-bottom: 8px;
  color: #6b7280;
}

.subs-renew-select {
  width: 100%;
  max-width: 520px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  padding: 0 12px;
  background: #fff;
}

.subs-renew-empty {
  font-weight: 600;
  color: #9ca3af;
}

.subs-renew-price {
  font-size: 18px;
  line-height: 1.4;
}

.subs-renew-actions {
  margin-top: 16px;
  display: flex;
  justify-content: flex-end;
}

.btn-renew {
  height: 44px;
  padding: 0 18px;
  border: none;
  border-radius: 12px;
  background: #111827;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.btn-renew:hover {
  opacity: 0.92;
}

.btn-renew[disabled] {
  opacity: .5;
  cursor: not-allowed;
}








/* Белая карточка на всю ширину */
.lkst-card{
  background:#fff;
  border-radius:16px;
  padding:24px;
  box-shadow:0 8px 24px rgba(0,0,0,.06);
}

/* Заголовок */
.lkst-title{
  font-size:28px;
  line-height:1.2;
  margin:0 0 20px;
  font-weight:700;
}

/* Форма: аккуратная сетка */
.lkst-form{
  display:grid;
  grid-template-columns: repeat(2, minmax(260px,1fr));
  gap:0px 24px;
}
.lkst-field--full{ grid-column:1 / -1; }

/* Подписи и обязательные поля */
.lkst-label{
  display:block;
  font-weight:600;
  margin:0 0 8px;
}
.lkst-req{ color:#E03232; margin-left:4px; }

/* Поля */
.lkst-input{
  width:100%;
  height:44px;
  border:1px solid #E6E6E9;
  border-radius:10px;
  padding:0 12px;
  outline:0;
  transition:border-color .15s ease, box-shadow .15s ease;
  background:#fff;
}
.lkst-input:focus{
  border-color:#7B68EE;
  box-shadow:0 0 0 3px rgba(123,104,238,.15);
}
.lkst-input.is-invalid{
  border-color:#E03232;
  box-shadow:0 0 0 3px rgba(224,50,50,.12);
}

/* Хинты/ошибки */
.lkst-hint{
  margin:6px 0 0;
  font-size:12px;
  color:#7A7A85;
}
.lkst-error{
  margin:6px 0 0;
  font-size:12px;
  color:#E03232;
  min-height:14px;
}

/* Редактор */
.lkst-editor{
  border:1px solid #E6E6E9;
  border-radius:10px;
  overflow:hidden;
}
.lkst-editor .wp-editor-wrap{ border:0; }
.lkst-editor .wp-editor-container{ border:0; }

/* Загрузка изображений */
.lkst-field--image .lkst-uploader{
  display:flex;
  align-items:flex-start;
  gap:14px;
  flex-wrap:wrap;
}
.lkst-uploader__preview{
  width:180px;
  min-height:110px;
  border:1px dashed #D8D8DE;
  border-radius:12px;
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  background:#FCFCFD;
}
.lkst-uploader__preview img{
  max-width:100%;
  height:auto;
  display:block;
}
.lkst-uploader__remove{
  position:absolute;
  top:6px;
  right:6px;
  width:28px;
  height:28px;
  border:none;
  border-radius:50%;
  background:#1C1C1F;
  color:#fff;
  font-size:18px;
  line-height:28px;
  cursor:pointer;
  z-index:3;
  opacity:.95;
}
.lkst-uploader__btn{}

/* Кнопки */
.lkst-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:10px 16px;
  border-radius:12px;
  border:1px solid #E6E6E9;
  background:#7b68ee;
  color:#FFFFFF;
  cursor:pointer;
  transition:transform .06s ease, box-shadow .15s ease, opacity .15s ease;
}
.lkst-btn:hover{ box-shadow:0 6px 18px rgba(0,0,0,.08); }
.lkst-btn:active{ transform:translateY(1px); }

.lkst-btn--primary{
  background:#7B68EE;
  color:#fff;
  border-color:#7B68EE;
}

/* Состояние загрузки */
.lkst-btn--loading{
  opacity:.9;
  pointer-events:none;
}
.lkst-btn__spinner{
  display:inline-block;
  width:16px;
  height:16px;
  border-radius:50%;
  border:2px solid transparent;
  border-top-color:rgba(255,255,255,.95);
  border-right-color:rgba(255,255,255,.6);
  animation:lkst-spin .8s linear infinite;
  margin-left:8px;
  will-change: transform;
}
@keyframes lkst-spin {
  to { transform: rotate(360deg); }
}

.lkst-actions{
  grid-column:1 / -1;
  display:flex;
  justify-content:flex-start;
  margin-top:6px;
}

/* Тост */
.lkst-toast{
  position:fixed;
  left:50%;
  bottom:24px;
  transform:translateX(-50%);
  background:#1F2330;
  color:#fff;
  padding:12px 16px;
  border-radius:10px;
  box-shadow:0 10px 24px rgba(0,0,0,.18);
  z-index:9999;
  font-weight:600;
}

/* Мобильная адаптация */
@media (max-width: 1035px){
  .lkst-form{
    grid-template-columns: 1fr;
  }
}



/* ===== Уведомления (страница single-store-manager-uvedomleniya) ===== */

.smu-root {
  display: block;
  width: 100%;
}

.smu-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.smu-unread {
  font-size: 14px;
  color: #444;
}

.smu-unread__num {
  font-weight: 700;
}

.smu-only-shop {
  padding: 16px;
  border: 1px solid #f0d7d7;
  background: #fff5f5;
  border-radius: 10px;
  color: #a33;
}

/* Кнопка добавления (админ) */
.smu-add-btn {
  appearance: none;
  border: 1px solid #e5e7eb;
  background: #fff;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 14px;
  cursor: pointer;
  transition: background .2s ease, box-shadow .2s ease;
}
.smu-add-btn:hover {
  background: #f9fafb;
  box-shadow: 0 1px 0 rgba(0,0,0,.04);
}

/* Форма добавления (админ) */
.smu-form {
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #fff;
  margin-bottom: 16px;
  overflow: hidden;
}
.smu-form[hidden] { display: none !important; }
.smu-form__inner { padding: 14px 16px; }
.smu-form__row { margin-bottom: 12px; }
.smu-form__row:last-child { margin-bottom: 0; }
.smu-form__label { display: block; font-size: 13px; color: #666; margin-bottom: 6px; }
.smu-input {
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
  outline: none;
}
.smu-input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37,99,235,.1);
}
.smu-editor .wp-editor-wrap { border: 1px solid #e5e7eb; border-radius: 12px; overflow: hidden; }
.smu-form__row--actions { display: flex; align-items: center; gap: 12px; }
.smu-form__note { font-size: 13px; color: #1e7a3b; }

/* Чекбоксы получателей */
.smu-checkboxes { display: grid; gap: 8px; }
.smu-check { display: flex; align-items: center; gap: 8px; }
.smu-check input[type="checkbox"] { width: 16px; height: 16px; }

/* ВНУТРЕННЯЯ ПРОКРУТКА СПИСКА ПОЛУЧАТЕЛЕЙ */
.smu-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 8px 16px;
  max-height: 260px;          /* ограничение высоты */
  overflow: auto;             /* внутренняя прокрутка */
  padding-right: 6px;         /* небольшой отступ под скроллбар */
  border: 1px dashed #e5e7eb; /* лёгкое визуальное отделение */
  border-radius: 10px;
}

/* Вкладки уведомлений на странице single-store-manager-uvedomleniya */
.smu-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
  border-bottom: 1px solid #eee;
}

.smu-tabs__btn {
  position: relative;
  padding: 6px 8px;
  border: none;
  background: transparent;
  font-size: 14px;
  cursor: pointer;
  border-radius: 8px 8px 0 0;
  color: #555;
}

.smu-tabs__btn.is-active {
  background: #fff;
  border: 1px solid #ddd;
  border-bottom-color: #fff;
  color: #111;
  font-weight: 600;
}

.smu-tabs__btn:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

.smu-tabs__panes {
  margin-bottom: 16px;
}

.smu-tab-pane[hidden] {
  display: none;
}


/* Список */
.smu-list {
  display: grid;
  gap: 14px;
}

.smu-empty {
  padding: 18px;
  border: 1px dashed #ddd;
  border-radius: 12px;
  color: #666;
  background: #fafafa;
  text-align: center;
}

/* Карточка уведомления */
.smu-item {
  border: 1px solid #eee;
  border-radius: 14px;
  background: #fff;
  padding: 14px 16px;
  box-shadow: 0 1px 0 rgba(0,0,0,.02);
}

.smu-item.is-unread {
  border-color: #e6f0ff;
  background: #f8fbff;
}

.smu-item__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.smu-item__author {
  font-weight: 600;
  color: #990900; /* правка пользователя */
}

.smu-item__date {
  font-size: 13px;
  color: #777;
  white-space: nowrap;
}

.smu-item__content {
  font-size: 15px;
  line-height: 1; /* правка пользователя */
  color: #222;
}

.smu-item__content p {
  margin: 0 0 10px 0;
}

.smu-item__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}

/* Кнопки */
.smu-btn {
  appearance: none;
  border: none;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 14px;
  cursor: pointer;
  background: #2563eb;
  color: #fff;
  transition: transform .02s ease, opacity .2s ease, background .2s ease;
}

.smu-btn:disabled {
  opacity: .6;
  cursor: default;
}

.smu-btn:active:not(:disabled) {
  transform: translateY(1px);
}

.smu-btn--read { background: #2563eb; }
.smu-btn--send { background: #2563eb; }

/* Кнопка удаления для админа */
.smu-btn--danger {
  background: #b91c1c;
}
.smu-btn--danger:hover { background: #a31616; }

/* Бейдж */
.smu-item__badge {
  display: inline-block;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 12px;
  background: #e9f7ee;
  color: #1e7a3b;
  border: 1px solid #d3efdc;
}

/* Админские метаблоки в футере карточки */
.smu-admin-meta { width: 100%; }
.smu-admin-meta--row {
  display: flex;
  justify-content: space-between;
  width: 100%;
}
.smu-admin-meta--wrap .smu-admin-meta__left { width: 100%; }
.smu-admin-meta__left { font-size: 14px; color: #333; }
.smu-admin-meta__right { font-size: 14px; color: #333; }

/* Пагинация */
.smu-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.smu-pager__btn,
.smu-pager__num {
  appearance: none;
  border: 1px solid #e5e7eb;
  background: #fff;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
}

.smu-pager__btn[disabled],
.smu-pager__num[disabled] {
  opacity: .5;
  cursor: default;
}

.smu-pager__num.is-active {
  border-color: #2563eb;
  box-shadow: 0 0 0 2px rgba(37,99,235,.08) inset;
}

.smu-pager__dots {
  color: #999;
  padding: 0 4px;
}

.subs-renew-terms {
  margin-top: 10px;
  font-size: 16px;
}

.subs-renew-terms a {
  text-decoration: none;
  color: #7a0700;
}

/* только для метки "Товар 18+" */
label.lkp-label[for="lkp_tovar_18"] {
  font-size: 16px;
  line-height: 1.25;
}

/* Обёртка страницы */
.lkp-sm-wrapper {
    max-width: 100%;
    margin: 0 auto;
    padding: 15px 10px 40px;
    background: #f9fafb;
    box-sizing: border-box;
}

/* Заголовок (не используется, но стиль оставим) */
.lkp-sm-title {
    margin: 0 0 20px;
    font-size: 24px;
    font-weight: 600;
    color: #111827;
}

/* ===== Поиск + селект "Выводить по" ===== */

.lkp-sm-search-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: nowrap;
}

.lkp-sm-search {
    flex: 1 1 auto;
    min-width: 0;
}

.lkp-sm-search-label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 700;
    color: #374151;
}

.lkp-sm-search-control {
    position: relative;
    display: flex;
    align-items: center;
}

.lkp-sm-search-input {
    flex: 1;
    padding: 10px 36px 10px 12px;
    border-radius: 999px;
    border: 1px solid #d1d5db;
    background: #ffffff;
    font-size: 14px;
    color: #111827;
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.lkp-sm-search-input::placeholder {
    color: #9ca3af;
}

.lkp-sm-search-input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.25);
    background: #ffffff;
}

.lkp-sm-search-clear {
    position: absolute;
    right: 8px;
    border: none;
    background: transparent;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    color: #9ca3af;
    padding: 0 4px;
    transition: color 0.18s ease, transform 0.1s ease;
}

.lkp-sm-search-clear:hover {
    color: #6b7280;
    transform: scale(1.05);
}

.lkp-sm-search-hint {
    margin-top: 6px;
    font-size: 12px;
    color: #6b7280;
}

/* Блок "Выводить по" */
.lkp-sm-page-size {
    flex: 0 0 160px;
    font-size: 14px;
    color: #374151;
    text-align: right;
}

.lkp-sm-page-size-label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 700;
    color: #374151;
}

.lkp-sm-page-size-select {
    width: 100%;
    padding: 10px 12px;
    border-radius: 999px;
    border: 1px solid #d1d5db;
    background: #ffffff;
    font-size: 14px;
    color: #111827;
    outline: none;
    cursor: pointer;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.lkp-sm-page-size-select:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.25);
    background: #ffffff;
}

/* ===== Таблица ===== */

.lkp-sm-table-wrapper {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.04);
    padding: 16px;
    overflow-x: hidden; /* чтобы ничего не вылезало за края блока */
}

.lkp-sm-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    table-layout: auto;
}

.lkp-sm-table thead {
    background: #f3f4f6;
}

.lkp-sm-table th,
.lkp-sm-table td {
    padding: 10px 12px;
    text-align: left;
    vertical-align: top;
}

/* Шапка */
.lkp-sm-table th {
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #6b7280;
    border-bottom: 1px solid #e5e7eb;
}

/* Зебра */
.lkp-sm-table tbody tr:nth-child(even) {
    background: #f9fafb;
}

.lkp-sm-table tbody tr:nth-child(odd) {
    background: #ffffff;
}

.lkp-sm-table tbody tr:hover {
    background: #eff6ff;
}

.lkp-sm-cell {
    border-bottom: 1px solid #e5e7eb;
    color: #111827;
    white-space: nowrap; /* по умолчанию значения в одну строку */
}

/* Ограничиваем ширину колонки "Магазин" и переносим текст */
.lkp-sm-col-store {
    max-width: 260px;
    white-space: normal;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
}

/* Email тоже может быть длинным — разрешаем перенос */
.lkp-sm-col-email {
    white-space: normal;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
}

.lkp-sm-email-link {
    color: #990900;
    text-decoration: none;
}

.lkp-sm-email-link:hover {
    text-decoration: underline;
}

.lkp-sm-muted {
    color: #9ca3af;
}

.lkp-sm-empty {
    padding: 18px 12px;
    text-align: center;
    color: #6b7280;
    font-size: 14px;
}

/* Переключатель "Ручная работа" */
.lkp-sm-switch {
    position: relative;
    display: inline-block;
    width: 46px;
    height: 24px;
}

.lkp-sm-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.lkp-sm-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #d1d5db;
    transition: background-color 0.25s ease;
    border-radius: 999px;
}

.lkp-sm-slider::before {
    content: "";
    position: absolute;
    height: 18px;
    width: 18px;
    left: 3px;
    top: 3px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.25);
    transition: transform 0.25s ease;
}

.lkp-sm-switch input:checked + .lkp-sm-slider {
    background: #16a34a;
}

.lkp-sm-switch input:checked + .lkp-sm-slider::before {
    transform: translateX(22px);
}

/* Подсветка изменённых строк */
.lkp-sm-row.lkp-sm-row-updated {
    background: rgba(34, 197, 94, 0.08) !important;
    box-shadow: inset 0 0 0 1px rgba(34, 197, 94, 0.4);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* ===== Пагинация ===== */

.lkp-sm-pagination {
    margin-top: 16px;
    display: flex;
    justify-content: center;
}

.lkp-sm-pagination-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.lkp-sm-page-link {
    min-width: 32px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid #d1d5db;
    background: #ffffff;
    font-size: 13px;
    line-height: 1.2;
    color: #111827;
    cursor: pointer;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.lkp-sm-page-link:hover {
    background: #eff6ff;
    border-color: #93c5fd;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.lkp-sm-page-link--current {
    background: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
    box-shadow: 0 1px 4px rgba(37, 99, 235, 0.45);
}

.lkp-sm-page-link--current:hover {
    background: #2563eb;
    border-color: #2563eb;
}

.lkp-sm-page-link--disabled {
    opacity: 0.4;
    cursor: default;
    pointer-events: none;
    box-shadow: none;
}

.lkp-sm-page-arrow {
    font-size: 14px;
    padding-left: 8px;
    padding-right: 8px;
}

.lkp-sm-page-ellipsis {
    align-self: center;
    font-size: 14px;
    color: #9ca3af;
}

/* Toast-уведомление */
.lkp-sm-toast {
    position: fixed;
    right: 24px;
    left: auto;
    bottom: 24px;
    min-width: 260px;
    max-width: 320px;
    padding: 10px 14px;
    background: #ffc100;
    color: #f9fafb;
    border-radius: 12px;
    font-size: 14px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s 0.25s;
    z-index: 99999;
}

.lkp-sm-toast.lkp-sm-is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

/* ===== МОБИЛЬНАЯ ВЁРСТКА ===== */

@media (max-width: 1035px) {

    .lkp-sm-search-row {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;              /* меньше отступ между поиском и селектом */
    }

    .lkp-sm-page-size {
        flex: 0 0 auto;
        text-align: left;
        margin-top: 0;         /* убираем лишний визуальный отступ */
    }

    .lkp-sm-page-size-label {
        text-align: left;
    }

    .lkp-sm-page-size-select {
        width: 100%;
    }

    .lkp-sm-table-wrapper {
        padding: 0;
        box-shadow: none;
        background: transparent;
        overflow-x: visible;
    }

    .lkp-sm-table {
        border: 0;
        width: 100%;
        table-layout: fixed;
    }

    .lkp-sm-table thead {
        display: none;
    }

    .lkp-sm-table,
    .lkp-sm-table tbody,
    .lkp-sm-table tr {
        display: block;
        width: 100%;
    }

    .lkp-sm-row {
        background: #ffffff;
        margin-bottom: 12px;
        border-radius: 14px;
        box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
        overflow: hidden;
    }

    .lkp-sm-cell {
        display: block;
        width: 100%;
        border: none;
        border-bottom: 1px solid #f3f4f6;
        padding: 8px 14px;
        white-space: normal; /* переносим на мобильных */
    }

    .lkp-sm-cell:last-child {
        border-bottom: none;
    }

    /* Лейбл из data-label — отдельной строкой сверху */
    .lkp-sm-cell::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 3px;
        font-weight: 600;
        font-size: 12px;
        text-transform: uppercase;
        letter-spacing: 0.03em;
        color: #6b7280;
        white-space: nowrap;
    }

    .lkp-sm-row.lkp-sm-row-updated {
        box-shadow: 0 10px 24px rgba(34, 197, 94, 0.25);
    }

    .lkp-sm-table-wrapper::-webkit-scrollbar {
        display: none;
    }
}


@media (max-width: 500px) {
  .smu-list {
    display: block;
  }

  .smu-item {
    margin: 8px 0px;
}

.smu-admin-meta--row {
    display: flex;
    justify-content: space-between;
    width: 100%;
    flex-direction: column;
}

.smu-item__foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
    flex-direction: column;
}

}

span.no_phone {
  font-size: 15px;
  font-weight: 600;
  color: #980900;
}

















/* Адаптация */
@media (max-width: 1035px) {
  .store-sidebar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 205px;
    transform: translateX(-100%);
    box-shadow: 0 10px 24px rgba(0,0,0,.35);
    opacity: 0;
    transition: 0.3s;
  }
  .store-sidebar.sidebar--mobile-open {
    transform: translateX(0);
    opacity: 1;
    transition: 0.3s;
  }

  .sm-backdrop[hidden] { display: none !important; }
  .sm-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.35);
    z-index: 1001;
  }

  .store-sidebar .sm-tooltip {
    display: none !important;
  }

  .store-header .sh-left {
    width: 40px;
    padding-left: 8px;
  }

  .sh-shop-title {
    display: none;
  }

  .sh-burger {
    width: 22px;
  }

  .sh-title {
    gap: 5px;
  }

  .sh-title__icon {
    width: 24px;
    height: 24px;
  }

  .sh-title__text {
    font-size: 16px;
  }

  .sh-center {
    gap: 10px;
    padding: 0 7px;
  }

  .sm-welcome-grid {
    grid-template-columns: 64px 1fr;
    gap: 25px;
  }

  .lkp-card__head { grid-template-columns: 1fr; }
  .lkp-card__head-right .lkp-btn { width: 91%; justify-content: center; }

  .lkp-filter-toggle { display: inline-flex; margin-top: 8px; width: 98% !important;}

  .lkp-filters { display: none; }
  .lkp-filter { margin-bottom: 10px; }
  .lkp-filter:last-child { margin-bottom: 0; }

  .lkp-table thead { display: none; }
  .lkp-table { border-spacing: 0; width: 100%; }
  .lkp-table tbody tr {
    display: block;
    margin-bottom: 12px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
    border-radius: 10px;
  }
  .lkp-table tbody td {
    display: flex;
    align-items: center;
    gap: 10px;
    border-top: 1px solid #f3f4f6;
    padding: 10px;
  }
  .lkp-table tbody tr td:first-child {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
  }
  .lkp-table tbody td::before {
    content: attr(data-label);
    font-weight: 600;
    color: #475569;
    flex: 0 0 110px;
    min-width: 110px;
  }

  .col-thumb .lkp-thumb,
  .col-thumb .lkp-thumb--placeholder {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    display: inline-block;
  }

  .lkp-actions { flex-direction: row; align-items: center; gap: 8px; }
  .lkp-action-row { display: flex; gap: 5px; }
  .lkp-action-row--secondary { position: relative; }
  .lkp-action-row--secondary::before {
    content: "";
    display: inline-block;
    width: 1px; height: 18px;
    background: #e5e7eb;
    margin: 0 6px 0 2px;
  }

  .lkp-status-tabs {
    flex-wrap: wrap;
    flex-direction: column;
    align-content: space-between;
  }

  .lkp-status-tab {
    width: 90vw;
  }

  .lkp-btn--primary {
    padding: 0px 10px 0px 10px!important
  }

  .sm-stats-card { padding: 16px; }

  .sm-stats-table,
  .sm-stats-summary,
  .sm-stats-table thead,
  .sm-stats-summary thead,
  .sm-stats-table tbody,
  .sm-stats-summary tbody {
    display: block;
    width: 100%;
  }

  .sm-stats-table thead,
  .sm-stats-summary thead {
    position: absolute;
    left: -9999px;
    top: -9999px;
    height: 0;
    width: 0;
    overflow: hidden;
  }

  .sm-stats-table tbody tr,
  .sm-stats-summary tbody tr {
    display: block;
    border: 1px solid #eef2f7;
    border-radius: 12px;
    background: #fff;
    margin: 0 0 12px;
    overflow: hidden;
  }

  .sm-stats-table tbody td,
  .sm-stats-summary tbody td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border-bottom: 1px solid #f1f5f9;
    width: 100%;
    box-sizing: border-box;
    word-break: break-word;
  }
  .sm-stats-table tbody td:last-child,
  .sm-stats-summary tbody td:last-child { border-bottom: none; }

  .sm-st-photo {
    justify-content: flex-start;
  }
  .sm-st-photo::before { content: ""; display: none; }
  .sm-st-photo img {
    width: 68px;
    height: 68px;
    object-fit: cover;
    border-radius: 10px;
  }

  .sm-st-title { align-items: flex-start; }
  .sm-st-title::before {
    content: attr(data-label);
    font-weight: 600;
    color: #64748b;
    margin-right: 12px;
    flex: 0 0 auto;
  }
  .sm-st-title a {
    max-width: 65vw;
    text-align: right;
  }

  .sm-st-day::before,
  .sm-st-total::before,
  .sm-st-orders::before,
  .sm-st-fav::before,
  .sm-st-email::before,
  .sm-st-phone::before,
  .sm-st-vk::before,
  .sm-st-tg::before,
  .sm-st-wa::before {
    content: attr(data-label);
    font-weight: 600;
    color: #64748b;
    margin-right: 12px;
    flex: 0 0 auto;
  }
  .sm-st-day, .sm-st-total, .sm-st-orders, .sm-st-fav, .sm-st-email, .sm-st-phone, .sm-st-vk, .sm-st-tg, .sm-st-wa {
    text-align: right;
    font-variant-numeric: tabular-nums;
  }

  .sm-stats-pagination { gap: 8px; }
  .sm-stats-title { font-size: 20px; }

  .lkp-add-grid { grid-template-columns: 1fr; }

  .col-price { width: 90%; }

  .lkp-card__head-right a.lkp-btn {
    padding: 0px 10px 0px 0px;
  }

  .media-modal .media-frame-title h1 {
    line-height: 1.222222!important;
  }

  .lkp-field {
    margin-bottom: 0px;
  }

  .lkp-cat-tree {
    padding: 0px 0px;
  }

  .lkst-hide-phone {
    display: block;
  }
}

@media (max-width: 800px) {
  h1.logins {
    font-size: 22px;
  }

  .sm-welcome-card {
    padding: 15px 10px;
  }

  .sm-welcome-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 10px
  }

  .sm-welcome-row, .sm-welcome-lastlogin {
    justify-content: center;
  }

  .sm-welcome-avatar {
    width: 60px;
    height: 60px;
    border: #d1dae58c solid 3px;
  }

  .sm-welcome-title {
    font-size: 22px;
  }

  .sm-welcome-row {
    gap: 5px;
  }

  .sm-welcome-clock {
    width: 21px;
    height: 21px;
  }

  .sm-welcome-shopname, .sm-welcome-shopname, .sm-welcome-membership, .sm-welcome-lastlogin {
    font-size: 16px;
  }

  .lkp-status-tab {
      width: 86vw;
  }
}

@media (max-width: 640px) {
  .lkp-attr-row { grid-template-columns:1fr; }
  .lkp-2col { grid-template-columns:1fr; }

  .lkp-status-tab {
      width: 85vw;
  }
}

@media (max-width: 500px) {
  .lkp-status-tab {
      width: 78vw;
  }
}
/* === Видео к товару === */
.lkp-upload-video{border:1px dashed #cbd5e1; padding:12px; border-radius:10px; background:#f8fafc}
.lkp-video-list{display:flex; gap:10px; flex-wrap:wrap; margin-bottom:10px}
.lkp-video-item{position:relative; width:160px; height:110px; background:#fff; border:1px solid #e5e7eb; border-radius:8px; overflow:hidden; display:flex; align-items:center; justify-content:center}
.lkp-video-item video{width:100%; height:100%; object-fit:cover}
.lkp-video-remove{position:absolute; top:4px; right:4px; width:24px; height:24px; line-height:22px; border-radius:50%; border:0; background:#ef4444; color:#fff; cursor:pointer}
.lkp-progress{position:absolute; left:0; bottom:0; height:4px; width:100%; background:#e5e7eb}
.lkp-progress__bar{height:100%; width:0%; background:#3b82f6; transition:width .2s}

.lkp-video-item{display:flex;flex-direction:column;justify-content:center}
.lkp-video-poster{width:100%;height:100%;object-fit:cover}
.lkp-video-caption{position:absolute;left:6px;right:28px;bottom:6px;font-size:11px;color:#111;background:rgba(255,255,255,.8);padding:2px 6px;border-radius:6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* Notice for video duration limit */
.lkp-video-notice{background:#fff3cd;color:#664d03;border:1px solid #ffecb5;padding:8px 10px;border-radius:6px;margin-top:8px;font-size:13px;}
