@charset "UTF-8";
#collection-cake-card-modal .bulma-modal-card-body[loading] {
  display: none;
}
#collection-cake-card-modal .bulma-modal-card-body[cake-data] {
  display: none;
}

.bulma-search-container {
  max-width: 500px;
  margin: 0 auto;
}

.bulma-search-container .bulma-field {
  align-items: stretch;
}

.bulma-search-input {
  border-radius: 25px 0 0 25px;
  border: 2px solid #e1e5e9;
  font-size: 1rem;
  padding: 0.75rem 1rem;
  height: 100%;
  min-height: 48px;
  transition: all 0.3s ease;
}

.bulma-search-input:focus {
  border-color: #913d45;
  box-shadow: 0 0 0 0.125em #d3a0a5;
}

.bulma-search-button {
  border-radius: 0 25px 25px 0;
  color: white;
  padding: 0.75rem 1rem;
  height: 100%;
  min-height: 48px;
  transition: all 0.3s ease;
}

.bulma-search-button:hover {
  background: #44a08d;
  border-color: #44a08d;
  transform: translateY(-1px);
}

.bulma-search-button .bulma-icon {
  font-size: 1rem;
}

.bulma-search-results {
  background: #ffebeb;
  border: 1px solid #ffebeb;
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
}

.bulma-search-results p {
  margin: 0;
  font-weight: 500;
}

.bulma-tags-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.bulma-tag-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.bulma-tag-item:hover {
  transform: scale(1.05);
}

.bulma-tag-item.bulma-tag-active {
  transform: scale(1.05);
}

.bulma-tag-item.bulma-tag-active .bulma-tag-circle {
  background: linear-gradient(135deg, #ff6b6b, #ffa500);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.bulma-tag-item.bulma-tag-active .bulma-tag-name {
  color: #ff6b6b;
  font-weight: 700;
}

.bulma-tag-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff6b6b, #ffa500);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.bulma-tag-letter {
  color: white;
  font-weight: bold;
  font-size: 1.5rem;
}

.bulma-tag-name {
  font-size: 0.9rem;
  color: #666;
  text-align: center;
  max-width: 80px;
}

.bulma-tag-count {
  font-size: 0.7rem;
  color: #999;
  text-align: center;
  margin-top: 0.2rem;
}

/* Стили для секции эмодзи */
.bulma-emoji-grid {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 1rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 600px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden; /* Предотвращает выход за пределы контейнера */
}

/* Дополнительная защита для родительского контейнера */
.bulma-column.bulma-is-4 {
  overflow: hidden; /* Предотвращает выход содержимого за пределы колонки */
  max-width: 100%;
  box-sizing: border-box;
}

.bulma-emoji-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
  background: white;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  text-align: center;
  min-width: 0; /* Позволяет элементу сжиматься */
  max-width: 100%; /* Ограничивает максимальную ширину */
  overflow: hidden; /* Скрывает переполнение */
}

.bulma-emoji-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.bulma-emoji-item.active {
  border-color: #ff6b6b;
  background: #fff5f5;
}

.bulma-emoji-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #4ecdc4; /* Fallback цвет, если в БД цвет не задан */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.8rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  font-size: 2.5rem;
  transition: all 0.3s ease;
  flex-shrink: 0; /* Круг не сжимается */
  /* Цвет из базы данных переопределит этот цвет через inline style */
}

