@font-face {
  font-family: "Manrope";
  src: url("fonts/Manrope-Medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("fonts/Manrope-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("fonts/Manrope-ExtraBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: "JetBrains Mono";
  src: url("fonts/JetBrainsMono-Medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "JetBrains Mono";
  src: url("fonts/JetBrainsMono-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --font-main: "Manrope", Arial, sans-serif;
  --font-mono: "JetBrains Mono", Consolas, monospace;
}

form span
/*----Отступ-----------------------*/

.indent {
  width: 100%;
  height: 100px;
}

.indentBig {
  width: 100%;
  height: 200px;
}

.indentMini {
  width: 100%;
  height: 30px;
}

/*---------------------------------*/

input::placeholder {
  color: #999999;
}

.flex-blocks {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  flex-wrap: wrap;
}

li {
  list-style-type: none;
}

form {
  margin: 0px;
  padding: 0px;
}

/* form input, select{
    margin-top: 4px;
    margin-bottom: 11px;
} */

/* form span {
    display: block;
} */

section {
  margin: auto;
  width: 100%;
}

.block {
  margin: 20px;
  padding: 10px;
  border: 1px solid #cccccc;
  background: #ffffff;
  -webkit-box-shadow: 0px 4px 10px 2px rgba(54, 56, 58, 0.25);
  -moz-box-shadow: 0px 4px 10px 2px rgba(54, 56, 58, 0.25);
  box-shadow: 0px 4px 10px 2px rgba(54, 56, 58, 0.25);
}

.mini-block {
  margin: 10px;
  padding: 10px;
  border: 1px solid #cccccc;
  background: #ffffff;
  -webkit-box-shadow: 0px 4px 10px 2px rgba(54, 56, 58, 0.25);
  -moz-box-shadow: 0px 4px 10px 2px rgba(54, 56, 58, 0.25);
  box-shadow: 0px 4px 10px 2px rgba(54, 56, 58, 0.25);
}

.w20 {
  width: 20%;
}

.w30 {
  width: 30%;
}

.w40 {
  width: 40%;
}

.w50 {
  width: 50%;
}

.w60 {
  width: 60%;
}

.w70 {
  width: 70%;
}

.w80 {
  width: 80%;
}

.w90 {
  width: 90%;
}

.w100 {
  width: 100%;
}

.mt2 {
  margin-top: 2px !important;
}

.mt3 {
  margin-top: 3px !important;
}

.mt4 {
  margin-top: 4px !important;
}

.mt5 {
  margin-top: 5px !important;
}

.mt10 {
  margin-top: 10px !important;
}

.mt15 {
  margin-top: 15px !important;
}

.mt20 {
  margin-top: 20px !important;
}

.mt30 {
  margin-top: 30px !important;
}

.mt40 {
  margin-top: 40px !important;
}

.mt50 {
  margin-top: 50px !important;
}

.mt60 {
  margin-top: 60px !important;
}

.mt70 {
  margin-top: 70px !important;
}

.mb2 {
  margin-bottom: 2px !important;
}

.mb3 {
  margin-bottom: 3px !important;
}

.mb4 {
  margin-bottom: 4px !important;
}

.mb5 {
  margin-bottom: 5px !important;
}

.mb10 {
  margin-bottom: 10px !important;
}

.mb20 {
  margin-bottom: 20px !important;
}

.mb30 {
  margin-bottom: 30px !important;
}

.mb40 {
  margin-bottom: 40px !important;
}

.mb50 {
  margin-bottom: 50px !important;
}

.mb60 {
  margin-bottom: 60px !important;
}

.mb70 {
  margin-bottom: 70px !important;
}

.ml5 {
  margin-left: 5px !important;
}

.ml10 {
  margin-left: 10px !important;
}

.ml15 {
  margin-left: 15px !important;
}

.ml20 {
  margin-left: 20px !important;
}

.ml25 {
  margin-left: 25px !important;
}

.mr5 {
  margin-right: 5px !important;
}

.mr10 {
  margin-right: 10px !important;
}

.mr15 {
  margin-right: 15px !important;
}

.mr20 {
  margin-right: 20px !important;
}

.mr25 {
  margin-right: 25px !important;
}

.p5 {
  padding: 5px !important;
}

.p10 {
  padding: 10px !important;
}

.p15 {
  padding: 15px !important;
}

.p20 {
  padding: 20px !important;
}

.p25 {
  padding: 25px !important;
}

.pt5 {
  padding-top: 5px !important;
}

.pt10 {
  padding-top: 10px !important;
}

.pt15 {
  padding-top: 15px !important;
}

.pt20 {
  padding-top: 20px !important;
}

.pt25 {
  padding-top: 25px !important;
}

.pl5 {
  padding-left: 5px !important;
}

.pl10 {
  padding-left: 10px !important;
}

.pl15 {
  padding-left: 15px !important;
}

.pl20 {
  padding-left: 20px !important;
}

.pl25 {
  padding-left: 25px !important;
}

.pr5 {
  padding-right: 5px !important;
}

.pr10 {
  padding-right: 10px !important;
}

.pr15 {
  padding-right: 15px !important;
}

.pr20 {
  padding-right: 20px !important;
}

.pr25 {
  padding-right: 25px !important;
}

textarea,
select,
input[type="number"],
input[type="password"],
input[type="text"],
input[type="tel"],
input[type="date"],
input[type="email"] {
  padding: 10px;
  font-size: 14px;
  border-radius: 6px;
  border: 1px solid #b7b7b7;
  background: #ffffff;
  outline: none;
  box-sizing: border-box;
}

select,
input[type="number"],
input[type="password"],
input[type="text"],
input[type="tel"],
input[type="date"],
input[type="email"] {
  width: 100%;
}

textarea {
  width: 98%;
  height: 60px;
  min-height: 160px;
  resize: none;
}

input[type="submit"] {
  outline: none;
}

.mb15 {
  margin-bottom: 15px;
  display: block;
}

option {
  background: #ffffff;
}

.form-element {
  margin-top: 20px;
}

.but {
  text-align: center;
  padding: 10px 15px;
  margin-left: 4px;
  margin-right: 4px;
  cursor: pointer;
  text-decoration: none;
  border-radius: 6px;
  border: none;
  color: white !important;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;

  transition: 0.2s ease;
}

.but:hover {
  opacity: 0.9;
  text-decoration: none;
}

.but_save {
  background: #388a3b;
  color: #ffffff !important;
  transition: 0.2s ease;
}

.but_insert {
  color: #ffffff !important;
  background-color: #388a3b;
  border-color: #2b6e2d;
  min-width: 120px;
  transition: 0.2s ease;
}

.but_delete {
  color: #fff !important;
  background-color: #dc3545;
  border-color: #dc3545;
  transition: 0.2s ease;
}

.but_upload {
  background: #1a4bd4;
  color: #ffffff !important;
  transition: 0.2s ease;
}

.but_upload i {
  margin-top: 2px !important;
  transition: 0.2s ease;
}

.but_save,
.but_insert,
.but_delete,
.but_upload {
  display: flex;
  align-items: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
  cursor: pointer;
  border-radius: 6px;
  border: 0px !important;
  padding: 0px 10px;
  height: 38px;
}

.but_save i,
.but_insert i,
.but_delete i,
.but_upload i {
  margin-right: 5px;
}

.but_save:hover,
.but_insert:hover,
.but_delete:hover,
.but_upload:hover {
  opacity: 0.7;
  box-shadow: 1px 1px 1px #acacac91;
}

.mini-but {
  text-align: center;
  padding: 6px 7px;
  border-radius: 3px;
  margin-bottom: 4px;
  margin-left: 4px;
  margin-right: 4px;
  cursor: pointer;
  text-decoration: none;
  border: 0px;
  display: block;
}

.mini-but:hover {
  opacity: 0.9;
  text-decoration: none;
}

.alert {
  padding: 10px 20px;
}

.block-div {
  margin: 10px 0px;
}

/*-------- ЦВЕТА ------*/
.green {
  background: #388a3b;
  color: #ffffff !important;
  transition: 0.2s ease;
}

.red {
  color: #fff !important;
  background-color: #dc3545;
  border-color: #dc3545;
  transition: 0.2s ease;
}

.black {
  background: #444444;
  color: #ffffff;
  border: 1px solid #ffffff;
  transition: 0.2s ease;
}

.blue {
  background: #2196f3;
  color: #ffffff !important;
  border: 1px solid #ffffff;
  transition: 0.2s ease;
}

.yellow {
  color: #626060 !important;
  background-color: #ffc107;
  border-color: #ffc107;
}

.gray {
  color: #ffffff !important;
  background: #5c6367;
}

.orange {
  color: #ffffff;
  background-color: #f29a02;
}

.alert-primary {
  color: #1e73b7 !important;
  background-color: #cce5ff;
  border-color: #b8daff;
}

.alert-primary span {
  color: #004085;
}

.alert-success {
  color: #155724 !important;
  background-color: #d4edda;
  border-color: #c3e6cb;
}

label {
  margin: 5px 0px;
}

.alert-warning {
  margin: 10px 0px;
  color: #3f3f3f !important;
  background-color: rgb(230, 230, 230);
  border-color: #f7f7f7;
  padding: 20px;
  border-radius: 10px;
}

.alert-danger {
  color: #721c24 !important;
  background-color: #f7f7f7;
  border-color: #f7f7f7;
}

/*-------- Цвета границ ------*/
.green-border {
  border: 1px solid #4caf50 !important;
}

.red-border {
  border: 1px solid #dc3545 !important;
}

/*-------- Цвета границ Конец------*/

/*-------- ЦВЕТА КОНЕЦ ------*/

.border-zag {
  border: 1px solid #cccccc;
  border-radius: 6px;
  padding: 20px;
  margin: 6px;
  height: fit-content;
  box-sizing: border-box;
}

.border-zag .zag-border {
  background: #f6f6f6;
  padding: 10px;
  padding-top: 0px;
  font-size: 16px;
  font-weight: 500;
  color: #878787;
  position: relative;
  top: -30px;
  display: inline !important;
}

.border-zag t {
  font-size: 12px;
}

.hide {
  display: inline;
  opacity: 1;
  transition: opacity 1s;
}

/*-----------------Классы для построения дерева с бесконечной вложеность (дерево каталога) -------*/
/* ul-treefree */
.ul-treefree li a {
  color: #444444;
  margin-left: 10px;
}

.ul-treefree li span img {
  margin-left: 5px;
  position: relative;
  top: 5px;
}

ul.ul-treefree {
  padding-left: 25px;
}

ul.ul-treefree ul {
  margin: 0;
  padding-top: 10px;
  padding-left: 6px;
}

ul.ul-treefree li {
  position: relative;
  list-style: none outside none;
  border-left: solid 1px #999;
  margin: 0;
  padding: 0 0 6px 19px;
  line-height: 23px;
}

ul.ul-treefree li:before {
  content: "";
  content: "";
  display: block;
  border-bottom: solid 1px #999;
  position: absolute;
  width: 18px;
  height: 25px;
  left: 0;
  top: -8px;
}

ul.ul-treefree li:last-child {
  border-left: 0 none;
}

ul.ul-treefree li:last-child:before {
  border-left: solid 1px #999;
}

/* ul-dropfree */
ul.ul-dropfree div.drop {
  width: 11px;
  height: 11px;
  position: absolute;
  z-index: 10;
  top: 11px;
  left: -6px;
  background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAALCAIAAAD0nuopAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAE1JREFUeNpinDlzJgNlgAWI09LScEnPmjWLoAImrHpIAkwMFAMqGMGC6X44GzkIsHoQooAFTTVQKdbAwxOigyMsmIh3MC7ASHnqBAgwAD4CGeOiDhXRAAAAAElFTkSuQmCC");
  background-position: -11px 0;
  background-repeat: no-repeat;
  cursor: pointer;
}

/*--------------------------------------------------------------------------------------------*/

.table {
  width: 100%;
  margin-bottom: 1rem;
  color: #212529;
  border-collapse: collapse;
  font-size: 14px;
  text-align: left;
}

.table thead {
  background: #5a6266;
  color: #ffffff;
}

.table td {
  padding: 14px !important;
}

.table td,
.table th {
  padding: 10px 20px;
  vertical-align: middle;
}

.hover {
  transition: 0.2s ease;
}

.hover:hover {
  cursor: pointer;
  /*background: #dcdcdccf !important;*/
  opacity: 0.7;
}

.table tbody tr:nth-of-type(odd) {
  background-color: rgba(0, 0, 0, 0.05);
}

.table-bordered td,
.table-bordered th {
  border: 1px solid #dee2e6;
}

.table-wrap {
  text-align: center;
  display: inline-block;
  background-color: #fff;
  padding: 2rem 2rem;
  color: #000;
}

.table-adaptiv {
  border: 1px solid #ccc;
  width: 100%;
  margin: 0;
  padding: 0;
  border-collapse: collapse;
  border-spacing: 0;
}

.table-adaptiv tr {
  border: 1px solid #ddd;
  padding: 5px;
}

.table-adaptiv th,
.table-adaptiv td {
  padding: 10px;
  text-align: center;
  border-right: 1px solid #ddd;
}

.table-adaptiv th {
  color: #fff;
  background-color: #444;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 1px;
}

@media screen and (max-width: 600px) {
  .table-adaptiv {
    border: 0;
  }

  .table-adaptiv thead {
    display: none;
  }

  .table-adaptiv tr {
    margin-bottom: 10px;
    display: block;
    border-bottom: 2px solid #ddd;
  }

  .table-adaptiv td {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 13px;
    border-bottom: 1px solid #e9e9e9;
    border-right: 1px solid transparent;
  }

  .table-adaptivtd:last-child {
    border-bottom: 0;
  }

  .table-adaptiv td:before {
    content: attr(data-label);
    float: left;
    text-transform: uppercase;
    font-weight: bold;
  }
}

/*ПОЛОЖЕНИЕ БЛОК FLEX*/
.between {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.between-center {
  display: flex;
  align-items: center;

  justify-content: space-between;
}

.between-top {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  justify-content: space-between;
}

.between-bottom {
  display: flex;
  align-items: flex-end;

  justify-content: space-between;
}

.center-center {
  display: flex;
  align-items: center;

  justify-content: center;
}

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

.left-baseline {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
}

.left-top {
  display: flex;
  justify-content: flex-start;
}

.left-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}

.right-center {
  display: flex;

  align-items: center;
  justify-content: flex-end;
}

.right-top {
  display: flex;

  justify-content: flex-end;
}

.right {
  margin-left: auto;
}

.wrap {
  flex-wrap: wrap;
}

/*ПОЛОЖЕНИЕ БЛОК FLEX КОНЕЦ*/

/*---БОКОВОЕ МЕНЮ---*/
.openNav {
  font-size: 16px;
  cursor: pointer;
  color: #ffffff;
}

.sidenav {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1;
  top: 0;
  right: 0;
  background-color: #2d2d2d;
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 60px;
}

.sidenav a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 16px;
  color: #818181;
  display: block;
  transition: 0.3s;
}

.sidenav a:hover {
  color: #f1f1f1;
}

.sidenav .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
}

@media screen and (max-width: 450px) {
  .sidenav {
    padding-top: 15px;
  }

  .sidenav a {
    font-size: 18px;
  }
}

/*---БОКОВОЕ МЕНЮ КОНЕЦ---*/

/*---------- Увеличения img --------------*/
/* картинка на странице */
.minimized {
  width: 300px;
  cursor: pointer;
  border: 1px solid #fff;
}

.minimized:hover {
  border: 1px solid yellow;
}

/* увеличенная картинка */
#magnify {
  display: none;
  /* position: absolute; upd: 24.10.2016 */
  position: fixed;
  max-width: 800px;
  height: auto;
  z-index: 9999;
}

#magnify img {
  width: 100%;
}

