/* Space / 02 Catalog. Figma 2318:25387. No Reader or other Space layout changes. */
.space-app.space-catalog-route {
  height: 100dvh !important;
  min-height: 100dvh !important;
  background: #0b0c0a;
  color: #f1e2c9;
}
#space-catalog-host {
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.space-catalog-screen {
  display: flow-root;
  min-height: 100%;
  padding-top: env(safe-area-inset-top);
  padding-bottom: calc(112px + env(safe-area-inset-bottom));
  background: #0b0c0a;
  color: #f1e2c9;
  font:
    300 14px/20px "Geologica Pilcrow",
    sans-serif;
  font-variation-settings:
    "CRSV" 0,
    "SHRP" 0;
}
.space-catalog-screen * {
  box-sizing: border-box;
}
.space-catalog-screen [hidden] {
  display: none !important;
}
.space-catalog-screen button,
.space-catalog-screen input {
  font: inherit;
  color: inherit;
}
.space-catalog-screen button {
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.space-catalog-screen button:disabled {
  opacity: 0.5;
  cursor: default;
}
.space-catalog-screen button:focus-visible,
.space-catalog-screen input:focus-visible {
  outline: 2px solid #8047fa;
  outline-offset: 3px;
}
.space-catalog-screen h1,
.space-catalog-screen h2,
.space-catalog-screen p {
  margin: 0;
}
.space-catalog-screen h1 {
  font-size: 24px;
  line-height: 32px;
  font-weight: 700;
}
.space-catalog-screen h2 {
  font-size: 19px;
  line-height: 26px;
  font-weight: 600;
}
.catalog-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px 21px 0;
}
.catalog-banner {
  display: block;
  position: relative;
  width: 100%;
  height: 142px !important;
  flex: none;
  overflow: hidden;
  border: 1px solid #353637 !important;
  border-radius: 14px;
  background: linear-gradient(90deg, #171919, #20192b) !important;
  text-align: left;
  isolation: isolate;
  box-shadow: inset 0 0 11.35px #a238ff66;
}
.catalog-banner-books,
.catalog-banner-glow,
.catalog-banner-top {
  position: absolute;
  overflow: hidden;
  pointer-events: none;
  z-index: -1;
}
.catalog-banner-books {
  left: 172px;
  top: -1px;
  width: 148px;
  height: 143px;
}
.catalog-banner-books img {
  position: absolute;
  width: 263.5%;
  height: 595.19%;
  max-width: none;
  left: -128.83%;
  top: -51.6%;
}
.catalog-banner-glow {
  left: 320px;
  top: 28px;
  width: 33px;
  height: 74px;
  opacity: 0.65;
}
.catalog-banner-glow img {
  position: absolute;
  width: 1193.06%;
  height: 1132.32%;
  max-width: none;
  left: -1036.11%;
  top: -135.98%;
}
.catalog-banner-top {
  left: 172px;
  top: -1px;
  width: 181px;
  height: 29px;
  opacity: 0.65;
}
.catalog-banner-top img {
  position: absolute;
  width: 215.29%;
  height: 2901.56%;
  max-width: none;
  left: -105.26%;
  top: -248.44%;
}
.catalog-banner-blend {
  position: absolute;
  left: 172px;
  top: -1px;
  width: 14px;
  height: 143px;
  background: linear-gradient(90deg, #1c1922, transparent);
  z-index: -1;
}
.catalog-banner-copy {
  position: absolute;
  top: 19px;
  left: 19px;
  width: 170px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.catalog-banner-copy b {
  font-size: 40px;
  line-height: 44px;
  font-weight: 700;
}
.catalog-banner-copy > span {
  font-size: 12px;
  line-height: 16px;
  font-weight: 300;
}
.catalog-banner-circle {
  position: absolute;
  top: 97px;
  right: 12px;
  width: 32px;
  height: 32px;
}
.catalog-banner-arrow {
  position: absolute;
  top: 105px;
  right: 20px;
  width: 16px;
  height: 16px;
}
.catalog-search-field {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  flex: none;
  border: 1px solid #353637;
  border-radius: 20px;
  background: #111210;
  padding: 0 14px;
}
.catalog-search-field > img {
  flex: none;
}
.catalog-search-field
  > button:first-of-type:not([data-catalog-action="clear"]) {
  flex: 1;
  min-width: 0;
  text-align: left;
  height: 38px;
  font-weight: 300;
  color: #cbc0ad;
  font-size: 14px;
}
.catalog-search-field input {
  display: block;
  flex: 1;
  min-width: 0;
  width: 0;
  padding: 0;
  border: 0;
  outline: 0;
  background: none;
  appearance: none;
  -webkit-appearance: none;
  font-weight: 300;
  font-size: 14px;
  line-height: 20px;
}
.catalog-search-field input::placeholder {
  color: #cbc0ad;
  opacity: 1;
}
.catalog-search-field input::-webkit-search-cancel-button {
  display: none;
}
.catalog-search-field > [data-catalog-action="clear"] {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: none;
}
.catalog-tabs {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  height: 28px;
  border-bottom: 1px solid #353637;
  margin: 12px 21px 0;
}
.catalog-tabs button {
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  color: #cbc0ad;
  position: relative;
  text-align: center;
}
.catalog-tabs button[aria-selected="true"] {
  color: #f1e2c9;
  font-weight: 600;
}
.catalog-tabs button[aria-selected="true"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: #8047fa;
}
.catalog-body {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 24px 21px 0;
}
.catalog-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.catalog-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 26px;
}
.catalog-section-heading h2 {
  min-width: 0;
}
.catalog-section-heading > button {
  width: 24px;
  height: 26px;
  flex: none;
  display: grid;
  place-items: center;
}
.catalog-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 105px));
  justify-content: space-between;
  gap: 17px;
  align-items: start;
}
.catalog-book-tile,
.catalog-author-tile {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  min-width: 0;
  text-align: left;
}
.catalog-book-tile > span:not(.book-cover) {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.catalog-book-tile b,
.catalog-author-tile b {
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.catalog-book-tile small,
.catalog-collection-tile small,
.catalog-collection-row small,
.catalog-author-row small,
.catalog-book-row small {
  font-size: 10px;
  line-height: 17px;
  color: #cbc0ad;
  font-weight: 300;
  overflow-wrap: anywhere;
}
.space-catalog-screen .catalog-book-tile .book-cover,
.catalog-portrait {
  display: block;
  width: 100%;
  height: 130px;
  border-radius: 4px;
  flex: none;
  overflow: hidden;
  background: #202121;
}
.catalog-portrait > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.catalog-portrait {
  position: relative;
}
.catalog-portrait > span {
  display: grid;
  place-items: center;
  height: 100%;
  color: #cbc0ad;
  font-size: 32px;
}
.catalog-country-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.catalog-card {
  border: 1px solid #353637 !important;
  background: #171919 !important;
  border-radius: 14px;
}
.catalog-country-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px !important;
  min-height: 84px;
  min-width: 0;
  text-align: left;
}
.catalog-flag {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 20px;
  flex: none;
  overflow: hidden;
  font-size: 10px;
  background: #202121;
}
.catalog-flag[data-flag="FR"] {
  background: white;
}
.catalog-flag[data-flag="FR"] > i {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 9.49px;
}
.catalog-flag[data-flag="FR"] > i:first-child {
  left: 0;
  background: #0332ad;
}
.catalog-flag[data-flag="FR"] > i:nth-child(3) {
  right: 0;
  background: #ec2935;
}
.catalog-flag[data-flag="DE"] {
  background: #e70b15;
}
.catalog-flag[data-flag="DE"] > i {
  position: absolute;
  left: 0;
  right: 0;
  height: 6.644px;
}
.catalog-flag[data-flag="DE"] > i:first-child {
  top: 0;
  background: #040505;
}
.catalog-flag[data-flag="DE"] > i:nth-child(3) {
  bottom: 0;
  background: #ffd023;
}
.catalog-flag-spain {
  display: block;
  position: relative;
  overflow: hidden;
  width: 32px;
  height: 24px;
  flex: none;
  border-radius: 3.63px;
}
.catalog-flag-spain > img {
  position: absolute;
  max-width: none;
  width: 965.17%;
  height: 2652.86%;
  left: -51.69%;
  top: -210%;
}
.catalog-flag.is-large {
  width: 32px;
  height: 24px;
  background: none;
}
.catalog-country-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 0;
}
.catalog-country-copy b {
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.catalog-country-copy small {
  font-size: 10px;
  line-height: 17px;
  color: #cbc0ad;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.catalog-country-row > img {
  flex: none;
}
.catalog-country-covers {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 112px;
  height: 60px;
  flex: none;
  overflow: hidden;
  border-radius: 4px;
}
.catalog-country-covers img {
  display: block;
  width: 36px;
  height: 60px;
  object-fit: cover;
  border-radius: 2px;
}
.catalog-collection-tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}
.catalog-collection-tile {
  display: block;
  position: relative;
  min-width: 0;
  height: 196px;
  overflow: hidden;
  text-align: left;
  isolation: isolate;
}
.catalog-collection-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
  z-index: -1;
}
.catalog-collection-tile > span:not(.catalog-art) {
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: 11px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.catalog-collection-tile b {
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.catalog-collection-tile::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 50% 0 0;
  background: linear-gradient(transparent, #0b0e11);
}
.catalog-art {
  position: absolute;
  left: 0;
  top: 0;
  width: 168px;
  height: 196px;
  overflow: hidden;
  z-index: -1;
}
.catalog-art-main,
.catalog-art-detail {
  position: absolute;
  overflow: hidden;
}
.catalog-art--cities .catalog-art-main,
.catalog-art--evening .catalog-art-main {
  left: 0;
  top: 0;
  width: 168px;
  height: 139px;
}
.catalog-art--cities .catalog-art-main img,
.catalog-art--evening .catalog-art-main img {
  position: absolute;
  width: 231.54%;
  height: 631.63%;
  left: -12.67%;
  top: -263.95%;
  max-width: none;
}
.catalog-art--evening .catalog-art-main img {
  left: -118.87%;
}
.catalog-art--cities .catalog-art-detail,
.catalog-art--evening .catalog-art-detail {
  left: 114px;
  top: 139px;
  width: 55px;
  height: 57px;
}
.catalog-art--cities .catalog-art-detail img,
.catalog-art--evening .catalog-art-detail img {
  position: absolute;
  width: 709.92%;
  height: 1573.73%;
  left: -245.45%;
  top: -906.78%;
  max-width: none;
}
.catalog-art--evening .catalog-art-detail img {
  left: -571.07%;
}
.catalog-art--cities > i,
.catalog-art--evening > i {
  position: absolute;
  left: 0;
  right: 0;
  top: 109px;
  height: 87px;
  background: linear-gradient(transparent, #0b0e11);
}
.catalog-collection-tile.is-compact {
  height: 124px;
}
.catalog-collection-tile.is-compact > span:not(.catalog-art) {
  top: 11px;
  bottom: auto;
}
.catalog-collection-tile.is-compact b {
  font-size: 14px;
  line-height: 20px;
}
.catalog-art--spain,
.catalog-art--barcelona {
  height: 124px;
}
.catalog-art--spain .catalog-art-detail {
  left: 107px;
  top: 0;
  width: 61px;
  height: 58px;
}
.catalog-art--spain .catalog-art-detail img {
  position: absolute;
  width: 609.22%;
  height: 1450.78%;
  left: -207.8%;
  top: -1086.72%;
  max-width: none;
}
.catalog-art--spain .catalog-art-main {
  left: 0;
  top: 58px;
  width: 168px;
  height: 66px;
}
.catalog-art--spain .catalog-art-main img {
  position: absolute;
  width: 220.82%;
  height: 1298.6%;
  left: -11.57%;
  top: -1062.24%;
  max-width: none;
}
.catalog-art--barcelona .catalog-art-detail {
  left: 116px;
  top: 0;
  width: 52px;
  height: 45px;
}
.catalog-art--barcelona .catalog-art-detail img {
  position: absolute;
  width: 734.19%;
  height: 1875.76%;
  left: -609.4%;
  top: -1405.05%;
  max-width: none;
}
.catalog-art--barcelona .catalog-art-main {
  left: 0;
  top: 45px;
  width: 168px;
  height: 79px;
}
.catalog-art--barcelona .catalog-art-main img {
  position: absolute;
  width: 227.85%;
  height: 1079.65%;
  left: -120.16%;
  top: -866.28%;
  max-width: none;
}
.catalog-collection-row {
  display: flex;
  gap: 12px;
  align-items: center;
  text-align: left;
  min-height: 76px;
  padding: 8px 0 !important;
  border-bottom: 1px solid #353637 !important;
}
.catalog-collection-thumb {
  position: relative;
  width: 84px;
  height: 60px;
  overflow: hidden;
  flex: none;
  border-radius: 4px;
  isolation: isolate;
  background: #202121;
}
.catalog-collection-thumb > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.catalog-collection-thumb .catalog-art {
  transform: scale(0.5);
  transform-origin: top left;
}
.catalog-collection-row > span:not(.catalog-collection-thumb) {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
}
.catalog-collection-row b {
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
}
.catalog-collection-row > img {
  flex: none;
}
.catalog-simple-header {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 40px;
  margin: 20px 21px 0;
}
.catalog-simple-header > button {
  display: grid;
  place-items: center;
  width: 24px;
  height: 40px;
  flex: none;
}
.space-catalog-screen.is-search > .catalog-search-field {
  margin: 12px 21px 0;
}
.catalog-country-header {
  padding: 20px 21px 0;
}
.catalog-country-header > button {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 24px;
  color: #cbc0ad;
  font-weight: 300;
}
.catalog-country-header h1 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  min-height: 32px;
}
.catalog-country-header p {
  margin-top: 12px;
  min-height: 40px;
  font-size: 14px;
  line-height: 20px;
}
.catalog-author-row {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  width: 100%;
  min-height: 80px;
  padding: 8px 0 !important;
}
.catalog-author-row .catalog-portrait {
  width: 64px;
  height: 64px;
  border-radius: 50%;
}
.catalog-author-row > span:not(.catalog-portrait) {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 0;
}
.catalog-author-row b {
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
}
.catalog-author-row > img {
  flex: none;
}
.catalog-book-row {
  position: relative;
  min-height: 120px;
  border-bottom: 1px solid #353637;
}
.catalog-book-row-open {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  width: 100%;
  text-align: left;
  min-height: 120px;
  padding: 16px 0 !important;
}
.space-catalog-screen .catalog-book-row .book-cover {
  width: 64px;
  height: 84px;
  flex: none;
  border-radius: 4px;
  margin-top: 2px;
}
.catalog-book-row-open > span:not(.book-cover) {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  padding-bottom: 32px;
  flex: 1;
}
.catalog-book-row b {
  display: block;
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
  max-width: 190px;
  overflow-wrap: anywhere;
}
.catalog-book-row small {
  display: block;
  max-width: 190px;
}
.space-catalog-screen .catalog-add {
  position: absolute;
  right: 8px;
  bottom: 18px;
  min-width: 114px;
  max-width: 160px;
  height: 27px;
  padding: 0 12px;
  border: 1px solid #2b2b2a;
  border-radius: 999px;
  background: #111210;
  color: #fafaf7;
  font-size: 10px;
  line-height: 16px;
  font-weight: 300;
}
.catalog-empty {
  padding: 10px 0;
  color: #cbc0ad;
  font-size: 12px;
  line-height: 18px;
}
.catalog-empty button {
  display: block;
  text-decoration: underline;
  margin-top: 12px;
}
.catalog-load-more {
  display: block;
  align-self: center;
  min-height: 40px;
  padding: 10px 20px !important;
  border: 1px solid #353637 !important;
  border-radius: 20px;
  font-size: 12px !important;
}
.catalog-feedback {
  position: fixed;
  left: 21px;
  right: 21px;
  bottom: 110px;
  z-index: 15;
  padding: 12px 16px;
  background: #202121;
  border: 1px solid #353637;
  border-radius: 14px;
  font-size: 12px;
  line-height: 18px;
}
@media (prefers-reduced-motion: no-preference) {
  .space-catalog-screen button:active {
    opacity: 0.75;
  }
  .catalog-tabs button::after {
    transition: opacity 160ms ease;
  }
}