.bulma-emoji-item:hover .bulma-emoji-circle {
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.bulma-emoji-name {
  font-weight: 600;
  color: #333;
  text-align: center;
  width: 100%;
  max-width: 100%;
  word-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
  overflow-wrap: break-word;
  font-size: 0.85rem; /* Уменьшаем размер шрифта для лучшего размещения */
  line-height: 1.2;
  /* Убираем обрезку текста - показываем весь текст */
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
  /* Скрываем детали на зерты на мобильных */
  .mobile-hide-details {
    display: none !important;
  }
  /* Упрощаем карточку десерта на мобильных */
  .bulma-cake-meta {
    justify-content: center !important;
    align-items: center !important;
  }
  .bulma-cake-price {
    text-align: center;
    width: 100%;
    color: var(--tastify-accent-primary) !important;
    font-weight: 600;
    font-size: 1.1rem;
  }
  /* Эмодзи: горизонтальный скролл, 2 элемента в видимой области */
  .bulma-emoji-grid {
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 1rem) / 2); /* 2 элемента в видимой области */
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    gap: 1rem;
    max-width: none;
    width: 100%;
    margin: 0;
    padding-bottom: 0.5rem;
    grid-template-columns: none; /* Отключаем обычную сетку на мобильных */
  }
  .bulma-emoji-item {
    min-width: 0;
    max-width: 100%;
    flex-shrink: 0; /* Предотвращает сжатие элементов в горизонтальном скролле */
  }
  .bulma-emoji-circle {
    width: 70px;
    height: 70px;
    font-size: 2rem;
  }
  .bulma-emoji-name {
    font-size: 0.75rem; /* Уменьшаем размер шрифта на мобильных */
    /* Убираем обрезку текста - показываем весь текст */
  }
  /* Карточки: 2 в ряд на мобильных */
  .bulma-collections-content .bulma-columns {
    display: flex;
    flex-wrap: wrap;
  }
  .bulma-collections-content .bulma-columns .bulma-column {
    flex: 0 0 50%;
    max-width: 50%;
  }
  /* Стабилизируем карточки десертов */
  .bulma-cake-card {
    height: auto;
    min-height: 200px;
    display: flex;
    flex-direction: column;
  }
  .bulma-cake-image {
    height: 120px !important;
    flex-shrink: 0;
  }
  .bulma-cake-info {
    padding: 0.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .bulma-cake-name {
    font-size: 0.9rem;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}
.bulma-collections-tabs {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 1rem;
  height: fit-content;
  position: sticky;
  top: 2rem;
}

.bulma-collection-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
  background: white;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  text-align: center;
  margin-bottom: 1rem;
}

.bulma-collection-tab:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.bulma-collection-tab.active {
  border-color: #ff6b6b;
  background: #fff5f5;
}

.bulma-collection-emoji-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4ecdc4, #44a08d);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.8rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  font-size: 2.5rem;
}

.bulma-collection-name {
  font-weight: 600;
  color: #333;
  text-align: center;
}

.bulma-cake-item {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  height: 100%;
  overflow: hidden;
}

.bulma-cake-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.bulma-cake-item:hover .bulma-cake-title {
  color: #333;
}

.bulma-card-image img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.bulma-card-content {
  padding: 0.75rem;
}

