/* Bookmarks page — layout + tokens; card chrome matches home no-tabs carousel (home-carousel.css). */

.favorites-container {
  padding: calc((var(--default-padding-frame) * 2) + var(--header-item-height)) 0 0 0;
  background-color: rgb(234 234 234);
  background: linear-gradient(to bottom, rgba(249, 249, 249, 1) 0%, rgba(255, 255, 255, 1) 100%);
}

.favorites-container .tittle h1 {
  color: #000000;
  margin-block-start: 0.46em;
  margin-block-end: 0.46em;
  max-width: 600px;
}

.favorites-container .tittle h1 span {
  color: var(--color-shade-dark-600);
}

/* Wrapping grid of full-height cards (home uses a horizontal strip with nowrap). */
.favorites-container.carusel-section .favorites-list-container.carusel-tabs-container {
  flex-wrap: wrap;
  overflow-x: visible;
  align-items: flex-start;
}

.favorites-container .carusel-tabs-container > ul {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  list-style: none;
  margin: 24px 0;
  padding: 0;
  z-index: 2;
  column-gap: calc(var(--default-items-margin) * 1.5);
  row-gap: 24px;
  /*max-width: 1352px;*/
}

/* Top spacing only when there are no bookmark cards (empty / placeholder row). */
.favorites-container .carusel-tabs-container > ul.favorites-list--empty {
  margin: 24px auto 0;
}

.favorites-container .carusel-tabs-container > ul li {
  margin-right: 0;
}

.favorites-container .carusel-tabs-container > ul li.empty-state,
.favorites-container .carusel-tabs-container > ul li.loading-state,
.favorites-container .carusel-tabs-container > ul li.error-state {
  width: 100%;
  text-align: center;
  padding: 40px;
}

@media screen and (min-width: 0px) and (max-width: 1019px) {
  .favorites-container .carusel-tabs-container > ul li {
    width: 100%;
  }
}
