:root {
  --color-background: #f0f0f2;
  --color-text: #000;
  --color-button: #1474fc;
  --color-exit-icon: #716f6f;
  --color-exit-icon-android: #b1b1b3;

  --banner-height: 5.25rem;
  --icon-size: 4rem;
  --icon-radius: 0.9375rem;
  --button-height: 2rem;
  --button-radius: 0.3125rem;
  --button-font-size: 0.875rem;
  --title-font-size: 0.875rem;
  --meta-font-size: 0.75rem;
}

.smartbanner {
  position: absolute;
  top: 0;
  left: 0;
  overflow-x: hidden;
  width: 100%;
  height: var(--banner-height);
  background: var(--color-background);
  display: flex;
  align-items: center;
}

.smartbanner__exit {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 0.25rem;
  width: 0.75rem;
  height: 0.75rem;
  border: 0;
  background: transparent;
  position: relative;
}

.smartbanner__exit::before,
.smartbanner__exit::after {
  position: absolute;
  width: 0.0625rem;
  height: 0.75rem;
  background: var(--color-exit-icon);
  content: " ";
}

.smartbanner__exit::before {
  transform: rotate(45deg);
}

.smartbanner__exit::after {
  transform: rotate(-45deg);
}

.smartbanner__icon {
  width: var(--icon-size);
  height: var(--icon-size);
  margin: 0 0.3125rem;
  border-radius: var(--icon-radius);
  background-size: cover;
}

.smartbanner__info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  min-width: 0;
  height: var(--icon-size);
  margin: 0 0.3125rem;
  color: var(--color-text);
  overflow: hidden;
}

.smartbanner__info__title {
  font-size: var(--title-font-size);
}

.smartbanner__info__author,
.smartbanner__info__price {
  font-size: var(--meta-font-size);
}

.smartbanner__button {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0.3125rem;
  padding: 0 0.5rem;
  min-width: 10%;
  height: var(--button-height);
  border-radius: var(--button-radius);
  background: none;
  color: var(--color-button);
  font-size: var(--button-font-size);
  font-weight: bold;
  text-align: center;
  text-decoration: none;
}

.smartbanner__button__label {
  text-align: center;
}

body.hide-smartbanner .smartbanner {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}

body.hide-smartbanner {
  margin-top: 0 !important;
}