/* Стили для карточки торта */
.bulma-cake-title {
  color: #666;
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.bulma-cake-details {
  display: flex;
  justify-content: space-evenly;
  align-items: flex-start;
  flex-direction: column;
}

.bulma-price-info {
  text-align: right;
  min-width: 80px;
}

.bulma-price {
  color: var(--tastify-accent-primary) !important;
  font-weight: 600;
  font-size: 1.2rem;
}

.bulma-cake-price {
  color: var(--tastify-accent-primary) !important;
  font-weight: 600;
  font-size: 1.2rem;
}

.bulma-cake-stats {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.bulma-stat-item {
  color: #666;
  font-size: 0.8rem;
}

.bulma-cake-info {
  padding: 0 1rem;
}

.bulma-cake-name {
  font-size: 1rem;
  padding: 0.8em 0;
}

.bulma-cake-meta {
  min-height: 42px;
  font-size: 11px;
}

/* Прижимаем инфо-блок к нижней границе карточки */
.bulma-cake-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 250px;
}

.bulma-cake-image {
  flex: 0 0 auto;
  height: 180px;
  overflow: hidden;
}

.bulma-cake-info {
  margin-top: auto;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.bulma-cake-card-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid rgba(0, 0, 0, 0);
  box-shadow: 0px 1px 11px 6px rgba(0, 0, 0, 0.1);
  height: 100%;
}

/* Стили для карточки торта */
.bulma-cake-card-wrapper {
  cursor: pointer;
}

/* Стили для кнопки-карточки */
.bulma-button.bulma-js-modal-trigger {
  background: none;
  border: none;
  padding: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.bulma-button.bulma-js-modal-trigger:hover {
  background: none;
  transform: none;
}

.bulma-button.bulma-js-modal-trigger:focus {
  outline: none;
  box-shadow: none;
}

/* Стили для модального окна */
.bulma-modal {
  display: none;
}

.bulma-modal.bulma-is-active {
  display: flex;
}

.bulma-modal-background {
  background-color: rgba(10, 10, 10, 0.86);
}

.bulma-modal-card {
  max-width: 90vw;
  max-height: 90vh;
  width: 1000px;
}

/* Стили для галереи */
.bulma-gallery-container {
  text-align: center;
}

.bulma-main-image {
  margin-bottom: 1rem;
}

.bulma-main-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.bulma-thumbnails {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.bulma-thumbnail {
  cursor: pointer;
  transition: transform 0.2s ease;
}

.bulma-thumbnail:hover {
  transform: scale(1.05);
}

.bulma-thumbnail img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
  border: 2px solid transparent;
  transition: border-color 0.2s ease;
}

.bulma-thumbnail img:hover {
  border-color: #4ecdc4;
}

/* Стили для начинок и размеров */
.bulma-filling-item,
.bulma-size-item {
  margin-bottom: 0.5rem;
}

.bulma-checkbox,
.bulma-radio {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.bulma-checkbox input,
.bulma-radio input {
  margin-right: 0.5rem;
}

/* Стили для вкладок */
.bulma-tabs ul {
  border-bottom-color: #dbdbdb;
}

.bulma-tabs a {
  border-bottom-color: #dbdbdb;
  color: #4a4a4a;
}

.bulma-tabs a:hover {
  border-bottom-color: #4ecdc4;
  color: #4ecdc4;
}

.bulma-tabs li.bulma-is-active a {
  border-bottom-color: #4ecdc4;
  color: #4ecdc4;
}

.bulma-tab-content {
  padding: 1rem 0;
}

.bulma-tab-pane {
  display: none;
}

.bulma-tab-pane.bulma-is-active {
  display: block;
}

.bulma-tabs a {
  cursor: pointer;
}

.bulma-tabs a[data-tab] {
  cursor: pointer;
}

.bulma-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
}

.bulma-modal-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.bulma-modal-card {
  position: relative;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.bulma-modal-card-head {
  border-bottom: 1px solid #e0e0e0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  gap: 1rem;
}

.bulma-modal-card-title {
  flex: 1;
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0; /* Позволяет flex-элементу сжиматься */
}

.bulma-modal-card-head .bulma-delete {
  flex-shrink: 0; /* Кнопка закрытия не сжимается */
  width: 24px;
  height: 24px;
  min-width: 24px;
  min-height: 24px;
}

.bulma-modal-card-body {
  flex: 1;
  overflow-y: auto;
}

.bulma-modal-card-foot {
  border-top: 1px solid #e0e0e0;
  display: flex;
  justify-content: flex-end;
}

/* Стили для табов описание/состав */
.bulma-tabs-section {
  margin-top: 1rem;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  background: white;
}

.bulma-tabs {
  background: #f8f9fa;
  border-bottom: 1px solid #e0e0e0;
}

.bulma-tabs ul {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bulma-tabs li {
  flex: 1;
}

.bulma-tabs li a {
  display: block;
  padding: 12px 16px;
  text-decoration: none;
  color: #666;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
  text-align: center;
  font-weight: 500;
}

.bulma-tabs li:hover a {
  background: #e9ecef;
  color: #333;
}

.bulma-tabs li.bulma-is-active a {
  color: #913d45;
  border-bottom-color: #913d45;
  background: white;
  font-weight: 600;
}

.bulma-tab-content {
  padding: 1rem;
  min-height: 60px;
}

.bulma-tab-pane {
  display: none;
}

.bulma-tab-pane.bulma-is-active {
  display: block;
  animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.bulma-tab-pane p {
  margin: 0;
  line-height: 1.6;
  color: #333;
}

.bulma-tab-pane .bulma-has-text-grey {
  color: #666;
  font-style: italic;
}

/* Блок поиска в разработке */
.bulma-search-development-block {
  border: 2px dashed #e0e0e0;
  border-radius: 12px;
  padding: 1.5rem;
  background: #fafafa;
  transition: all 0.3s ease;
}

.bulma-search-development-block:hover {
  border-color: #ff6b35;
  background: #fff5f2;
}

.bulma-search-development-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.bulma-search-development-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.bulma-search-development-text {
  text-align: center;
}

.bulma-search-development-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #2c2c2c;
  margin: 0 0 0.25rem 0;
}

.bulma-search-development-subtitle {
  font-size: 0.9rem;
  color: #8e8e8e;
  margin: 0;
  font-weight: 500;
}

/* Адаптивность для блока поиска */
@media screen and (max-width: 768px) {
  .bulma-search-development-block {
    padding: 1rem;
    margin-bottom: 1rem;
  }
  .bulma-search-development-content {
    flex-direction: column;
    gap: 0.75rem;
  }
  .bulma-search-development-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  .bulma-search-development-title {
    font-size: 1rem;
  }
  .bulma-search-development-subtitle {
    font-size: 0.85rem;
  }
  /* Адаптивность для модального окна */
  .bulma-modal-card-head {
    padding: 0.75rem;
    gap: 0.75rem;
  }
  .bulma-modal-card-title {
    font-size: 1.1rem;
  }
  .bulma-modal-card-head .bulma-delete {
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
  }
}

/*# sourceMappingURL=PublicPortalCustomerCakeCollections.css.map */