/* затемняющий фон */
#overlay {
  display: none;
  background: #000;
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  opacity: 0.5;
  z-index: 9990;
}

/* кнопка закрытия */
#close-popup {
  width: 30px;
  height: 30px;
  background: #ffffff;
  border: 1px solid #afafaf;
  border-radius: 15px;
  cursor: pointer;
  position: absolute;
  top: 15px;
  right: 15px;
}

#close-popup i {
  width: 30px;
  height: 30px;
  background: url(../img/cross.png) no-repeat center center;
  background-size: 16px 16px;
  display: block;
}

@keyframes rota {
  25% {
    transform: rotate(360deg);
  }
}

#close-popup:hover {
  animation: rota 4s infinite normal;
  -webkit-animation-iteration-count: 1;
  animation-iteration-count: 1;
}

.select_img {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-start;
}

@media screen and (max-width: 500px) {
  #magnify {
    max-width: 90%;
  }

  .select_img {
    justify-content: center;
  }
}

.flex-10 {
  display: flex;
  align-items: center;
  gap: 10px;
}

.flex-15 {
  display: flex;
  align-items: center;
  gap: 15px;
}

.card-groups {
  border: 1px solid #cccccc;
  padding: 20px;
  border-radius: 10px;
}

.modal-form {
  display: flex;
  align-items: center;
}

.row-form {
  display: flex;
  gap: 10px;
  flex-direction: row;
  align-items: center;
}

.tab-nav {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  order: -1;
}

.tab-link {
  font-size: 18px;
  padding: 10px 15px;
  margin: 5px 2px;
  background-color: #36464e;
  color: #ffffff;
  position: relative;
  border-color: #28343a;
  border-radius: 3px;
  text-align: center;
  color: white !important;
  transition: 0.1s ease;
  cursor: pointer;
}

.tab-link:hover,
.tab-link.active {
  background-color: #36464eda;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.linked-category {
  display: flex !important;
}

.delete-link {
  padding: 10px;
}

.char-list-line {
  padding: 5px;
}

.flex-top {
  display: flex;
  gap: 10px;
  align-items: start;
}

.flex-start {
  display: flex;
  align-items: stretch;
  gap: 30px;
}

.f-right {
  justify-content: right;
  align-items: center;
  height: 200px;
}

.f-center {
  justify-content: center;
  align-items: center;
  height: 200px;
}

.f-center-main {
  justify-content: center;
  align-items: center;
}

.gap5 {
  gap: 5px !important;
}

.gap10 {
  gap: 10px !important;
}

.gap15 {
  gap: 15px !important;
}

.gap20 {
  gap: 20px !important;
}

.gap25 {
  gap: 25px !important;
}

.gap30 {
  gap: 30px !important;
}

.gap35 {
  gap: 35px !important;
}

.gap40 {
  gap: 40px !important;
}

.gap45 {
  gap: 45px !important;
}

.gap50 {
  gap: 50px !important;
}

.gap55 {
  gap: 55px !important;
}

.gap60 {
  gap: 60px !important;
}

.gap65 {
  gap: 65px !important;
}

.gap70 {
  gap: 70px !important;
}

.gap75 {
  gap: 75px !important;
}

.gap80 {
  gap: 80px !important;
}

.gap85 {
  gap: 85px !important;
}

.gap90 {
  gap: 90px !important;
}

.gap95 {
  gap: 95px !important;
}

.gap100 {
  gap: 100px !important;
}

.gap5 {
  gap: 5px !important;
}

.gap10 {
  gap: 10px !important;
}

.gap15 {
  gap: 15px !important;
}

.gap20 {
  gap: 20px !important;
}

.gap25 {
  gap: 25px !important;
}

.gap30 {
  gap: 30px !important;
}

.gap35 {
  gap: 35px !important;
}

.gap40 {
  gap: 40px !important;
}

.gap45 {
  gap: 45px !important;
}

.gap50 {
  gap: 50px !important;
}

.gap55 {
  gap: 55px !important;
}

.gap60 {
  gap: 60px !important;
}

.gap65 {
  gap: 65px !important;
}

.gap70 {
  gap: 70px !important;
}

.gap75 {
  gap: 75px !important;
}

.gap80 {
  gap: 80px !important;
}

.gap85 {
  gap: 85px !important;
}

.gap90 {
  gap: 90px !important;
}

.gap95 {
  gap: 95px !important;
}

.gap100 {
  gap: 100px !important;
}

.fs5 {
  font-size: 5px !important;
}

.fs8 {
  font-size: 8px !important;
}

.fs12 {
  font-size: 12px !important;
}

.fs15 {
  font-size: 15px !important;
}

.fs16 {
  font-size: 16px !important;
}

.fs18 {
  font-size: 18px !important;
}

.fs20 {
  font-size: 20px !important;
}

.fs24 {
  font-size: 24px !important;
}

.fs28 {
  font-size: 28px !important;
}

.fs32 {
  font-size: 32px !important;
}

.fs36 {
  font-size: 36px !important;
}

.fs40 {
  font-size: 40px !important;
}

.fs45 {
  font-size: 45px !important;
}

.fs50 {
  font-size: 50px !important;
}

.fs55 {
  font-size: 55px !important;
}

.fs60 {
  font-size: 60px !important;
}

.fs65 {
  font-size: 65px !important;
}

.fs70 {
  font-size: 70px !important;
}

.fs75 {
  font-size: 75px !important;
}

.fs80 {
  font-size: 80px !important;
}

.ta-center {
  text-align: center !important;
}

.flex-end {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.subcategory-title {
  color: black !important;
}

.breadcrumbs a:first-child {
  border: none;
  padding: 0;
  color: rgb(41, 41, 41);
}

.breadcrumbs a:not(:first-child) {
  border: none;
  padding: 0;
  color: rgb(41, 41, 41);
}

.breadcrumb-current {
  background: #c9c9c9 !important;
  color: #676767 !important;
}

.but-add {
  border-radius: 50%;
  color: white;
  padding: 10px 12px;
}

.but-add:hover {
  opacity: 0.8;
}

.shop-breadcrumb {
  font-size: 14px;
  line-height: 1.4;
  display: flex;
  align-items: center;
  gap: 5px;
}

.shop-breadcrumb a.shop-breadcrumb-link {
  color: #507bbb;
  text-decoration: none;
  transition:
    color 0.2s,
    text-decoration 0.2s;
  border: 1px solid #dddddd;
  padding: 10px;
  display: inline-block;
  border-radius: 4px;
  background: #f0f0f0;
  text-decoration: none;
  color: inherit;
}

.shop-breadcrumb a.shop-breadcrumb-link:hover {
  text-decoration: underline;
  color: #44689f;
}

.shop-breadcrumb-current {
  color: #444444;
  border: 1px solid #afafaf;
  padding: 10px;
  display: inline-block;
  border-radius: 4px;
  background: #f0f0f0;
  text-decoration: none;
  color: inherit;
}

.shop-breadcrumb-status {
  font-weight: 500;
  color: #333333;
}

.shop-breadcrumb span,
.shop-breadcrumb a {
  white-space: nowrap;
}

.shop-breadcrumb a:last-child::after,
.shop-breadcrumb span:last-child::after {
  content: "";
}

.column {
  flex-direction: column;
  align-items: flex-start !important;
}

.shopuni {
  /* --- фирменная палитра --- */
  --c-dark: #283336;
  --c-slate: #36464e;
  --c-teal: #24a698;
  --c-teal-dark: #1c8579;
  --c-teal-soft: #e6f6f4;

  --c-bg: #ffffff;
  --c-panel: #fafbfb;
  --c-border: #e5e9ea;
  --c-muted: #7c8a8e;
  --c-danger: #e5484d;
  --c-danger-soft: #fdecec;

  font-family:
    "Manrope",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  color: var(--c-dark);
}

/* ---------- Header ---------- */
.shopuni-header {
  margin-bottom: 14px;
}

.shopuni-title {
  font-size: 26px;
  font-weight: 800;
  margin: 0 0 4px;
  color: var(--c-dark);
}

.shopuni-subtitle {
  font-size: 13px;
  color: var(--c-muted);
  font-weight: 600;
}

/* ---------- Breadcrumb ---------- */
.shopuni-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.shopuni-crumb {
  font-size: 13px;
  font-weight: 700;
  color: var(--c-muted);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.shopuni-crumb:hover {
  color: var(--c-teal);
}

.shopuni-crumb.is-active {
  color: var(--c-dark);
}

.shopuni-crumb-sep {
  color: var(--c-border);
  font-weight: 700;
}

.shopuni-crumb-current {
  color: var(--c-dark);
}

.shopuni-crumb-current i {
  font-size: 10px;
  color: var(--c-teal);
}

/* ---------- Filter bar ---------- */
.shopuni-filterbar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.shopuni-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--c-panel);
  border: 1px solid var(--c-border);
  border-radius: 12px;
  padding: 0px 14px;
  flex: 1;
  min-width: 220px;
}

.shopuni-search i {
  color: var(--c-muted);
  font-size: 13px;
}

.shopuni-search input {
  border: none;
  outline: none;
  background: transparent;
  font-size: 14px;
  font-family: inherit;
  width: 100%;
  color: var(--c-dark);
}

.shopuni-select {
  border: 1px solid var(--c-border);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  max-width: 200px;
  font-family: inherit;
  background: var(--c-bg);
  color: var(--c-dark);
}

.shopuni-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: none;
  border-radius: 12px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  font-family: inherit;
  transition: 0.2s ease;
}

.shopuni-btn-primary {
  background: var(--c-teal);
  color: #fff;
}

.shopuni-btn-primary:hover {
  background: var(--c-teal-dark);
}

.shopuni-btn-accent {
  background: var(--c-teal);
  color: #fff;
}

.shopuni-btn-accent:hover {
  background: var(--c-teal-dark);
}

.shopuni-btn-ghost {
  background: var(--c-bg);
  color: var(--c-slate);
  border: 1px solid var(--c-border);
}

.shopuni-btn-ghost:hover {
  border-color: var(--c-teal);
  color: var(--c-teal);
}

/* ---------- Category list (когда категория не выбрана) ---------- */
.shopuni-cat-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.shopuni-cat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: 14px;
  padding: 18px 22px !important;
  text-decoration: none;
  color: var(--c-dark);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    border-color 0.15s ease;
}

.shopuni-cat-row:hover {
  border-color: var(--c-teal);
}

.shopuni-cat-name {
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.shopuni-cat-sub-badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--c-teal-dark);
  background: var(--c-teal-soft);
  padding: 3px 9px;
  border-radius: 100px;
}

.shopuni-cat-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--c-muted);
}

.shopuni-cat-count {
  font-size: 12px;
  font-family: "JetBrains Mono", monospace;
}

/* ---------- Sections ---------- */
.shopuni-section {
  margin-bottom: 26px;
}

.shopuni-section-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 10px;
}

.shopuni-section-name {
  font-size: 16px;
  font-weight: 800;
  color: var(--c-dark);
}

