.kolhoz-members-header {
    background: linear-gradient(135deg, #4b9140, #2e7030);
    color: #fff;
    padding: 10px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 0 8px rgba(0,0,0,0.3);
}
.kolhoz-role-info {
    background: rgba(40,90,40,0.4);
    padding: 10px;
    border-radius: 8px;
    color: #e9fce7;
    font-size: 13px;
    margin: 10px 0;
}
.kolhoz-member-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(35,75,35,0.55);
    border: 1px solid rgba(80,140,80,0.6);
    border-radius: 8px;
    margin: 6px 0;
    padding: 8px 10px;
    color: #e9fce7;
}
.kolhoz-member-card .nick {
    font-weight: bold;
    color: #b7ffb0;
}
.kolhoz-member-card .role {
    font-size: 13px;
    opacity: 0.9;
}
.kolhoz-member-card.leader {
    border: 1px solid #ffe66d;
    background: rgba(100, 100, 40, 0.3);
}
.kolhoz-member-card.deputy {
    border: 1px solid #a7ff9f;
    background: rgba(60, 100, 60, 0.3);
}
.kolhoz-member-card a.button {
    background: rgba(80,130,80,0.6);
    padding: 4px 8px;
    border-radius: 6px;
    text-decoration: none;
    color: #fff;
    font-size: 12px;
    transition: 0.2s;
}
.kolhoz-member-card a.button:hover {
    background: rgba(100,170,100,0.8);
}
.kolhoz-header {
    background: linear-gradient(135deg, #4b9140, #2e7030);
    color: #fff;
    padding: 10px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 0 8px rgba(0,0,0,0.3);
}
.kolhoz-info {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin: 10px 0;
    padding: 8px;
    background: rgba(60, 120, 60, 0.25);
    border-radius: 8px;
    font-size: 14px;
    text-align: center;
    color: #e9fce7;
}
.kolhoz-info div {padding:4px 10px;}
.kolhoz-block {
    background: rgba(35, 75, 35, 0.5);
    border: 1px solid rgba(80,140,80,0.6);
    border-radius: 8px;
    margin: 8px 0;
    padding: 10px;
    color: #e9fce7;
    box-shadow: 0 0 4px rgba(0,0,0,0.2);
}
.kolhoz-block h3 {
    margin: 0 0 6px;
    font-size: 15px;
    color: #b7ffb0;
}
.kolhoz-menu a {
    display: block;
    padding: 8px;
    margin: 4px 0;
    border-radius: 6px;
    background: rgba(50, 100, 50, 0.6);
    text-decoration: none;
    color: #d8ffd0;
    font-weight: bold;
    transition: 0.2s;
}
.kolhoz-menu a:hover {
    background: rgba(100, 160, 100, 0.8);
    transform: scale(1.02);
}
.kolhoz-bonus, .kolhoz-building {
    padding: 5px 0;
    border-bottom: 1px solid rgba(100,140,100,0.3);
}
.kolhoz-building:last-child, .kolhoz-bonus:last-child {border-bottom:none;}
.quote-block {
  background: #f5f5dc;
  border-left: 4px solid #d8b87b;
  padding: 6px 8px;
  margin: 6px 0;
  border-radius: 6px;
  font-size: 13px;
}
.quote-author {
  font-weight: bold;
  color: #7a5c2e;
  margin-bottom: 3px;
}
.quote-text {
  font-style: italic;
  color: #333;
}
/* === Общий стиль === */
.news-form {
  max-width: 600px;
  background: #fafafa;
  border: 2px solid #ddd;
  padding: 15px;
  border-radius: 10px;
}

/* === Выбор цвета (фон) === */
.color-picker, .border-picker {
  display: flex;
  gap: 10px;
  margin: 8px 0;
}

.color-sample, .border-sample {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.2s, border 0.2s;
}

.color-sample.selected, .border-sample.selected {
  border: 2px solid #000;
  transform: scale(1.1);
}

/* === Цветовые темы === */
.bg-sky { background: linear-gradient(180deg, #b3e5fc, #81d4fa); }
.bg-grass { background: linear-gradient(180deg, #a5d6a7, #81c784); }
.bg-earth { background: linear-gradient(180deg, #d7ccc8, #a1887f); }
.bg-dark { background: linear-gradient(180deg, #424242, #212121); color: white; }

/* === Рамки === */
.border-none { border: none; }
.border-gold { border: 3px solid gold; }
.border-wood { border: 3px solid #8b5a2b; }
.border-stone { border: 3px solid #888; }

/* === Вывод новости === */
.post {
  border-radius: 12px;
  padding: 12px;
  margin: 15px 0;
  box-shadow: 0 3px 6px rgba(0,0,0,0.15);
}

.preview-container {
  text-align: center;
  margin-top: 8px;
}
.preview-container img {
  max-width: 90%;
  border-radius: 10px;
  display: none;
}
.comment-quote {
  font-size: 90%;
  background: #fff;
  border-left: 3px solid #ccc;
  padding: 5px 8px;
  margin-bottom: 5px;
  border-radius: 5px;
  color: #555;
}
.reply-label {
  color: #555;
  font-size: 13px;
  margin-bottom: 4px;
  display: none;
}

h1 {
  text-align: center;
  color: #ffeaa0;
  text-shadow: 0 0 10px #ffcf4d, 0 0 20px #ffb347;
  margin: 20px 0;
}

/* === Форма добавления новости (только для админов) === */
.news-form {
  background: linear-gradient(180deg, rgba(40,30,10,0.9), rgba(60,40,15,0.9));
  border-radius: 16px;
  padding: 15px;
  margin: 20px auto;
  width: 90%;
  max-width: 400px;
  color: #fff3cc;
  box-shadow: 0 0 15px rgba(255,200,80,0.4);
}
.news-form h3 {
  text-align: center;
  margin-bottom: 10px;
  color: #fff9cc;
  text-shadow: 0 0 8px #ffb347;
}
.news-form input,
.news-form textarea {
  width: 96%;
  border: none;
  border-radius: 10px;
  padding: 8px;
  margin-bottom: 8px;
  background: rgba(255,245,200,0.1);
  color: #fff6d0;
}
.news-form button {
  width: 100%;
  background: linear-gradient(90deg, #ffcc33, #ffb347);
  border: none;
  border-radius: 10px;
  padding: 8px 0;
  color: #3b2502;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(255,230,100,0.7);
}
.news-form button:hover {
  background: linear-gradient(90deg, #ffdf6b, #ffd65b);
}

/* === Блок новости === */
.post {
  background: rgba(40,25,5,0.9);
  border-radius: 14px;
  margin: 15px auto;
  padding: 15px;
  width: 90%;
  max-width: 520px;
  border: 2px solid #ffcc66;
  box-shadow: 0 0 15px rgba(255,200,80,0.3);
}
.post-title {
  font-size: 18px;
  color: #fff6bf;
  text-shadow: 0 0 6px #ffcc33;
}
.post-meta {
  font-size: 13px;
  color: #d7c288;
  margin-bottom: 10px;
}
.post-content {
  background: rgba(255,248,200,0.08);
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 10px;
}

/* === Комментарии === */
.comment {
  background: rgba(255,230,150,0.12);
  border: 1px solid rgba(255,230,120,0.4);
  border-radius: 8px;
  padding: 6px 8px;
  margin-bottom: 5px;
  font-size: 14px;
}
.comment .user {
  color: #ffdf70;
  font-weight: bold;
}

/* === Кнопки === */
.cbtn {
  display: inline-block;
  background: linear-gradient(90deg, #3fa44a, #2e8b57);
  border-radius: 8px;
  padding: 4px 8px;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  margin: 2px;
  font-size: 14px;
}
.cbtn:hover {
  background: linear-gradient(90deg, #49b552, #39a062);
}

/* === Кнопка "Показать все" === */
.show-more {
  color: #ffe78a;
  cursor: pointer;
  text-align: center;
  margin: 4px 0;
  font-weight: bold;
}

/* === Поле ввода комментария === */
textarea {
  width: 95%;
  border-radius: 6px;
  border: 1px solid rgba(255,230,120,0.4);
  padding: 5px;
  resize: none;
  background: rgba(255,250,200,0.08);
  color: #fff3cc;
}

.chat-circle.neon {
  display: block;

  padding: 12px 20px;
  margin: 5px auto;
  border-radius: 14px;
  background: #2a2a2a; /* серый фон */
  color: #fff; /* обычный цвет текста */
  border: 2px solid;
  border-image-slice: 1;
  border-image-source: linear-gradient(45deg, #0ff, #00ffff, #0ff); /* только рамка светится */
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.5); /* мягкий свет от рамки */
  font-family: "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.5;
  position: relative;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Ник игрока — обычный текст */
.chat-circle.neon .player-name {
  font-weight: bold;
  margin-right: 5px;
  text-shadow: none; /* убрали неон */
  color: #fff; /* обычный цвет ника */
}

/* Сообщение */
.chat-circle.neon .chat-message {
  margin-top: 4px;
  color: #fff; /* обычный цвет текста */
  font-size: 14px;
  line-height: 1.5;
  word-break: break-word;
}

/* Блок "в ответ" */
.chat-circle.neon .reply-to {
  font-size: 12px;
  color: #4CAF50;
  margin-bottom: 6px;
  font-style: italic;
}

/* Кнопка Ответить */
.chat-circle.neon .reply-btn a {
  font-size: 12px;
  color: #0ff;
  text-decoration: underline;
  cursor: pointer;
}
.chat-circle.neon .reply-btn a:hover {
  color: #0ff;
  text-shadow: none; /* без свечения */
}
 .chat-message {
    max-width: 65%;
    margin: 10px;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.4;
    position: relative;
    word-wrap: break-word;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Мои сообщения (тёмный зелёный) */
.chat-message.me {
    margin-left: auto;
    background: linear-gradient(135deg, #1b5e20, #145a32); /* тёмный зелёный градиент */
    color: #fff;
    text-align: right;
    border-bottom-right-radius: 0;
}

/* Сообщения собеседника (серо-голубой градиент) */
.chat-message.other {
    margin-right: auto;
    background: linear-gradient(135deg, #455a64, #37474f); /* тёмно-серо-голубой */
    color: #e0e0e0; /* светло-серый текст для контраста */
    text-align: left;
    border-bottom-left-radius: 0;
}
.message-meta {
    font-size: 11px;
    color: #aaa;
    margin-top: 6px;
}

.message-actions {
    margin-top: 6px;
    font-size: 11px;
}
.message-actions a {
    color: #ccc;
    margin: 0 6px;
    text-decoration: none;
}
.message-actions a:hover {
    color: #fff;
    text-decoration: underline;
}

.tick {
    font-size: 12px;
    margin-left: 4px;
    color: #bbb;
}
.tick.double {
    color: #4fc3f7;
}

.shop {
  width: 98%;
  max-width: 600px;
  margin: 0 auto;
  padding: 8px;
  font-family: "Segoe UI", sans-serif;
  background: #fff8e7;
  border: 2px solid #d8b87b;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.15);
  box-sizing: border-box;
  overflow-x: hidden;
}

/* Заголовок */
.shop-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: linear-gradient(to bottom, #f7d48a, #e0b45f);
  border-radius: 10px;
  padding: 8px;
  font-weight: bold;
  font-size: 1.2em;
  color: #5a3e1b;
  box-shadow: inset 0 1px 2px rgba(255,255,255,0.7);
}

.shop-icon {
  width: 22px;
  height: 22px;
}

/* Вкладки */
.shop-tabs {
  display: flex;
  justify-content: space-between;
  background: #f2e1c0;
  margin-top: 8px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(255,255,255,0.5);
}

.tab {
  flex: 1;
  text-align: center;
  padding: 6px 0;
  text-decoration: none;
  color: #6b4c24;
  font-weight: bold;
  transition: all 0.2s;
}

.tab.active {
  background: linear-gradient(to bottom, #f9e2a6, #e5b95d);
  color: #4a2d0f;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.2);
}

.tab.disabled {
  color: #a7a7a7;
  pointer-events: none;
  opacity: 0.5;
}

/* Товары */
.shop-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
  box-sizing: border-box;
  animation: fadein .3s;
}

.item {
  width: calc(33.333% - 8px); /* 3 карточки в ряд */
  background: linear-gradient(#fff, #f2e9c9);
  border-radius: 10px;
  text-align: center;
  padding: 6px;
  box-shadow: inset 0 0 2px #d1b37a;
  transition: transform 0.15s;
  border: 1px solid #e0d1a5;
  box-sizing: border-box;
}

.item:hover {
  transform: scale(1.02);
}

.item-image {
  width: 100%;
  height: 75px;
  background: #f7efd9;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid #e2c987;
}

.item-image img {
  max-width: 90%;
  max-height: 70px;
}

.item-name {
  font-weight: bold;
  color: #5b3a1e;
  margin-top: 4px;
  font-size: 0.9em;
}

.item-price {
  color: #8b6b45;
  font-size: 0.85em;
}

.item-timer {
  font-size: 0.75em;
  color: #a58a63;
  margin-bottom: 5px;
}

.buy-btn {
  background: linear-gradient(to bottom, #6fc85e, #4e9f3b);
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 5px 10px;
  font-size: 0.9em;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  transition: transform 0.1s, background 0.2s;
}

.buy-btn:hover {
  background: linear-gradient(to bottom, #75d867, #56b749);
}

.buy-btn:active {
  transform: scale(0.96);
  background: linear-gradient(to bottom, #61b050, #3f8a33);
}.buy-btn2 {
  background: linear-gradient(to bottom, #6fc85e, #4e9f3b);
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 5px 10px;
  font-size: 0.9em;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  transition: transform 0.1s, background 0.2s;
}

.buy-btn2:hover {
  background: linear-gradient(to bottom, #75d867, #56b749);
}

.buy-btn2:active {
  transform: scale(0.96);
  background: linear-gradient(to bottom, #61b050, #3f8a33);
}

/* Если магазин пуст */
.placeholder {
  text-align: center;
  padding: 20px;
  color: #5b4421;
}

.hidden {
  display: none;
}

/* Анимация */
@keyframes fadein {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}

/* 📱 Адаптация под мобильные — 2 в ряд */
@media (max-width: 480px) {
  .item {
  width: calc(33.333% - 8px); /* 3 карточки в ряд с учётом gap */
  }
}

/* 📱 Очень узкие экраны — 1 в ряд */
@media (max-width: 360px) {
  .item {
    width: 96%;
  }
}




.ftr{text-align:center;width:85%;margin:auto;height:32px;margin-bottom:3px}
.ftr img{width:16px;height:16px;vertical-align:middle}
.ftr a{padding:5px 0;color:#DDD;text-decoration:none;display:inline-block;width:46%}
.ftr a:hover{background:rgba(80,160,100,0.5)}
.foot-info-table {    height: 53px;    width: 100% !important;}.foot-info-table td {    position: relative;}.foot-info-table tr td:last-child:before {    background: none;}
.foot-info-link-profile {    display: block;    text-decoration: none;    position: absolute;    height: 81px;    width: 77px;    top: -5px;    left: -7px;    z-index: 200;    background: url('https://sex-ferma.ru//images/menu.png') 50% -891px no-repeat !important;}.foot-info-link-profile:before {    content: '';    position: absolute;    height: 81px;    width: 77px;    top: 0;    left: 0;    z-index: 300;    background: url('https://sex-ferma.ru//images/menu.png') 0 -943px no-repeat;}.foot-info-link-profile._premium:after {    content: '';    width: 12px;    height: 12px;    position: absolute;    top: -2px;    right: 31px;    z-index: 400;    background: url('http://img1.vten.ru/images/icons/vip_icon.png') 0 0 no-repeat ;}

.card-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 15px;
}
.card {
  background: linear-gradient(145deg, #1e1e1e, #2a2a2a);
  border: 2px solid #444;
  border-radius: 12px;
  padding: 10px;
  text-align: center;
  color: #fff;
  transition: 0.2s;
}
.card:hover {
  border-color: gold;
  transform: scale(1.05);
}
.card img {
  max-width: 64px;
}
.card h3 {
  margin: 8px 0 5px;
  font-size: 16px;
  color: #ffd700;
}
.owner {
  font-size: 12px;
  color: #aaa;
}




.warehouse {
  max-width: 900px;
  margin: 15px auto;
  padding: 10px;
}

.warehouse-title {
  text-align: center;
  font-size: 22px;
  margin-bottom: 20px;
  font-weight: bold;
}

.shelf {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 15px;
  background: #3a2f23;
  border: 4px solid #2a1f15;
  border-radius: 15px;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.6);
}

.slot {
  width: 100px;
  background: #5a4632;
  border: 2px solid #2a1f15;
  border-radius: 10px;
  padding: 10px;
  text-align: center;
  color: #fff;
  font-weight: bold;
  position: relative;
  box-shadow: 0 3px 5px rgba(0,0,0,0.4);
  transition: transform 0.2s;
}

.slot:hover {
  transform: scale(1.05);
  background: #6d5440;
}

.slot img {
  max-width: 60px;
  margin-bottom: 8px;
}

.slot-name {
  display: block;
  font-size: 14px;
  margin-bottom: 5px;
}

.slot-count {
  font-size: 16px;
  color: #ffd700;
  text-shadow: 1px 
  }
.dark-card {
    background-color: #1e1e1e;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.4);
    color: #ddd;
    font-family: Arial, sans-serif;
}

.dark-card h2 {
    font-size: 18px;
    color: #f0f0f0;
    margin-bottom: 15px;
}

.soil-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.soil-item {
    background: #2a2a2a;
    border-radius: 8px;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.soil-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.6);
}

.soil-item img {
    border-radius: 5px;
    flex-shrink: 0;
}

.soil-info {
    flex: 1;
}

.soil-info .title {
    font-weight: bold;
    color: #fff;
}

.soil-info .minor {
    font-size: 13px;
    color: #aaa;
}

.shop-link {
    display: inline-block;
    background: #ff9800;
    color: #000;
    padding: 8px 14px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.2s ease;
}

.shop-link:hover {
    background: #e68900;
}

@media (max-width: 600px) {
    .soil-item {
        flex-direction: column;
        text-align: center;
    }
    .soil-item img {
        width: 64px;
        height: 64px;
    }
}
/* Контейнер */
.game-shop {
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden; /* чтобы ничего не вылезало */
}

.game-shop .shop-categories {
  display: flex;
  flex-wrap: wrap;   /* ✅ перенос на новые строки */
  gap: 6px;
  margin-bottom: 15px;
}
.game-shop .shop-categories .cat {
  background: #222;
  border: 1px solid #555;
  padding: 6px 14px;
  border-radius: 4px;
  color: #eee;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.game-shop .shop-categories .cat:hover {
  background: #444;
  color: #ffd700;
}

.game-shop .shop-categories .cat.active {
  background: #6a4b2b;
  color: #ffd700;
  border-bottom: 2px solid gold;
}

/* Сетка товаров */
.game-shop .shop-items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
}

/* Карточка */
.game-shop .shop-item {
  background: #1b1b1b;
  border: 1px solid #555;
  border-radius: 6px;
  text-align: center;
  padding: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
  max-width: 100%;       /* 🚀 ключ */
  overflow: hidden;      /* 🚀 ключ */
}

.game-shop .shop-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.6);
}

.game-shop .shop-item img {
  max-width: 80px;
  margin-bottom: 8px;
}

/* Название и цена */
.game-shop .item-name {
  font-size: 14px;
  color: #fff;
  margin-bottom: 6px;
}

.game-shop .item-price {
  font-size: 15px;
  font-weight: bold;
  color: #ffd700;
}

.shop-link {
    display: block;
    background-color: #222;
    color: #ffcc66;
    padding: 8px 12px;
    border-radius: 8px;
    text-align: center;
    margin-top: 10px;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.shop-link:hover {
    background-color: #333;
} .warehouse-block {
        padding: 10px;
        background: #1e1e1e;
        border-radius: 8px;
        max-width: 600px;
        margin: auto;
        box-shadow: 0 2px 8px rgba(0,0,0,0.4);
    }

    .foot-info-table {
        width: 100%;
        border-collapse: separate;
        border-spacing: 10px;
    }

    .foot-info-table td {
        background: #2a2a2a;
        text-align: center;
        vertical-align: middle;
        padding: 15px 10px;
        border-radius: 10px;
        box-shadow: 0 1px 4px rgba(0,0,0,0.4);
        transition: all 0.2s ease-in-out;
    }

    .foot-info-table td:hover {
        transform: translateY(-3px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.6);
    }

    .foot-info-link {
        display: block;
        color: #f5f5f5;
        font-size: 14px;
        font-weight: 500;
        text-decoration: none;
    }

    .foot-info-icon {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 50px;
        height: 50px;
        margin: 0 auto 8px;
        background: #3a3a3a;
        border-radius: 50%;
        box-shadow: 0 0 6px rgba(255,255,255,0.1);
    }

    .foot-info-icon img {
        max-width: 28px;
        max-height: 28px;
        filter: drop-shadow(0 0 3px rgba(255,255,255,0.3));
    }

    .foot-info-link:hover {
        color: #4fc3f7;
    }.warehouse-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-start;
    background-color: #1e1e1e;
    padding: 10px;
    border-radius: 10px;
}

.warehouse-item {
    background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
    border: 1px solid #333;
    border-radius: 10px;
    padding: 6px;
    width: 70px; /* уменьшенный размер */
    text-align: center;
    font-size: 12px;
    color: #ddd;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.warehouse-item:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.warehouse-item img {
    width: 70px; /* уменьшенный размер картинки */
    height: auto;
}

.item-count {
    display: inline-block;
    margin-top: 4px;
    padding: 3px 6px;
    background: rgba(60, 117, 74, 0.9);
    border-radius: 50%;
    font-weight: bold;
    font-size: 11px;
    color: white;
}