.shopuni-section-count {
  font-size: 12px;
  font-weight: 700;
  color: var(--c-muted);
  font-family: "JetBrains Mono", monospace;
}

/* ---------- Chips (подкатегории) ---------- */
.shopuni-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.shopuni-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--c-teal-soft);
  color: var(--c-teal-dark);
  border-radius: 100px;
  padding: 7px 13px;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
}

.shopuni-chip:hover {
  background: var(--c-teal);
  color: #fff;
}

.shopuni-chip-cnt {
  background: rgba(255, 255, 255, 0.6);
  border-radius: 100px;
  padding: 1px 7px;
  font-size: 11px;
  font-family: "JetBrains Mono", monospace;
}

.shopuni-chip:hover .shopuni-chip-cnt {
  background: rgba(255, 255, 255, 0.25);
}

.shopuni-list {
  border: 1px solid var(--c-border);
  border-radius: 14px;
  overflow: hidden;
  background: var(--c-bg);
}

.shopuni-row-empty {
  padding: 20px;
  text-align: center;
  color: var(--c-muted);
  font-size: 13px;
}

/* ---------- Row ---------- */
.shopuni-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--c-border);
}

.shopuni-row:last-child {
  border-bottom: none;
}

.shopuni-row:hover {
  background: var(--c-panel);
}

.shopuni-row-num {
  width: 18px;
  font-size: 12px;
  font-weight: 700;
  color: var(--c-muted);
  text-align: center;
  flex-shrink: 0;
}

.shopuni-thumb {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  background-color: var(--c-panel);
  flex-shrink: 0;
  cursor: pointer;
}

.shopuni-thumb-edit {
  position: absolute;
  top: 30%;
  right: 25%;
  width: 25px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: var(--c-teal);
  color: #fff;
  font-size: 10px;
  cursor: pointer !important;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.shopuni-thumb:hover .shopuni-thumb-edit {
  opacity: 1;
}

.shopuni-row-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.shopuni-row-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--c-dark);
  text-decoration: none;
}

.shopuni-row-name:hover {
  color: var(--c-teal);
}

.shopuni-row-sub {
  display: flex;
  align-items: center;
  gap: 12px;
}

.shopuni-row-desc {
  font-size: 12px;
  color: var(--c-muted);
}

.shopuni-row-price {
  background: transparent !important;
  font-size: 14px !important;
  font-weight: 800;
  color: var(--c-dark);
  width: 70px !important;
  padding: 2px 4px !important;
  border-radius: 0px !important;
  border-bottom: 1px solid rgb(235, 235, 235) !important;
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
  font-family: "JetBrains Mono", monospace;
}

.shopuni-row-price:hover,
.shopuni-row-price:focus {
  background: var(--c-teal-soft);
  outline: none;
}

.shopuni-toggle {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
  flex-shrink: 0;
  cursor: pointer;
}

.shopuni-toggle input {
  display: none;
}

.shopuni-toggle-track {
  position: absolute;
  inset: 0;
  background: #d8dedf;
  border-radius: 100px;
  transition: background 0.15s ease;
}

.shopuni-toggle-knob {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: transform 0.15s ease;
}

.shopuni-toggle input:checked+.shopuni-toggle-track {
  background: var(--c-teal);
}

.shopuni-toggle input:checked+.shopuni-toggle-track .shopuni-toggle-knob {
  transform: translateX(18px);
}

.shopuni-row-statuslabel {
  font-size: 12px;
  font-weight: 700;
  color: var(--c-muted);
  width: 74px;
  flex-shrink: 0;
}

.shopuni-icon-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: var(--c-panel);
  border: 1px solid var(--c-border);
  color: var(--c-slate);
  text-decoration: none;
  font-size: 12px;
  flex-shrink: 0;
}

.shopuni-icon-btn:hover {
  border-color: var(--c-teal);
  color: var(--c-teal);
}

.shopuni-icon-btn-danger:hover {
  border-color: var(--c-danger);
  color: var(--c-danger);
  background: var(--c-danger-soft);
}

.shopuni-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--c-muted);
}

.shopuni-empty i {
  font-size: 32px;
  margin-bottom: 10px;
  display: block;
}

/* ---------- Modal (общая) ---------- */
.shopuni-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(40, 51, 54, 0.5);
  z-index: 100;
  align-items: center;
  justify-content: center;
}

.shopuni-modal-overlay.is-open {
  display: flex;
}

.shopuni-modal {
  background: #fff;
  border-radius: 16px;
  width: 460px;
  max-width: 92vw;
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.shopuni-modal-sm {
  width: 400px;
}

.shopuni-modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  border-bottom: 1px solid var(--c-border);
}

.shopuni-modal-head h3 {
  margin: 0;
  font-size: 16px;
  color: var(--c-dark);
}

.shopuni-modal-close {
  border: none;
  background: none;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  color: var(--c-muted);
}

.shopuni-modal-body {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.shopuni-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 18px 20px;
}

.shopuni-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--c-muted);
}

.shopuni-field-full {
  grid-column: 1 / -1;
}

.shopuni-field input,
.shopuni-field select,
.shopuni-field textarea {
  border: 1px solid var(--c-border);
  border-radius: 9px;
  padding: 9px 10px;
  font-size: 14px;
  font-family: inherit;
  color: var(--c-dark);
  resize: vertical;
}

.shopuni-field input:focus,
.shopuni-field select:focus,
.shopuni-field textarea:focus {
  outline: none;
  border-color: var(--c-teal);
}

.shopuni-modal-foot {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 16px 20px;
  border-top: 1px solid var(--c-border);
}

.shopuni-photo-preview {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 12px;
  background: var(--c-panel);
  border: 1px solid var(--c-border);
}

.shopuni-or-divider {
  text-align: center;
  font-size: 11px;
  color: var(--c-muted);
  font-weight: 700;
  text-transform: uppercase;
}

.shopuni-remove-photo-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--c-danger);
  text-decoration: none;
}

/* ---------- Дерево категорий в модалке ---------- */
.shopuni-tree-search {
  margin-bottom: 4px;
}

.shopuni-tree {
  max-height: 420px;
  overflow-y: auto;
}

.shopuni-tree-node {
  margin-bottom: 2px;
}

.shopuni-tree-row {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 4px;
  border-radius: 8px;
}

.shopuni-tree-row:hover {
  background: var(--c-panel);
}

.shopuni-tree-row.is-current {
  background: var(--c-teal-soft);
}

.shopuni-tree-row.is-current .shopuni-tree-link {
  color: var(--c-teal-dark);
}

.shopuni-tree-toggle {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border: none;
  background: none;
  cursor: pointer;
  color: var(--c-muted);
  display: flex;
  align-items: center;
  justify-content: center;
}

.shopuni-tree-toggle i {
  transition: transform 0.15s ease;
  font-size: 10px;
}

.shopuni-tree-toggle.is-rotated i {
  transform: rotate(90deg);
}

.shopuni-tree-spacer {
  flex-shrink: 0;
}

.shopuni-tree-link {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  text-decoration: none;
  color: var(--c-dark);
  font-size: 13.5px;
  font-weight: 600;
}

.shopuni-tree-cnt {
  font-size: 11px;
  color: var(--c-muted);
  font-family: "JetBrains Mono", monospace;
}

.shopuni-tree-children {
  display: none;
  padding-left: 20px;
  margin-left: 9px;
  border-left: 1px dashed var(--c-border);
}

.shopuni-tree-children.is-open {
  display: block;
}

@media (max-width: 640px) {
  .shopuni-row-desc {
    display: none;
  }

  .shopuni-form-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Новая компоновка строки товара ---------- */
.shopuni-filterbar {
  flex-wrap: wrap;
}

.shopuni-sort-select {
  min-width: 174px;
}

.shopuni-cat-icon {
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 9px;
  background: var(--c-teal-soft, #e6f6f4);
  color: var(--c-teal-dark, #1c8579);
  font-size: 13px;
}

.shopuni-media {
  display: flex;
  width: 72px;
  flex-shrink: 0;
  align-items: center;
  flex-direction: column;
  gap: 5px;
}

.shopuni-article {
  display: block;
  width: 100%;
  overflow: hidden;
  color: #64748b;
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shopuni-price-editor {
  position: relative;
  display: inline-grid;
  grid-template-columns: auto minmax(80px, 100px) auto;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border: 1px solid rgba(36, 166, 152, 0.42);
  border-radius: 10px;
  background: linear-gradient(135deg,
      rgba(230, 246, 244, 0.95),
      rgba(255, 255, 255, 0.98));
  cursor: text;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease;
}

.shopuni-price-editor:hover,
.shopuni-price-editor:focus-within {
  border-color: var(--c-teal, #24a698);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(36, 166, 152, 0.12);
}

.shopuni-price-label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--c-teal-dark, #1c8579);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.shopuni-row-price {
  width: 92px !important;
  padding: 2px 4px !important;
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  color: var(--c-dark, #283336) !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  text-align: right;
}

.shopuni-price-edit-icon {
  color: var(--c-teal, #24a698);
  font-size: 10px;
  opacity: 0.7;
}

.shopuni-flags {
  display: grid;
  min-width: 235px;
  flex-shrink: 0;
  grid-template-columns: repeat(1, minmax(108px, 1fr));
  gap: 8px;
}

.shopuni-flag-visibility {
  display: none !important;
}

.shopuni-flag {
  display: flex;
  min-height: 52px;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 6px 8px;
  border: 1px solid var(--c-border, #e5e9ea);
  border-radius: 10px;
  background: rgba(250, 251, 251, 0.9);
}

.shopuni-flag-title {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.shopuni-flag-control {
  display: flex;
  align-items: center;
  gap: 7px;
}

.shopuni-flag-value {
  min-width: 54px;
  color: #64748b;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.1;
}

.shopuni-flag-value.is-on {
  color: #15803d;
}

.shopuni-flag-value.is-off {
  color: #b91c1c;
}

.shopuni-toggle-stock input:checked+.shopuni-toggle-track {
  background: #2563eb;
}

.shopuni-row-hidden {
  background-image: linear-gradient(90deg,
      rgba(241, 245, 249, 0.68),
      transparent);
}

.shopuni-row-hidden .shopuni-row-name {
  color: #64748b;
}

.shopuni-row-out-of-stock:not(.shopuni-row-uncategorized) {
  box-shadow: inset 3px 0 0 rgba(245, 158, 11, 0.72);
}

@media (max-width: 1050px) {
  .shopuni-row {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .shopuni-row-info {
    min-width: calc(100% - 150px);
  }

  .shopuni-flags {
    width: 100%;
    min-width: 0;
    margin-left: 104px;
  }
}

@media (max-width: 640px) {
  .shopuni-media {
    width: 60px;
  }

  .shopuni-row-info {
    min-width: calc(100% - 100px);
  }

  .shopuni-flags {
    margin-left: 0;
    grid-template-columns: 1fr;
  }

  .shopuni-row-sub {
    align-items: flex-start;
    flex-direction: column;
  }

  .shopuni-price-editor {
    width: min(100%, 220px);
  }
}

/* ---------- Групповое редактирование ---------- */
.shopuni {
  transition: padding-bottom 0.25s ease;
}

.shopuni.is-bulk-mode {
  padding-bottom: 118px;
}

.shopuni-bulk-select {
  display: flex;
  width: 0;
  max-width: 0;
  height: 32px;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-7px) scale(0.78);
  transition:
    width 0.2s ease,
    max-width 0.2s ease,
    opacity 0.16s ease,
    transform 0.2s ease;
  cursor: pointer;
}

.shopuni.is-bulk-mode .shopuni-bulk-select {
  width: 32px;
  max-width: 32px;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0) scale(1);
}

.shopuni-bulk-select input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.shopuni-bulk-checkmark {
  display: inline-flex;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  border: 2px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  color: transparent;
  font-size: 10px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
  transition:
    border-color 0.15s ease,
    background 0.15s ease,
    color 0.15s ease,
    transform 0.15s ease;
}

.shopuni-bulk-select:hover .shopuni-bulk-checkmark {
  border-color: var(--c-teal, #24a698);
  transform: scale(1.05);
}

.shopuni-bulk-select input:checked+.shopuni-bulk-checkmark {
  border-color: var(--c-teal, #24a698);
  background: var(--c-teal, #24a698);
  color: #fff;
}

.shopuni-row.is-bulk-selected {
  position: relative;
  background: linear-gradient(90deg,
      rgba(230, 246, 244, 0.92),
      rgba(255, 255, 255, 0.98));
  box-shadow: inset 4px 0 0 var(--c-teal, #24a698);
}

.shopuni-row.is-bulk-selected.shopuni-row-uncategorized {
  box-shadow: inset 4px 0 0 var(--c-teal, #24a698);
}

.shopuni-bulk-mode-toggle {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 89;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 8px;
  border: 1px solid rgba(36, 166, 152, 0.25);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--c-dark, #283336);
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.16);
  backdrop-filter: blur(14px);
  cursor: pointer;
  transition:
    bottom 0.25s ease,
    transform 0.15s ease,
    border-color 0.15s ease,
    background 0.15s ease,
    color 0.15s ease;
}

.shopuni-bulk-mode-toggle:hover {
  border-color: var(--c-teal, #24a698);
  transform: translateY(-2px);
}

.shopuni-bulk-mode-toggle-icon {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: var(--c-teal-soft, #e6f6f4);
  color: var(--c-teal-dark, #1c8579);
  font-size: 14px;
}

.shopuni.is-bulk-mode .shopuni-bulk-mode-toggle {
  bottom: 24px !important;
  border-color: var(--c-teal, #24a698);
  background: var(--c-teal, #24a698);
  color: #fff;
}

.shopuni.is-bulk-mode .shopuni-bulk-mode-toggle-icon {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.shopuni-bulk-toolbar {
  position: fixed;
  right: 20px;
  bottom: 18px;
  left: 20px;
  z-index: 88;
  max-width: 1500px;
  margin: 0 auto;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 19px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 18px 55px rgba(15, 23, 42, 0.2);
  backdrop-filter: blur(16px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(calc(100% + 34px));
  transition:
    opacity 0.2s ease,
    transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.shopuni.is-bulk-mode .shopuni-bulk-toolbar {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.shopuni-bulk-toolbar-inner {
  display: flex;
  min-height: 88px;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.shopuni-bulk-selection-summary {
  display: flex;
  min-width: 104px;
  justify-content: center;
  align-items: center;
  gap: 9px;
}

.shopuni-bulk-selection-icon {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--c-teal-soft, #e6f6f4);
  color: var(--c-teal-dark, #1c8579);
  font-size: 14px;
}

.shopuni-bulk-selection-summary span:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.shopuni-bulk-selection-summary small {
  color: #64748b;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.shopuni-bulk-selection-summary strong {
  color: var(--c-dark, #283336);
  font-family: "JetBrains Mono", monospace;
  font-size: 20px;
  font-weight: 900;
}

.shopuni-bulk-selection-tools {
  display: flex;
  gap: 6px;
}

.shopuni-bulk-mini-button,
.shopuni-bulk-action,
.shopuni-bulk-delete,
.shopuni-bulk-close,
.shopuni-bulk-price-control button {
  border: 0;
  font-family: inherit;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    background 0.15s ease,
    color 0.15s ease,
    opacity 0.15s ease;
}

.shopuni-bulk-mini-button {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #f8fafc;
  color: #475569;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.shopuni-bulk-mini-button:hover:not(:disabled) {
  border-color: rgba(36, 166, 152, 0.4);
  color: var(--c-teal-dark, #1c8579);
}

.shopuni-bulk-divider {
  width: 1px;
  height: 44px;
  flex: 0 0 auto;
  background: #e2e8f0;
}

.shopuni-bulk-action-group {
  display: flex;
  min-width: max-content;
  flex-direction: column;
  gap: 5px;
}

.shopuni-bulk-action-title {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #64748b;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.shopuni-bulk-segmented {
  display: inline-flex;
  padding: 3px;
  border: 1px solid #e2e8f0;
  border-radius: 11px;
  background: #f8fafc;
}

.shopuni-bulk-action {
  min-height: 31px;
  padding: 6px 10px;
  border-radius: 8px;
  background: transparent;
  color: #475569;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.shopuni-bulk-action:hover:not(:disabled) {
  background: #fff;
  box-shadow: 0 2px 7px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
}

.shopuni-bulk-action.is-positive:hover:not(:disabled) {
  color: #15803d;
}

.shopuni-bulk-action.is-stock:hover:not(:disabled) {
  color: #1d4ed8;
}

.shopuni-bulk-action.is-warning:hover:not(:disabled) {
  color: #b45309;
}

.shopuni-bulk-price-control {
  display: grid;
  grid-template-columns: 78px 32px;
  padding: 3px;
  border: 1px solid rgba(36, 166, 152, 0.28);
  border-radius: 11px;
  background: var(--c-teal-soft, #e6f6f4);
}

.shopuni-bulk-price-control input {
  width: 78px;
  min-width: 0;
  padding: 5px 7px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--c-dark, #283336);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 900;
}

.shopuni-bulk-price-control button {
  display: inline-flex;
  width: 32px;
  height: 31px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--c-teal, #24a698);
  color: #fff;
}

.shopuni-bulk-delete {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border: 1px solid rgba(220, 38, 38, 0.22);
  border-radius: 11px;
  background: rgba(254, 242, 242, 0.94);
  color: #b91c1c;
  font-size: 11px;
  font-weight: 850;
  white-space: nowrap;
}

.shopuni-bulk-delete:hover:not(:disabled) {
  background: #dc2626;
  color: #fff;
  transform: translateY(-1px);
}

.shopuni-bulk-close {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 10px;
  background: #f1f5f9;
  color: #64748b;
}

.shopuni-bulk-close:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.shopuni-bulk-toolbar button:disabled {
  opacity: 0.38;
  cursor: not-allowed;
  transform: none !important;
}

.shopuni-bulk-feedback {
  position: absolute;
  right: 18px;
  bottom: calc(100% + 8px);
  max-width: 360px;
  padding: 8px 11px;
  border-radius: 10px;
  background: #0f172a;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.18);
  opacity: 0;
  pointer-events: none;
  transform: translateY(5px);
  transition:
    opacity 0.15s ease,
    transform 0.15s ease;
}

.shopuni-bulk-feedback.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.shopuni-bulk-feedback.is-error {
  background: #b91c1c;
}

@media (max-width: 980px) {
  .shopuni.is-bulk-mode {
    padding-bottom: 132px;
  }

  .shopuni.is-bulk-mode .shopuni-bulk-mode-toggle {
    bottom: 138px;
  }

  .shopuni-bulk-toolbar-inner {
    min-height: 96px;
  }
}

@media (max-width: 640px) {
  .shopuni.is-bulk-mode {
    padding-bottom: 168px;
  }

  .shopuni-bulk-mode-toggle {
    right: 14px;
    bottom: 14px;
    min-height: 44px;
    padding-right: 9px;
  }

  .shopuni-bulk-mode-toggle-label {
    display: none;
  }

  .shopuni.is-bulk-mode .shopuni-bulk-mode-toggle {
    bottom: 24px !important;
  }

  .shopuni-bulk-toolbar {
    right: 8px;
    bottom: 8px;
    left: 8px;
    border-radius: 16px;
  }

  .shopuni-bulk-toolbar-inner {
    min-height: 142px;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px;
    overflow-x: visible;
  }

  .shopuni-bulk-selection-summary {
    min-width: 96px;
  }

  .shopuni-bulk-divider {
    display: none;
  }

  .shopuni-bulk-delete span {
    display: none;
  }
}

.shopuni-toggle-stoplist input:checked+.shopuni-toggle-track {
  background: #dc2626;
}

.shopuni-flag-stoplist {
  border-color: rgba(220, 38, 38, 0.15);
  background: rgba(254, 242, 242, 0.7);
}

.shopuni-row-stop-listed:not(.shopuni-row-uncategorized) {
  box-shadow: inset 4px 0 0 #dc2626 !important;
  background-image: linear-gradient(90deg,
      rgba(254, 242, 242, 0.78),
      transparent);
}

.shopuni-bulk-action.is-danger-soft:hover:not(:disabled) {
  color: #b91c1c;
}

.product-edit-shell {
  --pe-dark: #283336;
  --pe-muted: #75858a;
  --pe-border: #e3e9ea;
  --pe-panel: #f7f9f9;
  --pe-teal: #24a698;
  --pe-teal-dark: #1c8579;
  --pe-teal-soft: #e6f6f4;
  --pe-red: #dc454b;
  color: var(--pe-dark);
  font-family:
    Manrope,
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
}

.product-edit-shell *,
.product-edit-shell *::before,
.product-edit-shell *::after {
  box-sizing: border-box;
}

.product-edit-breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 750;
}

.product-edit-breadcrumbs a,
.product-edit-breadcrumbs button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  padding: 6px 9px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #66777c;
  font: inherit;
  text-decoration: none;
  cursor: pointer;
  transition:
    background 0.15s ease,
    color 0.15s ease;
}

.product-edit-breadcrumbs a:hover,
.product-edit-breadcrumbs button:hover {
  background: var(--pe-teal-soft);
  color: var(--pe-teal-dark);
}

.product-breadcrumb-button>span,
.product-breadcrumb-home>span {
  overflow: hidden;
  max-width: 210px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-breadcrumb-product {
  background: var(--pe-teal-soft) !important;
  color: var(--pe-teal-dark) !important;
}

.product-breadcrumb-warning {
  color: #b45309 !important;
}

.product-breadcrumb-separator {
  color: #c5d0d2;
  font-size: 8px;
}

.product-breadcrumb-button .fa-chevron-down {
  font-size: 8px;
}

.product-edit-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
  padding: 15px 17px;
  border: 1px solid var(--pe-border);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 7px 24px rgba(40, 51, 54, 0.055);
}

.product-edit-heading,
.product-edit-header-actions,
.product-edit-heading p {
  display: flex;
  align-items: center;
}

.product-edit-heading {
  gap: 12px;
  min-width: 0;
}

.product-edit-heading>div:last-child {
  min-width: 0;
}

.product-edit-heading-icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 13px;
  background: var(--pe-teal-soft);
  color: var(--pe-teal-dark);
  font-size: 16px;
}

.product-edit-heading h1 {
  overflow: hidden;
  margin: 0;
  max-width: 650px;
  font-size: 32px;
  font-weight: 850;
  line-height: 1.2;
  margin-bottom: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-edit-heading p {
  flex-wrap: wrap;
  gap: 7px;
  margin: 5px 0 0;
  color: var(--pe-muted);
  font-size: 14px;
  font-weight: 500;
}

.product-edit-heading p>span:not(.product-status-badge) {
  font-family: "JetBrains Mono", monospace;
}

.product-status-badge,
.product-goods-state {
  display: inline-flex;
  padding: 3px 7px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 850;
}

.product-status-badge.is-active,
.product-goods-state.is-active {
  background: #eaf8ef;
  color: #16803d;
}

.product-status-badge.is-hidden,
.product-goods-state.is-hidden {
  background: #fff0f0;
  color: #c3373d;
}

.product-edit-header-actions {
  flex: 0 0 auto;
  gap: 8px;
}

.product-header-button {
  display: inline-flex;
  min-height: 39px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 12px;
  border-radius: 11px;
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
  transition:
    transform 0.15s ease,
    background 0.15s ease;
}

.product-header-button:hover {
  transform: translateY(-1px);
}

.product-header-button-light {
  border: 1px solid var(--pe-border);
  background: var(--pe-panel);
  color: #52656a !important;
}

.product-header-button-primary {
  border: 1px solid var(--pe-teal);
  background: var(--pe-teal);
  color: #fff !important;
}

.product-tab-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  display: none !important;
}

.product-tab-heading>span {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: var(--pe-teal-soft);
  color: var(--pe-teal-dark);
}

.product-tab-heading h2,
.product-tab-heading p {
  margin: 0;
}

.product-tab-heading h2 {
  font-size: 15px;
  font-weight: 850;
}

.product-tab-heading p {
  margin-top: 2px;
  color: var(--pe-muted);
  font-size: 10px;
  font-weight: 650;
}

.product-edit-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(28, 38, 41, 0.55);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.16s ease,
    visibility 0.16s ease;
}

.product-edit-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.product-edit-modal-dialog {
  width: min(470px, 100%);
  max-height: min(760px, calc(100vh - 36px));
  overflow: hidden;
  border-radius: 19px;
  background: #fff;
  box-shadow: 0 26px 80px rgba(15, 23, 42, 0.28);
  transform: translateY(12px) scale(0.98);
  transition: transform 0.18s ease;
}

.product-edit-modal.is-open .product-edit-modal-dialog {
  transform: translateY(0) scale(1);
}

.product-edit-modal-dialog-wide {
  width: min(680px, 100%);
}

.product-edit-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 17px 19px;
  border-bottom: 1px solid var(--pe-border);
}

.product-edit-modal-head h2,
.product-edit-modal-head p {
  margin: 0;
}

.product-edit-modal-head h2 {
  font-size: 16px;
  font-weight: 850;
}

.product-edit-modal-head p {
  margin-top: 3px;
  color: var(--pe-muted);
  font-size: 10px;
  font-weight: 650;
}

.product-edit-modal-head>button {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 11px;
  background: var(--pe-panel);
  color: #68797e;
  font-size: 22px;
  cursor: pointer;
}

.product-edit-modal-body {
  display: flex;
  max-height: calc(100vh - 432px);
  flex-direction: column;
  gap: 12px;
  padding: 15px 17px 17px;
}

.product-modal-search {
  display: flex;
  min-height: 42px;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid var(--pe-border);
  border-radius: 12px;
  background: var(--pe-panel);
}

.product-modal-search i {
  color: var(--pe-muted);
  font-size: 11px;
}

.product-modal-search input {
  width: 100%;
  height: 40px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--pe-dark);
  font: inherit;
  font-size: 12px;
}

.product-category-tree,
.product-goods-list {
  overflow-y: auto;
  padding-right: 3px;
}

.product-category-row {
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: 40px;
  border-radius: 10px;
}

.product-category-row:hover,
.product-category-row.is-current {
  background: var(--pe-teal-soft);
}

.product-tree-toggle,
.product-tree-spacer {
  display: inline-flex;
  width: 29px;
  height: 29px;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.product-tree-toggle {
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--pe-muted);
  font-size: 8px;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.product-tree-toggle.is-open {
  transform: rotate(90deg);
}

.product-category-link {
  display: flex;
  min-width: 0;
  flex: 1;
  align-items: center;
  gap: 9px;
  padding: 8px 10px 8px 3px;
  color: var(--pe-dark);
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
}

.product-category-link>span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-category-icon {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 8px;
  background: #f0f5f5;
  color: #687a7e;
  font-size: 10px;
}

.product-category-row.is-current .product-category-icon {
  background: #fff;
  color: var(--pe-teal-dark);
}

.product-category-children {
  display: none;
  margin-left: 17px;
  padding-left: 9px;
  border-left: 1px solid var(--pe-border);
}

.product-category-children.is-open {
  display: block;
}

.product-goods-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.product-goods-item {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto 18px;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid var(--pe-border);
  border-radius: 12px;
  background: #fff;
  color: var(--pe-dark);
  text-decoration: none;
  transition:
    border-color 0.15s ease,
    background 0.15s ease,
    transform 0.15s ease;
}

.product-goods-item:hover {
  border-color: rgba(36, 166, 152, 0.4);
  background: #fbfefe;
  transform: translateY(-1px);
}

.product-goods-item.is-current {
  border-color: rgba(36, 166, 152, 0.38);
  background: var(--pe-teal-soft);
}

.product-goods-thumb {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background-position: center;
  background-size: cover;
  background-color: var(--pe-panel);
}

.product-goods-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}

.product-goods-copy strong {
  overflow: hidden;
  font-size: 12px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-goods-copy small {
  color: var(--pe-muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
}

.product-goods-arrow,
.product-goods-current-icon {
  color: #a5b2b5;
  font-size: 9px;
}

.product-goods-current-icon {
  color: var(--pe-teal-dark);
}

.product-modal-empty {
  display: flex;
  min-height: 180px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  color: var(--pe-muted);
  font-size: 12px;
  font-weight: 700;
}

.product-modal-empty i {
  font-size: 24px;
}

.product-edit-shell .tabs__content>.goods-edit .goods-edit__breadcrumbs {
  display: none !important;
}

@media (max-width: 760px) {
  .product-edit-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-edit-header-actions {
    width: 100%;
  }

  .product-header-button {
    flex: 1;
  }

  .product-breadcrumb-button>span {
    max-width: 145px;
  }
}

@media (max-width: 520px) {
  .product-edit-breadcrumbs {
    gap: 4px;
  }

  .product-edit-breadcrumbs a,
  .product-edit-breadcrumbs button {
    padding: 5px 7px;
  }

  .product-breadcrumb-home>span {
    display: none;
  }

  .product-edit-header {
    padding: 13px;
  }

  .product-edit-heading h1 {
    max-width: 250px;
    font-size: 16px;
  }

  .product-header-button {
    padding: 8px;
    font-size: 10px;
  }

  .product-goods-item {
    grid-template-columns: 42px minmax(0, 1fr) 16px;
  }

  .product-goods-state {
    display: none;
  }

  .product-goods-thumb {
    width: 42px;
    height: 42px;
  }
}

.shopuni-header-warning {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: 8px;
  padding: 3px 8px;
  border: 1px solid rgba(220, 38, 38, 0.24);
  border-radius: 999px;
  background: rgba(254, 226, 226, 0.75);
  color: #b91c1c;
  font-size: 12px;
  font-weight: 800;
}

.shopuni-filter-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: -8px 0 16px;
  color: #64748b;
  font-size: 12px;
  font-weight: 600;
}

.shopuni-global-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 4px 0 16px;
  padding: 13px 16px;
  border: 1px solid rgba(59, 130, 246, 0.18);
  border-radius: 14px;
  background: linear-gradient(135deg,
      rgba(239, 246, 255, 0.95),
      rgba(248, 250, 252, 0.95));
}

.shopuni-global-summary-main,
.shopuni-global-summary-filters,
.shopuni-row-categories {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.shopuni-global-scope,
.shopuni-global-summary-filters span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  color: #475569;
  font-size: 12px;
  font-weight: 700;
}

.shopuni-global-scope {
  color: #1d4ed8;
}

.shopuni-category-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border: 1px solid rgba(100, 116, 139, 0.18);
  border-radius: 999px;
  background: rgba(248, 250, 252, 0.92);
  color: #475569;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.shopuni-category-badge:hover {
  border-color: rgba(37, 99, 235, 0.3);
  color: #1d4ed8;
}

.shopuni-category-badge-danger {
  border-color: rgba(220, 38, 38, 0.24);
  background: rgba(254, 226, 226, 0.88);
  color: #b91c1c;
}

.shopuni-section-uncategorized {
  margin-top: 18px;
  border: 1px solid rgba(220, 38, 38, 0.22);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 251, 251, 0.92);
}

.shopuni-section-head-danger {
  background: linear-gradient(90deg,
      rgba(254, 226, 226, 0.88),
      rgba(255, 247, 237, 0.6));
  color: #991b1b;
}

.shopuni-uncategorized-note {
  padding: 10px 16px;
  border-bottom: 1px solid rgba(220, 38, 38, 0.12);
  color: #9f1239;
  font-size: 12px;
  font-weight: 600;
}

.shopuni-row-uncategorized {
  position: relative;
  background: linear-gradient(90deg,
      rgba(254, 242, 242, 0.98),
      rgba(255, 255, 255, 0.92));
  box-shadow: inset 4px 0 0 #dc2626;
}

.shopuni-row-uncategorized:hover {
  background: linear-gradient(90deg,
      rgba(254, 226, 226, 0.92),
      rgba(255, 255, 255, 0.98));
}

.shopuni-header-warning {
  text-decoration: none;
  transition:
    transform 0.15s ease,
    border-color 0.15s ease,
    background 0.15s ease;
}

.shopuni-header-warning:hover,
.shopuni-header-warning.is-active {
  border-color: rgba(220, 38, 38, 0.42);
  background: rgba(254, 202, 202, 0.78);
  color: #991b1b;
  transform: translateY(-1px);
}

.shopuni-header-warning-arrow {
  font-size: 9px;
  opacity: 0.65;
}

.shopuni-crumb-danger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #b91c1c;
}

.shopuni-filter-hint.is-danger {
  color: #9f1239;
}

.shopuni-flash {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 16px;
  padding: 11px 14px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
}

.shopuni-flash-success {
  border-color: rgba(22, 163, 74, 0.22);
  background: rgba(240, 253, 244, 0.94);
  color: #15803d;
}

.shopuni-flash-error {
  border-color: rgba(220, 38, 38, 0.22);
  background: rgba(254, 242, 242, 0.94);
  color: #b91c1c;
}

.shopuni-uncategorized-summary {
  border-color: rgba(220, 38, 38, 0.2);
  background: linear-gradient(135deg,
      rgba(254, 242, 242, 0.98),
      rgba(255, 247, 237, 0.92));
}

.shopuni-global-scope-danger {
  color: #b91c1c;
}

.shopuni-uncategorized-card {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto 12px;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(220, 38, 38, 0.2);
  border-radius: 15px;
  background: linear-gradient(100deg,
      rgba(254, 242, 242, 0.98),
      rgba(255, 255, 255, 0.96));
  box-shadow: inset 4px 0 0 #dc2626;
  color: #7f1d1d;
  text-decoration: none;
  transition:
    transform 0.15s ease,
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.shopuni-uncategorized-card:hover {
  transform: translateY(-1px);
  border-color: rgba(220, 38, 38, 0.36);
  box-shadow:
    inset 4px 0 0 #dc2626,
    0 8px 24px rgba(127, 29, 29, 0.08);
  color: #7f1d1d;
}

.shopuni-uncategorized-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(254, 226, 226, 0.96);
  color: #dc2626;
  font-size: 17px;
}

.shopuni-uncategorized-card-content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}

.shopuni-uncategorized-card-content strong {
  font-size: 14px;
  font-weight: 800;
}

.shopuni-uncategorized-card-content small {
  overflow: hidden;
  color: #9f1239;
  font-size: 12px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shopuni-uncategorized-card-count {
  min-width: 32px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #dc2626;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.shopuni-uncategorized-card-arrow {
  color: #dc2626;
  font-size: 11px;
}

.shopuni-assign-form {
  display: flex;
  align-items: center;
  gap: 8px;
  width: min(100%, 620px);
  margin-top: 9px;
}

.shopuni-assign-control {
  position: relative;
  display: flex;
  min-width: 180px;
  flex: 1;
  align-items: center;
}

.shopuni-assign-control>i {
  position: absolute;
  left: 11px;
  z-index: 1;
  color: #dc2626;
  font-size: 12px;
  pointer-events: none;
}

.shopuni-assign-control select {
  width: 100%;
  min-height: 34px;
  padding: 6px 30px 6px 31px;
  border: 1px solid rgba(220, 38, 38, 0.22);
  border-radius: 10px;
  outline: none;
  background: rgba(255, 255, 255, 0.96);
  color: #334155;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.shopuni-assign-control select:focus {
  border-color: rgba(220, 38, 38, 0.48);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.08);
}

.shopuni-assign-button {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 12px;
  border: 0;
  border-radius: 10px;
  background: #dc2626;
  color: #fff;
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  transition:
    background 0.15s ease,
    transform 0.15s ease;
}

.shopuni-assign-button:hover {
  background: #b91c1c;
  transform: translateY(-1px);
}

.shopuni-empty-success>i {
  color: #16a34a;
}

.shopuni-btn-clear {
  white-space: nowrap;
}

@media (max-width: 760px) {
  .shopuni-global-summary {
    align-items: flex-start;
    flex-direction: column;
  }

  .shopuni-filter-hint {
    align-items: flex-start;
  }

  .shopuni-uncategorized-card {
    grid-template-columns: 40px minmax(0, 1fr) auto;
  }

  .shopuni-uncategorized-card-arrow {
    display: none;
  }

  .shopuni-uncategorized-card-content small {
    white-space: normal;
  }

  .shopuni-assign-form {
    align-items: stretch;
    flex-direction: column;
  }

  .shopuni-assign-button {
    width: 100%;
  }
}

.shopuni-filterbar {
  flex-wrap: wrap;
}

.shopuni-sort-select {
  min-width: 174px;
}

.shopuni-cat-icon {
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 9px;
  background: var(--c-teal-soft, #e6f6f4);
  color: var(--c-teal-dark, #1c8579);
  font-size: 13px;
}

.shopuni-media {
  display: flex;
  width: 72px;
  flex-shrink: 0;
  align-items: center;
  flex-direction: column;
  gap: 5px;
}

.shopuni-article {
  display: block;
  width: 100%;
  overflow: hidden;
  color: #64748b;
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shopuni-price-editor {
  position: relative;
  display: inline-grid;
  grid-template-columns: auto minmax(80px, 100px) auto;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border: 1px solid rgba(36, 166, 152, 0.42);
  border-radius: 10px;
  background: linear-gradient(135deg,
      rgba(230, 246, 244, 0.95),
      rgba(255, 255, 255, 0.98));
  box-shadow: 0 2px 8px rgba(36, 166, 152, 0.08);
  cursor: text;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease;
}

.shopuni-price-editor:hover,
.shopuni-price-editor:focus-within {
  border-color: var(--c-teal, #24a698);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(36, 166, 152, 0.12);
}

.shopuni-price-label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--c-teal-dark, #1c8579);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.shopuni-row-price {
  width: 92px !important;
  padding: 2px 4px !important;
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  color: var(--c-dark, #283336) !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  text-align: right;
}

.shopuni-price-edit-icon {
  color: var(--c-teal, #24a698);
  font-size: 10px;
  opacity: 0.7;
}

.shopuni-flags {
  display: grid;
  min-width: 135px;
  flex-shrink: 0;
  grid-template-columns: repeat(1, minmax(108px, 1fr));
  gap: 8px;
}

.shopuni-flag {
  display: flex;
  min-height: 52px;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 6px 8px;
  border: 1px solid var(--c-border, #e5e9ea);
  border-radius: 10px;
  background: rgba(250, 251, 251, 0.9);
}

.shopuni-flag-control {
  display: flex;
  align-items: center;
  gap: 7px;
}

.shopuni-flag-value {
  min-width: 54px;
  color: #64748b;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.1;
}

.shopuni-flag-value.is-on {
  color: #15803d;
}

.shopuni-flag-value.is-off {
  color: #b91c1c;
}

.shopuni-toggle-stoplist input:checked+.shopuni-toggle-track {
  background: #dc2626;
}

.shopuni-flag-stoplist {
  border-color: rgba(220, 38, 38, 0.15);
  background: rgba(254, 242, 242, 0.7);
}

.shopuni-row-stop-listed:not(.shopuni-row-uncategorized) {
  box-shadow: inset 4px 0 0 #dc2626 !important;
  background-image: linear-gradient(90deg,
      rgba(254, 242, 242, 0.78),
      transparent);
}

.shopuni-row-hidden {
  background-image: linear-gradient(90deg,
      rgba(241, 245, 249, 0.68),
      transparent);
}

.shopuni-row-hidden .shopuni-row-name {
  color: #64748b;
}

@media (max-width: 1050px) {
  .shopuni-row {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .shopuni-row-info {
    min-width: calc(100% - 150px);
  }

  .shopuni-flags {
    width: 100%;
    min-width: 0;
    margin-left: 104px;
  }
}

@media (max-width: 640px) {
  .shopuni-media {
    width: 60px;
  }

  .shopuni-row-info {
    min-width: calc(100% - 100px);
  }

  .shopuni-flags {
    margin-left: 0;
    grid-template-columns: 1fr;
  }

  .shopuni-row-sub {
    align-items: flex-start;
    flex-direction: column;
  }

  .shopuni-price-editor {
    width: min(100%, 220px);
  }
}

.shopuni {
  transition: padding-bottom 0.25s ease;
}

.shopuni.is-bulk-mode {
  padding-bottom: 170px;
}

.shopuni-bulk-select {
  display: flex;
  width: 0;
  max-width: 0;
  height: 32px;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-7px) scale(0.78);
  transition:
    width 0.2s ease,
    max-width 0.2s ease,
    opacity 0.16s ease,
    transform 0.2s ease;
  cursor: pointer;
}

.shopuni.is-bulk-mode .shopuni-bulk-select {
  width: 32px;
  max-width: 32px;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0) scale(1);
}

.shopuni-bulk-select input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.shopuni-bulk-checkmark {
  display: inline-flex;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  border: 2px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  color: transparent;
  font-size: 10px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
  transition:
    border-color 0.15s ease,
    background 0.15s ease,
    color 0.15s ease,
    transform 0.15s ease;
}

.shopuni-bulk-select:hover .shopuni-bulk-checkmark {
  border-color: var(--c-teal, #24a698);
  transform: scale(1.05);
}

.shopuni-bulk-select input:checked+.shopuni-bulk-checkmark {
  border-color: var(--c-teal, #24a698);
  background: var(--c-teal, #24a698);
  color: #fff;
}

.shopuni-row.is-bulk-selected {
  position: relative;
  background: linear-gradient(90deg,
      rgba(230, 246, 244, 0.92),
      rgba(255, 255, 255, 0.98));
  box-shadow: inset 4px 0 0 var(--c-teal, #24a698);
}

.shopuni-row.is-bulk-selected.shopuni-row-uncategorized {
  box-shadow: inset 4px 0 0 var(--c-teal, #24a698);
}

.shopuni-bulk-mode-toggle {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 89;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 8px;
  border: 1px solid rgba(36, 166, 152, 0.25);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--c-dark, #283336);
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.16);
  backdrop-filter: blur(14px);
  cursor: pointer;
  transition:
    bottom 0.25s ease,
    transform 0.15s ease,
    border-color 0.15s ease,
    background 0.15s ease,
    color 0.15s ease;
}

.shopuni-bulk-mode-toggle:hover {
  border-color: var(--c-teal, #24a698);
  transform: translateY(-2px);
}

.shopuni-bulk-mode-toggle-icon {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: var(--c-teal-soft, #e6f6f4);
  color: var(--c-teal-dark, #1c8579);
  font-size: 14px;
}

.shopuni.is-bulk-mode .shopuni-bulk-mode-toggle {
  bottom: 176px;
  border-color: var(--c-teal, #24a698);
  background: var(--c-teal, #24a698);
  color: #fff;
}

.shopuni.is-bulk-mode .shopuni-bulk-mode-toggle-icon {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.shopuni-bulk-toolbar {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 88;
  width: min(1320px, calc(100vw - 32px));
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.2);
  backdrop-filter: blur(16px);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, calc(100% + 34px));
  transition:
    opacity 0.2s ease,
    transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.shopuni.is-bulk-mode .shopuni-bulk-toolbar {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.shopuni-bulk-toolbar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  padding: 16px 18px;
}

.shopuni-bulk-primary {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  flex-wrap: wrap;
}

.shopuni-bulk-groups {
  display: flex;
  flex: 1 1 520px;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px;
  min-width: min(100%, 280px);
}

.shopuni-bulk-end {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  flex: 0 0 auto;
}

.shopuni-bulk-selection-summary {
  display: flex;
  min-width: 108px;
  align-items: center;
  gap: 10px;
}

.shopuni-bulk-selection-icon {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--c-teal-soft, #e6f6f4);
  color: var(--c-teal-dark, #1c8579);
  font-size: 14px;
}

.shopuni-bulk-selection-summary span:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.shopuni-bulk-selection-summary small {
  color: #64748b;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.shopuni-bulk-selection-summary strong {
  color: var(--c-dark, #283336);
  font-family: "JetBrains Mono", monospace;
  font-size: 20px;
  font-weight: 900;
}

.shopuni-bulk-selection-tools {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  display: none;
}

.shopuni-bulk-mini-button,
.shopuni-bulk-action,
.shopuni-bulk-delete,
.shopuni-bulk-close,
.shopuni-bulk-price-control button {
  border: 0;
  font-family: inherit;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    background 0.15s ease,
    color 0.15s ease,
    opacity 0.15s ease;
}

.shopuni-bulk-mini-button {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #f8fafc;
  color: #475569;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.shopuni-bulk-mini-button:hover:not(:disabled) {
  border-color: rgba(36, 166, 152, 0.4);
  color: var(--c-teal-dark, #1c8579);
}

.shopuni-bulk-action-group {
  display: flex;
  min-width: max-content;
  flex-direction: column;
  gap: 6px;
}

.shopuni-bulk-action-title {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #64748b;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.shopuni-bulk-segmented {
  display: inline-flex;
  padding: 3px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
}

.shopuni-bulk-action {
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 9px;
  background: transparent;
  color: #475569;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.shopuni-bulk-action:hover:not(:disabled) {
  background: #fff;
  box-shadow: 0 2px 7px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
}

.shopuni-bulk-action.is-positive:hover:not(:disabled) {
  color: #15803d;
}

.shopuni-bulk-action.is-danger-soft:hover:not(:disabled) {
  color: #b91c1c;
}

.shopuni-bulk-price-control {
  display: grid;
  grid-template-columns: 104px 36px;
  padding: 3px;
  border: 1px solid rgba(36, 166, 152, 0.28);
  border-radius: 12px;
  background: var(--c-teal-soft, #e6f6f4);
}

.shopuni-bulk-price-control input {
  width: 104px;
  min-width: 0;
  padding: 7px 9px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--c-dark, #283336);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 900;
}

.shopuni-bulk-price-control button {
  display: inline-flex;
  width: 36px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: var(--c-teal, #24a698);
  color: #fff;
}

.shopuni-bulk-delete {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 7px;
  padding: 8px 13px;
  border: 1px solid rgba(220, 38, 38, 0.22);
  border-radius: 11px;
  background: rgba(254, 242, 242, 0.94);
  color: #b91c1c;
  font-size: 11px;
  font-weight: 850;
  white-space: nowrap;
}

.shopuni-bulk-delete:hover:not(:disabled) {
  background: #dc2626;
  color: #fff;
  transform: translateY(-1px);
}

.shopuni-bulk-close {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 11px;
  background: #f1f5f9;
  color: #64748b;
}

.shopuni-bulk-close:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.shopuni-bulk-toolbar button:disabled {
  opacity: 0.38;
  cursor: not-allowed;
  transform: none !important;
}

.shopuni-bulk-feedback {
  position: absolute;
  right: 18px;
  bottom: calc(100% + 8px);
  max-width: 360px;
  padding: 8px 11px;
  border-radius: 10px;
  background: #0f172a;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.18);
  opacity: 0;
  pointer-events: none;
  transform: translateY(5px);
  transition:
    opacity 0.15s ease,
    transform 0.15s ease;
}

.shopuni-bulk-feedback.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.shopuni-bulk-feedback.is-error {
  background: #b91c1c;
}

@media (max-width: 980px) {
  .shopuni.is-bulk-mode {
    padding-bottom: 196px;
  }

  .shopuni.is-bulk-mode .shopuni-bulk-mode-toggle {
    bottom: 24px !important;
  }

  .shopuni-bulk-toolbar {
    width: calc(100vw - 24px);
  }

  .shopuni-bulk-toolbar-inner {
    padding: 14px;
  }

  .shopuni-bulk-groups {
    flex-basis: 100%;
  }
}

@media (max-width: 640px) {
  .shopuni.is-bulk-mode {
    padding-bottom: 236px;
  }

  .shopuni-bulk-mode-toggle {
    right: 14px;
    bottom: 14px;
    min-height: 44px;
    padding-right: 9px;
  }

  .shopuni-bulk-mode-toggle-label {
    display: none;
  }

  .shopuni.is-bulk-mode .shopuni-bulk-mode-toggle {
    bottom: 24px !important;
  }

  .shopuni-bulk-toolbar {
    bottom: 8px;
    width: calc(100vw - 16px);
    border-radius: 18px;
  }

  .shopuni-bulk-toolbar-inner {
    gap: 10px;
    padding: 12px;
  }

  .shopuni-bulk-primary,
  .shopuni-bulk-groups,
  .shopuni-bulk-end {
    width: 100%;
  }

  .shopuni-bulk-end {
    justify-content: space-between;
    margin-left: 0;
  }

  .shopuni-bulk-selection-summary {
    min-width: 96px;
  }

  .shopuni-bulk-delete span {
    display: none;
  }
}

.shopuni-btn-category {
  border: 1px solid rgba(36, 166, 152, 0.28);
  background: var(--c-teal-soft, #e6f6f4);
  color: var(--c-teal-dark, #1c8579);
  transition: 0.2s ease;
}

.shopuni-btn-category:hover {
  background: var(--c-teal, #24a698);
  color: #fff;
}

.shopuni-category-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 2px 10px;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}

.shopuni-category-list-head span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

#shopuniCategorySortStatus.is-saving {
  color: #b45309;
}

#shopuniCategorySortStatus.is-saved {
  color: #15803d;
}

.shopuni-cat-row {
  display: flex;
  align-items: stretch;
  padding: 0;
  overflow: hidden;
}

.shopuni-cat-row-link {
  display: flex;
  min-width: 0;
  flex: 1;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px 18px 10px;
  color: inherit;
  text-decoration: none;
}

.shopuni-cat-drag-handle {
  display: inline-flex;
  width: 46px;
  flex: 0 0 46px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-right: 1px solid var(--c-border, #e5e9ea);
  background: transparent;
  color: #94a3b8;
  cursor: grab;
  touch-action: none;
}

.shopuni-cat-drag-handle:hover {
  background: var(--c-teal-soft, #e6f6f4);
  color: var(--c-teal-dark, #1c8579);
}

.shopuni-cat-drag-handle:active {
  cursor: grabbing;
}

.shopuni-cat-row.is-dragging {
  opacity: 0.5;
  border-color: var(--c-teal, #24a698);
}

.shopuni-cat-row.is-drag-over {
  box-shadow: 0 -3px 0 var(--c-teal, #24a698);
}

@media (max-width: 720px) {
  .shopuni-category-list-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .shopuni-cat-row-link {
    padding-right: 14px;
  }
}

.goods-edit {
  --ge-dark: #283336;
  --ge-slate: #43545a;
  --ge-muted: #7c8a8e;
  --ge-border: #e4eaeb;
  --ge-panel: #f7f9f9;
  --ge-teal: #24a698;
  --ge-teal-dark: #1c8579;
  --ge-teal-soft: #e6f6f4;
  --ge-red: #dc454b;
  --ge-red-soft: #fff0f0;
  color: var(--ge-dark);
  font-family:
    "Manrope",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  padding-bottom: 24px;
}

.goods-edit *,
.goods-edit *::before,
.goods-edit *::after {
  box-sizing: border-box;
}

.goods-edit__breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--ge-muted);
  font-size: 12px;
  font-weight: 700;
}

.goods-edit__breadcrumbs>a,
.goods-edit__breadcrumbs>button,
.goods-edit__breadcrumbs>span {
  border: 0;
  padding: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-decoration: none;
}

.goods-edit__breadcrumbs>a:hover,
.goods-edit__breadcrumbs>button:hover {
  color: var(--ge-teal-dark);
}

.goods-edit__breadcrumbs>button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ge-dark);
  cursor: pointer;
}

.goods-edit__breadcrumbs>button .fa-chevron-down {
  color: var(--ge-teal);
  font-size: 9px;
}

.goods-edit__breadcrumbs>.fa-chevron-right {
  color: #cbd5e1;
  font-size: 8px;
}

.goods-edit__breadcrumbs>span {
  color: var(--ge-dark);
}

.goods-edit__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 8px;
}

.goods-edit__back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 8px;
  color: var(--ge-muted);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.goods-edit__back:hover {
  color: var(--ge-teal-dark);
}

.goods-edit__heading {
  display: flex;
  align-items: center;
  gap: 13px;
}

.goods-edit__heading-icon,
.goods-edit__card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: var(--ge-teal-dark);
  background: var(--ge-teal-soft);
  display: none !important;
}

.goods-edit__heading-icon {
  width: 42px;
  height: 42px;
  border-radius: 15px;
  font-size: 18px;
}

.goods-edit__heading h1 {
  margin: 0;
  color: var(--ge-dark);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.15;
}

.goods-edit__heading p {
  margin: 5px 0 0;
  color: var(--ge-muted);
  font-size: 12px;
  font-weight: 600;
}

.goods-edit__heading p span {
  color: var(--ge-slate);
  font-family: "JetBrains Mono", monospace;
}

.goods-edit__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 14px;
  align-items: start;
}

.goods-edit__main,
.goods-edit__side {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.goods-edit__card {
  padding: 16px;
  border: 1px solid var(--ge-border);
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 5px 20px rgba(40, 51, 54, 0.045);
}

.goods-edit__card-head {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 12px;
}

.goods-edit__card-icon {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  font-size: 13px;
}

.goods-edit__card-head h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
}

.goods-edit__card-head p {
  margin: 3px 0 0;
  color: var(--ge-muted);
  font-size: 11px;
  font-weight: 600;
}

.goods-edit__fields {
  display: grid;
  gap: 10px;
}

.goods-edit__fields--main {
  grid-template-columns: minmax(0, 1fr) minmax(150px, 0.34fr);
}

.goods-edit__field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.goods-edit__field--wide {
  grid-column: 1 / -1;
}

.goods-edit__field>span,
.goods-edit__price>span {
  color: var(--ge-slate);
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
}

.goods-edit__field>span b {
  color: var(--ge-red);
}

.goods-edit input[type="text"],
.goods-edit input[type="number"],
.goods-edit textarea {
  width: 100%;
  border: 1px solid var(--ge-border);
  outline: none;
  background: #fff;
  color: var(--ge-dark);
  font: inherit;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease;
}

.goods-edit__field input {
  height: 40px;
  padding: 0 13px;
  border-radius: 11px;
  font-size: 13px;
  font-weight: 650;
}

.goods-edit input:focus,
.goods-edit textarea:focus {
  border-color: var(--ge-teal);
  box-shadow: 0 0 0 3px rgba(36, 166, 152, 0.12);
}

.goods-edit__input-unit {
  position: relative;
}

.goods-edit__input-unit input {
  padding-right: 48px;
  font-family: "JetBrains Mono", monospace;
  font-weight: 700;
}

.goods-edit__input-unit em {
  position: absolute;
  top: 50%;
  right: 13px;
  color: var(--ge-muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  transform: translateY(-50%);
}

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

.goods-edit__price {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 11px;
  border: 1px solid var(--ge-border);
  border-radius: 13px;
  background: var(--ge-panel);
}

.goods-edit__price--primary {
  border-color: rgba(36, 166, 152, 0.35);
  background: linear-gradient(135deg, #effaf8, #f8fdfc);
}

.goods-edit__price--old {
  border-color: rgba(220, 69, 75, 0.2);
  background: #fff8f8;
}

.goods-edit__price>div {
  position: relative;
}

.goods-edit__price input {
  height: 38px;
  padding: 0 32px 0 10px;
  border-radius: 9px;
  background: #fff;
  font-family: "JetBrains Mono", monospace;
  font-size: 15px;
  font-weight: 800;
}

.goods-edit__price em {
  position: absolute;
  top: 50%;
  right: 11px;
  color: var(--ge-muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  transform: translateY(-50%);
}

.goods-edit__photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--ge-border);
  border-radius: 15px;
  background: var(--ge-panel);
  cursor: pointer;
}

.goods-edit__photo.is-dragging {
  border-color: var(--ge-teal);
  box-shadow: 0 0 0 4px rgba(36, 166, 152, 0.12);
}

.goods-edit__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.goods-edit__photo input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.goods-edit__photo-overlay {
  position: absolute;
  inset: auto 12px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 11px;
  background: rgba(40, 51, 54, 0.82);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  backdrop-filter: blur(8px);
  transition:
    transform 0.15s ease,
    background 0.15s ease;
}

.goods-edit__photo:hover .goods-edit__photo-overlay {
  background: rgba(28, 133, 121, 0.9);
  transform: translateY(-2px);
}

.goods-edit__photo-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: 11px;
  align-items: center;
}

.goods-edit-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(40, 51, 54, 0.5);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.16s ease,
    visibility 0.16s ease;
}

.goods-edit-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.goods-edit-modal__dialog {
  width: min(440px, 100%);
  max-height: min(720px, calc(100vh - 40px));
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.25);
  transform: translateY(10px) scale(0.98);
  transition: transform 0.18s ease;
}

.goods-edit-modal.is-open .goods-edit-modal__dialog {
  transform: translateY(0) scale(1);
}

.goods-edit-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--ge-border);
}

.goods-edit-modal__head h3,
.goods-edit-modal__head p {
  margin: 0;
}

.goods-edit-modal__head h3 {
  font-size: 16px;
  font-weight: 800;
}

.goods-edit-modal__head p {
  margin-top: 3px;
  color: var(--ge-muted);
  font-size: 10px;
  font-weight: 600;
}

.goods-edit-modal__head button {
  width: 35px;
  height: 35px;
  border: 0;
  border-radius: 10px;
  background: var(--ge-panel);
  color: var(--ge-muted);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.goods-edit-modal__body {
  display: flex;
  max-height: calc(100vh - 150px);
  flex-direction: column;
  gap: 13px;
  padding: 16px 18px 18px;
}

.goods-edit-modal__search {
  display: flex;
  min-height: 42px;
  align-items: center;
  gap: 9px;
  padding: 0 13px;
  border: 1px solid var(--ge-border);
  border-radius: 12px;
  background: var(--ge-panel);
}

.goods-edit-modal__search i {
  color: var(--ge-muted);
  font-size: 12px;
}

.goods-edit-modal__search input {
  height: 40px;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  font-size: 13px;
}

.goods-edit-tree {
  overflow-y: auto;
  padding-right: 3px;
}

.goods-edit-tree__row {
  display: flex;
  align-items: center;
  gap: 5px;
  min-height: 39px;
  border-radius: 10px;
}

.goods-edit-tree__row:hover,
.goods-edit-tree__row.is-current {
  background: var(--ge-teal-soft);
}

.goods-edit-tree__toggle,
.goods-edit-tree__spacer {
  display: inline-flex;
  width: 29px;
  height: 29px;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.goods-edit-tree__toggle {
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ge-muted);
  font-size: 9px;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.goods-edit-tree__toggle.is-open {
  transform: rotate(90deg);
}

.goods-edit-tree__link {
  display: flex;
  min-width: 0;
  flex: 1;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px 8px 2px;
  color: var(--ge-dark);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.goods-edit-tree__link span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.goods-edit-tree__link small {
  min-width: 25px;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  color: var(--ge-muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  text-align: center;
}

.goods-edit-tree__children {
  display: none;
  margin-left: 18px;
  padding-left: 9px;
  border-left: 1px solid var(--ge-border);
}

.goods-edit-tree__children.is-open {
  display: block;
}

.goods-edit__button,
.goods-edit__save {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 11px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    border-color 0.15s ease,
    background 0.15s ease;
}

.goods-edit__button {
  min-height: 39px;
  max-height: 39px;
  padding: 8px 12px;
}

.goods-edit__button:hover,
.goods-edit__save:hover {
  transform: translateY(-1px);
}

.goods-edit__button--soft {
  border: 1px solid rgba(36, 166, 152, 0.25);
  background: var(--ge-teal-soft);
  color: var(--ge-teal-dark);
}

.goods-edit__button--danger {
  border: 1px solid rgba(220, 69, 75, 0.2);
  background: var(--ge-red-soft);
  color: var(--ge-red);
}

.goods-edit__button--plain {
  border: 1px solid var(--ge-border);
  background: #fff;
  color: var(--ge-slate);
}

.goods-edit__photo-help {
  margin: 9px 0 0;
  color: var(--ge-muted);
  font-size: 10px;
  font-weight: 600;
  text-align: center;
}

.goods-edit__switch-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.goods-edit__switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px;
  border: 1px solid var(--ge-border);
  border-radius: 13px;
  background: var(--ge-panel);
  cursor: pointer;
}

.goods-edit__switch-row.is-saving {
  opacity: 0.65;
  pointer-events: none;
}

.goods-edit__switch-row--danger {
  border-color: rgba(220, 69, 75, 0.18);
  background: #fffafa;
}

.goods-edit__switch-copy {
  display: flex;
  align-items: center;
  gap: 10px;
}

.goods-edit__switch-copy>i {
  display: inline-flex;
  width: 31px;
  height: 31px;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: var(--ge-teal-soft);
  color: var(--ge-teal-dark);
  font-size: 11px;
}

.goods-edit__switch-row--danger .goods-edit__switch-copy>i {
  background: var(--ge-red-soft);
  color: var(--ge-red);
}

.goods-edit__switch-copy>span {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.goods-edit__switch-copy strong {
  font-size: 11px;
  font-weight: 800;
}

.goods-edit__switch-copy small {
  color: var(--ge-muted);
  font-size: 10px;
  font-weight: 700;
}

.goods-edit__switch {
  position: relative;
  display: inline-flex;
  width: 42px;
  height: 24px;
  flex: 0 0 auto;
}

.goods-edit__switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.goods-edit__switch>span {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #d8e0e1;
  transition: background 0.15s ease;
}

.goods-edit__switch>span::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(40, 51, 54, 0.22);
  content: "";
  transition: transform 0.16s ease;
}

.goods-edit__switch input:checked+span {
  background: var(--ge-teal);
}

.goods-edit__switch--danger input:checked+span {
  background: var(--ge-red);
}

.goods-edit__switch input:checked+span::after {
  transform: translateX(18px);
}

.goods-edit__summary {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 14px;
  padding: 13px 15px;
  border: 1px dashed #d8e0e1;
  border-radius: 13px;
  color: var(--ge-muted);
  background: #fafcfc;
  font-size: 10px;
  font-weight: 700;
}

.goods-edit__summary strong {
  color: var(--ge-slate);
  font-family: "JetBrains Mono", monospace;
}

.goods-edit__descriptions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.goods-edit__descriptions>.goods-edit__card {
  display: flex;
  width: 100%;
  height: 100%;
  margin: 0 !important;
  flex-direction: column;
  align-self: stretch;
}

.goods-edit__editor-card {
  min-width: 0;
}

.goods-edit__editor-card--plain textarea {
  min-height: 430px;
  flex: 1;
  line-height: 1.55;
}

.goods-edit__editor-card textarea {
  min-height: 180px;
  padding: 11px;
  border-radius: 11px;
  resize: vertical;
}

.goods-edit__editor-card .cke {
  margin: 0 !important;
  flex: 1;
  border-color: var(--ge-border) !important;
  border-radius: 11px;
  overflow: hidden;
  box-shadow: none !important;
}

.goods-edit__bottom-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid var(--ge-border);
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 5px 20px rgba(40, 51, 54, 0.045);
}

.goods-edit__top-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-bottom: 12px;
}

.goods-edit__delete-product {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid rgba(220, 69, 75, 0.22);
  border-radius: 11px;
  background: var(--ge-red-soft);
  color: var(--ge-red);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  transition:
    transform 0.15s ease,
    background 0.15s ease,
    color 0.15s ease;
}

.goods-edit__delete-product:hover {
  background: var(--ge-red);
  color: #fff;
  transform: translateY(-1px);
}

.goods-edit__save {
  min-height: 44px;
  padding: 10px 18px;
  background: var(--ge-teal);
  color: #fff;
  box-shadow: 0 7px 18px rgba(36, 166, 152, 0.2);
}

.goods-edit__save:hover {
  background: var(--ge-teal-dark);
}

@media (max-width: 1050px) {
  .goods-edit__layout {
    grid-template-columns: minmax(0, 1fr) 360px;
  }

  .goods-edit__price-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .goods-edit__header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .goods-edit__layout,
  .goods-edit__descriptions {
    grid-template-columns: 1fr;
  }

  .goods-edit__side {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.8fr);
    align-items: start;
  }

  .goods-edit__summary {
    grid-column: 1 / -1;
  }
}

@media (max-width: 580px) {
  .goods-edit {
    padding-bottom: 20px;
  }

  .goods-edit__heading h1 {
    font-size: 21px;
  }

  .goods-edit__heading-icon {
    width: 42px;
    height: 42px;
  }

  .goods-edit__card {
    padding: 16px;
    border-radius: 14px;
  }

  .goods-edit__fields--main,
  .goods-edit__price-grid,
  .goods-edit__side {
    grid-template-columns: 1fr;
  }

  .goods-edit__photo-actions {
    grid-template-columns: 1fr;
  }

  .goods-edit__bottom-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .goods-edit__bottom-actions .goods-edit__save,
  .goods-edit__bottom-actions .goods-edit__delete-product {
    width: 100%;
  }

  .goods-edit__top-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

.goods-album {
  --ga-dark: #283336;
  --ga-text: #43545a;
  --ga-muted: #7c8a8e;
  --ga-border: #e3e9ea;
  --ga-panel: #f7f9f9;
  --ga-teal: #24a698;
  --ga-teal-dark: #1c8579;
  --ga-teal-soft: #e6f6f4;
  --ga-red: #dc454b;
  --ga-red-soft: #fff0f0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  color: var(--ga-dark);
  font-family:
    "Manrope",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
}

.goods-album *,
.goods-album *::before,
.goods-album *::after {
  box-sizing: border-box;
}

.goods-album-upload,
.goods-album-gallery {
  border: 1px solid var(--ga-border);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(40, 51, 54, 0.055);
}

.goods-album-upload {
  padding: 18px;
}

.goods-album-upload__form {
  margin: 0;
}

.goods-album-dropzone {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  min-height: 126px;
  padding: 22px;
  overflow: hidden;
  border: 2px dashed #cbd7d8;
  border-radius: 16px;
  background: linear-gradient(135deg, #fbfdfd, #f2f8f7);
  cursor: pointer;
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.goods-album-dropzone:hover,
.goods-album-dropzone.is-dragging {
  border-color: var(--ga-teal);
  background: linear-gradient(135deg, #f4fbfa, #eaf7f5);
  box-shadow: 0 0 0 4px rgba(36, 166, 152, 0.1);
}

.goods-album-dropzone.is-dragging {
  transform: translateY(-2px);
}

.goods-album-dropzone>input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.goods-album-dropzone__icon {
  display: inline-flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 17px;
  background: var(--ga-teal-soft);
  color: var(--ga-teal-dark);
  font-size: 23px;
}

.goods-album-dropzone__copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
}

.goods-album-dropzone__copy strong {
  color: var(--ga-dark);
  font-size: 16px;
  font-weight: 800;
}

.goods-album-dropzone__copy small {
  color: var(--ga-text);
  font-size: 12px;
  font-weight: 650;
}

.goods-album-dropzone__copy em {
  margin-top: 3px;
  color: var(--ga-muted);
  font-size: 10px;
  font-style: normal;
  font-weight: 600;
}

.goods-album-dropzone__button,
.goods-album-submit,
.goods-album-clear,
.goods-album-delete {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    background 0.15s ease,
    color 0.15s ease,
    opacity 0.15s ease;
}

.goods-album-dropzone__button {
  min-height: 42px;
  padding: 10px 15px;
  border: 1px solid rgba(36, 166, 152, 0.25);
  border-radius: 12px;
  background: #fff;
  color: var(--ga-teal-dark);
  font-size: 11px;
  white-space: nowrap;
}

.goods-album-dropzone:hover .goods-album-dropzone__button {
  background: var(--ga-teal);
  color: #fff;
}

.goods-album-selection {
  margin-top: 14px;
  padding: 15px;
  border: 1px solid var(--ga-border);
  border-radius: 15px;
  background: var(--ga-panel);
}

.goods-album-selection[hidden] {
  display: none;
}

.goods-album-selection__head,
.goods-album-gallery__head,
.goods-album-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.goods-album-selection__head>div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.goods-album-selection__head strong {
  font-size: 12px;
  font-weight: 800;
}

.goods-album-selection__head small {
  color: var(--ga-muted);
  font-size: 10px;
  font-weight: 600;
}

.goods-album-clear {
  min-height: 34px;
  padding: 7px 10px;
  border-radius: 10px;
  background: #fff;
  color: var(--ga-muted);
  font-size: 10px;
}

.goods-album-clear:hover {
  background: var(--ga-red-soft);
  color: var(--ga-red);
}

.goods-album-preview {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(108px, 1fr));
  gap: 10px;
  margin-top: 13px;
}

.goods-album-preview__item {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--ga-border);
  border-radius: 12px;
  background: #fff;
}

.goods-album-preview__item img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 0.78;
  object-fit: cover;
}

.goods-album-preview__item span {
  display: block;
  padding: 7px 8px;
  overflow: hidden;
  color: var(--ga-text);
  font-size: 9px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.goods-album-submit {
  min-height: 42px;
  margin-top: 13px;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--ga-teal);
  color: #fff;
  font-size: 11px;
  box-shadow: 0 7px 18px rgba(36, 166, 152, 0.18);
}

.goods-album-submit:hover:not(:disabled) {
  background: var(--ga-teal-dark);
  transform: translateY(-1px);
}

.goods-album-submit:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.goods-album-gallery {
  padding: 18px;
}

.goods-album-gallery__head {
  margin-bottom: 15px;
}

.goods-album-gallery__head h3,
.goods-album-gallery__head p {
  margin: 0;
}

.goods-album-gallery__head h3 {
  font-size: 15px;
  font-weight: 800;
}

.goods-album-gallery__head p {
  margin-top: 3px;
  color: var(--ga-muted);
  font-size: 10px;
  font-weight: 600;
}

.goods-album-count {
  display: inline-flex;
  min-width: 48px;
  height: 34px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 10px;
  border-radius: 10px;
  background: var(--ga-teal-soft);
  color: var(--ga-teal-dark);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 800;
}

.goods-album-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 14px;
}

.goods-album-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--ga-border);
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(40, 51, 54, 0.045);
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    border-color 0.16s ease;
}

.goods-album-card:hover {
  border-color: rgba(36, 166, 152, 0.38);
  box-shadow: 0 10px 24px rgba(40, 51, 54, 0.1);
  transform: translateY(-2px);
}

.goods-album-card__image {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 1.25 / 1;
  background: var(--ga-panel);
}

.goods-album-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.22s ease;
}

.goods-album-card:hover .goods-album-card__image img {
  transform: scale(1.035);
}

.goods-album-card__zoom {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(40, 51, 54, 0.76);
  color: #fff;
  font-size: 11px;
  opacity: 0;
  backdrop-filter: blur(8px);
  transform: translateY(4px);
  transition:
    opacity 0.16s ease,
    transform 0.16s ease;
}

.goods-album-card:hover .goods-album-card__zoom {
  opacity: 1;
  transform: translateY(0);
}

.goods-album-card__footer {
  min-height: 52px;
  padding: 9px 10px 9px 12px;
}

.goods-album-card__name {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 7px;
  overflow: hidden;
  color: var(--ga-text);
  font-size: 10px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.goods-album-card__name i {
  flex: 0 0 auto;
  color: var(--ga-teal);
}

.goods-album-delete {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 10px;
  background: var(--ga-red-soft);
  color: var(--ga-red);
  font-size: 11px;
}

.goods-album-delete:hover {
  background: var(--ga-red);
  color: #fff;
  transform: translateY(-1px);
}

.goods-album-empty {
  display: flex;
  min-height: 230px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  border: 1px dashed #d5dfe0;
  border-radius: 15px;
  background: var(--ga-panel);
  text-align: center;
}

.goods-album-empty>span {
  display: inline-flex;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
  border-radius: 16px;
  background: var(--ga-teal-soft);
  color: var(--ga-teal-dark);
  font-size: 20px;
}

.goods-album-empty strong {
  font-size: 13px;
  font-weight: 800;
}

.goods-album-empty p {
  margin: 0;
  color: var(--ga-muted);
  font-size: 10px;
  font-weight: 600;
}

@media (max-width: 720px) {
  .goods-album-dropzone {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .goods-album-dropzone__button {
    grid-column: 1 / -1;
  }

  .goods-album-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }
}

@media (max-width: 480px) {

  .goods-album-upload,
  .goods-album-gallery {
    padding: 13px;
    border-radius: 15px;
  }

  .goods-album-dropzone {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 18px 14px;
    text-align: center;
  }

  .goods-album-dropzone__copy {
    align-items: center;
  }

  .goods-album-selection__head {
    align-items: flex-start;
  }

  .goods-album-grid {
    grid-template-columns: 1fr;
  }
}

.goods-edit__save--top {
  min-height: 44px;
  padding: 10px 18px;
  background: #24a698;
  color: #fff;
  transition: 0.2s ease;
}

.goods-edit__save--top:hover {
  background-color: #0fa797;
  opacity: 0.8;
}

.product-category-modal-scope {
  --c-dark: #283336;
  --c-slate: #36464e;
  --c-teal: #24a698;
  --c-teal-dark: #1c8579;
  --c-teal-soft: #e6f6f4;
  --c-panel: #fafbfb;
  --c-border: #e5e9ea;
  --c-muted: #7c8a8e;
  --c-danger: #e5484d;
  --c-danger-soft: #fdecec;
  color: var(--c-dark);
  font-family:
    "Manrope",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
}

.product-category-modal-scope .shopuni-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  align-items: center;
  justify-content: center;
  background: rgba(40, 51, 54, 0.5);
}

.product-category-modal-scope .shopuni-modal-overlay.is-open {
  display: flex;
}

.product-category-modal-scope .shopuni-modal {
  width: 460px;
  max-width: 92vw;
  max-height: 88vh;
  overflow-y: auto;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.product-category-modal-scope .shopuni-modal-sm {
  width: 400px;
}

.product-category-modal-scope .shopuni-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--c-border);
}

.product-category-modal-scope .shopuni-modal-head h3 {
  margin: 0;
  color: var(--c-dark);
  font-size: 16px;
}

.product-category-modal-scope .shopuni-modal-close {
  border: 0;
  background: none;
  color: var(--c-muted);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.product-category-modal-scope .shopuni-modal-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px 20px;
}

.product-category-modal-scope .shopuni-search {
  display: flex;
  min-width: 220px;
  flex: 1;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid var(--c-border);
  border-radius: 12px;
  background: var(--c-panel);
}

.product-category-modal-scope .shopuni-search i {
  color: var(--c-muted);
  font-size: 13px;
}

.product-category-modal-scope .shopuni-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--c-dark);
  font-family: inherit;
  font-size: 14px;
}

.product-category-modal-scope .shopuni-tree-search {
  margin-bottom: 4px;
}

.product-category-modal-scope .shopuni-tree {
  max-height: 420px;
  overflow-y: auto;
}

.product-category-modal-scope .shopuni-tree-node {
  margin-bottom: 2px;
}

.product-category-modal-scope .shopuni-tree-row {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 4px;
  border-radius: 8px;
}

.product-category-modal-scope .shopuni-tree-row:hover {
  background: var(--c-panel);
}

.product-category-modal-scope .shopuni-tree-row.is-current {
  background: var(--c-teal-soft);
}

.product-category-modal-scope .shopuni-tree-row.is-current .shopuni-tree-link {
  color: var(--c-teal-dark);
}

.product-category-modal-scope .shopuni-tree-toggle {
  display: flex;
  width: 20px;
  height: 20px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 0;
  background: none;
  color: var(--c-muted);
  cursor: pointer;
}

.product-category-modal-scope .shopuni-tree-toggle i {
  font-size: 10px;
  transition: transform 0.15s ease;
}

.product-category-modal-scope .shopuni-tree-toggle.is-rotated i {
  transform: rotate(90deg);
}

.product-category-modal-scope .shopuni-tree-spacer {
  flex-shrink: 0;
}

.product-category-modal-scope .shopuni-tree-link {
  display: flex;
  min-width: 0;
  flex: 1;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--c-dark);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
}

.product-category-modal-scope .shopuni-tree-cnt {
  color: var(--c-muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
}

.product-category-modal-scope .shopuni-tree-children {
  display: none;
  margin-left: 9px;
  padding-left: 20px;
  border-left: 1px dashed var(--c-border);
}

.product-category-modal-scope .shopuni-tree-children.is-open {
  display: block;
}

/* =========================================================
   COOKIE NOTICE — компактная плашка по центру снизу
   ========================================================= */

.cookie_notice {
  --cookie-accent: var(--cards-accent, #f2a640);
  --cookie-text: #111111;
  --cookie-muted: #777777;
  --cookie-surface: rgba(242, 242, 240, 0.97);

  position: fixed;
  z-index: 9998;
  left: 50%;
  bottom: 18px;

  display: grid;
  width: min(calc(100% - 32px), 520px);
  min-height: 68px;
  padding: 12px 12px 12px 17px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;

  border: 1px solid rgba(255, 255, 255, 0.92);
  border-top: 2px solid var(--cookie-accent);
  background:
    repeating-linear-gradient(125deg,
      rgba(0, 0, 0, 0.012) 0,
      rgba(0, 0, 0, 0.012) 1px,
      transparent 1px,
      transparent 7px),
    var(--cookie-surface);
  box-sizing: border-box;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 18px);
  transition:
    opacity 0.24s ease,
    visibility 0.24s ease,
    transform 0.28s ease;
}

.cookie_notice.show,
.cookie_notice.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.cookie_title {
  min-width: 0;
}

.cookie_title p {
  margin: 0 0 4px;
  color: var(--cookie-text);
  font-family: var(--cards-font-main, var(--font-main, "Manrope", Arial, sans-serif));
  font-size: 14px;
  font-weight: 650;
  line-height: 1.28;
  letter-spacing: -0.025em;
}

.cookie_title a {
  display: inline-block;
  color: var(--cookie-muted);
  font-family: var(--cards-font-main, var(--font-main, "Manrope", Arial, sans-serif));
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.18s ease;
}

.cookie_title a:hover {
  color: var(--cookie-text);
}

.cookie_notice__action {
  flex: 0 0 auto;
}

.cookie_btn {
  display: inline-flex;
  min-width: 94px;
  min-height: 42px;
  padding: 0 16px;
  align-items: center;
  justify-content: center;

  border: 0;
  border-radius: 0;
  background: var(--cookie-accent);
  color: #ffffff;
  font-family: var(--cards-font-main, var(--font-main, "Manrope", Arial, sans-serif));
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: none;
  transition:
    background-color 0.18s ease,
    transform 0.18s ease;
}

.cookie_btn:hover {
  background: #df942a;
  transform: translateY(-1px);
}

.cookie_btn:focus-visible,
.cookie_title a:focus-visible {
  outline: 2px solid #111111;
  outline-offset: 3px;
}

@media (max-width: 600px) {
  .cookie_notice {
    bottom: 10px;
    width: calc(100% - 20px);
    min-height: 62px;
    padding: 10px 10px 10px 13px;
    gap: 10px;
    box-shadow: 0 9px 26px rgba(0, 0, 0, 0.14);
  }

  .cookie_title p {
    margin-bottom: 3px;
    font-size: 12px;
    line-height: 1.25;
  }

  .cookie_title a {
    font-size: 10px;
  }

  .cookie_btn {
    min-width: 78px;
    min-height: 40px;
    padding: 0 12px;
    font-size: 10px;
  }

  body.cookie-notice-visible .start-quiz-btn {
    bottom: 88px !important;
  }
}

@media (max-width: 380px) {
  .cookie_notice {
    grid-template-columns: minmax(0, 1fr) 72px;
    padding-left: 11px;
  }

  .cookie_title p {
    font-size: 11px;
  }

  .cookie_btn {
    min-width: 72px;
    padding: 0 8px;
  }
}

@media (prefers-reduced-motion: reduce) {

  .cookie_notice,
  .cookie_btn,
  .cookie_title a {
    transition: none;
  }
}