/*
 * FaniMani Redesign — Base Styles
 * ═══════════════════════════════════════════════════════════════════════════
 * Załaduj ten plik JAKO PIERWSZY — przed redesign-components.css i plikami sekcji.
 *
 * Zawiera:
 *   - @font-face dla DMSans i Parkinsans
 *   - CSS custom properties (tokeny kolorów, fontów)
 *   - Globalny reset (box-sizing, margin/padding, font defaults)
 *
 * UWAGA: Ścieżki fontów zakładają strukturę:
 *          static/css/shared/redesign-base.css
 *          static/assets/homepage_gr/fonts/DMSans-*.ttf
 *          static/assets/homepage_gr/fonts/Parkinsans-*.ttf
 *        Dostosuj jeśli Twoja struktura jest inna.
 */

/* ── DMSans @font-face ───────────────────────────────────────────────────── */

@font-face {
  font-family: 'DMSans';
  src: url(../../../assets/homepage_gr/fonts/DMSans-Regular.ttf) format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'DMSans';
  src: url(../../../assets/homepage_gr/fonts/DMSans-Medium.ttf) format('truetype');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'DMSans';
  src: url(../../../assets/homepage_gr/fonts/DMSans-Bold.ttf) format('truetype');
  font-weight: 700;
  font-style: normal;
}

/* ── Parkinsans @font-face ───────────────────────────────────────────────── */

@font-face {
  font-family: 'Parkinsans';
  src: url(../../../assets/homepage_gr/fonts/Parkinsans-Light.ttf) format('truetype');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Parkinsans';
  src: url(../../../assets/homepage_gr/fonts/Parkinsans-Regular.ttf) format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Parkinsans';
  src: url(../../../assets/homepage_gr/fonts/Parkinsans-Medium.ttf) format('truetype');
  font-weight: 500;
  font-style: normal;
}

/* ── Design tokens ───────────────────────────────────────────────────────── */

:root {
  /* Fonty */
  --font-primary:   'DMSans', 'Helvetica Neue', Arial, sans-serif;
  --font-secondary: 'Parkinsans', 'Helvetica Neue', Arial, sans-serif;

  /* Kolory */
  --color-black:         #020408;
  --color-night:         #22252a;
  --color-night-hover:   #333841;
  --color-primary:       #e40148;
  --color-primary-hover: #bc013b;
  --color-tertiary:      #004246;
  --color-white:         #ffffff;
  --color-seasalt:       #f8f9fb;
  --color-platinum:      #dfe1e6;
  --color-quaternary:    #bad6f3;
  --color-alert-green:   #0daa76;
  --color-cadet-gray:    #9096a3;
}

/* ── Global reset ────────────────────────────────────────────────────────── */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  font-variant-numeric: lining-nums;
  color: var(--color-night);
  font-family: var(--font-primary);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 22.4px;
}

img {
  max-width: 100%;
  display: block;
}

button {
  border: none;
  background-color: transparent;
  font-variant-numeric: lining-nums;
  cursor: pointer;
}

button:disabled {
  opacity: 0.35;
  cursor: default;
}

fieldset {
  border: none;
}

a {
  all: unset;
  cursor: pointer;
  color: var(--color-night);
  font-family: var(--font-primary);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

/*
 * FaniMani Redesign — Shared Reusable Components
 * ═══════════════════════════════════════════════════════════════════════════
 * Wymaga: redesign-base.css (CSS custom properties)
 *
 * Załaduj globalnie (np. w base.html lub via pipeline bundle) żeby każda
 * strona mogła korzystać z tych komponentów bez ich ponownego definiowania.
 *
 * Komponenty:
 *   .btn               — przycisk (wszystkie warianty i rozmiary)
 *   .tag-chip          — chip kategorii / tagu
 *   .beneficiary-tile  — kafelek organizacji/beneficjenta
 *   .shop-tile         — kafelek sklepu
 *   .testimonial-tile  — kafelek opinii
 *   .blog-tile         — kafelek posta blogowego
 *   .supporter-badge   — odznaka aktywności wspierającego
 *   .store-btn         — przycisk App Store / Google Play
 *   .carousel-btn      — przycisk nawigacji karuzeli
 *   .redesign-pagination — nawigacja paginacji
 */

/* ─── Button ─────────────────────────────────────────────────────────────── */

.btn {
  position: relative;
  min-width: 80px;
  width: fit-content;
  border: 1px solid transparent;
  outline: none;
  white-space: nowrap;
  padding: 0 20px;
  border-radius: 20px;
  text-transform: uppercase;
  transition:
    background-color 0.2s ease-in-out,
    border-color 0.2s ease-in-out,
    color 0.2s ease-in-out;
  cursor: pointer;
  text-decoration: none;
  font-family: var(--font-primary);
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 19.6px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

/* Rozmiary */
.btn--regular { height: 40px; }
.btn--small   { height: 36px; }
.btn--mini    { height: 26px; }

/* Warianty */
.btn--primary {
  color: var(--color-white);
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn--primary:hover:not([disabled]) {
  background-color: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
}

.btn--secondary {
  color: var(--color-white);
  background-color: var(--color-night);
  border-color: var(--color-night);
}
.btn--secondary:hover:not([disabled]) {
  background-color: var(--color-night-hover);
  border-color: var(--color-night-hover);
}

.btn--outline {
  color: var(--color-night);
  background-color: transparent;
  border-color: var(--color-night);
}
.btn--outline:hover:not([disabled]):not(.btn--active) {
  background-color: rgba(34, 37, 42, 0.06);
}
.btn--outline.btn--active {
  background-color: rgba(34, 37, 42, 0.1);
}

.btn--outline-white {
  color: var(--color-white);
  background-color: transparent;
  border-color: var(--color-white);
}
.btn--outline-white:hover:not([disabled]):not(.btn--active) {
  background-color: rgba(255, 255, 255, 0.1);
}
.btn--outline-white.btn--active {
  background-color: rgba(255, 255, 255, 0.16);
}

.btn[disabled] {
  cursor: default;
  pointer-events: none;
  opacity: 0.6;
}

/* ─── Tag Chip ───────────────────────────────────────────────────────────── */

.tag-chip {
  display: inline-flex;
  align-items: center;
  height: 24px;
  border-radius: 20px;
  border: none;
  padding: 3px 13px;
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 13px;
  line-height: normal;
  white-space: nowrap;
  cursor: default;
  background-color: rgba(13, 170, 118, 0.15);
  color: var(--color-alert-green);
}

.tag-chip--clickable {
  background-color: transparent;
  border: 1px solid var(--color-night);
  color: var(--color-night);
  cursor: pointer;
}

a.tag-chip--clickable {
  text-decoration: none;
}

.tag-chip--clickable:hover {
  background-color: #f8f9fb;
}

.tag-chip--clickable:focus-visible {
  outline: 2px solid #e40148;
  outline-offset: 2px;
}

.tag-chip--with-icon {
  gap: 4px;
}

.tag-chip__icon {
  flex-shrink: 0;
  width: 13px;
  height: 13px;
}

/* ─── Beneficiary Tile ───────────────────────────────────────────────────── */

.beneficiary-tile {
  box-sizing: border-box;
  position: relative;
  background-color: var(--color-white);
  border: 8px solid var(--color-seasalt);
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 384px;
  max-width: 384px;
  text-align: left;
  color: inherit;
  text-decoration: none;
}

.beneficiary-tile .tag-chip {
  align-self: flex-end;
  max-width: 100%;
}

.beneficiary-tile--clickable {
  cursor: pointer;
  transition: box-shadow 0.2s ease;
}
.beneficiary-tile--clickable:hover {
  box-shadow: 0 2px 25px 0 rgba(58, 82, 129, 0.21);
}

.beneficiary-tile__tag {
  position: absolute;
  top: 16px;
  right: 16px;
}

.beneficiary-tile__logo-wrapper {
  padding-bottom: 4px;
  min-height: 60px;
  display: flex;
  align-items: flex-start;
}

.beneficiary-tile__logo-wrapper img {
  max-height: 100px;
  max-width: 171px;
  object-fit: contain;
  object-position: left center;
}

.beneficiary-tile__logo-placeholder {
  width: 80px;
  height: 60px;
  background-color: var(--color-seasalt);
  border-radius: 8px;
  flex-shrink: 0;
}

.beneficiary-tile__name {
  font-family: var(--font-secondary);
  font-size: 16px;
  font-weight: 500;
  line-height: 22.4px;
  color: var(--color-night);
  width: 100%;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}

.beneficiary-tile__address {
  font-size: 12px;
  font-weight: 400;
  line-height: 16.8px;
  color: var(--color-black);
  width: 100%;
}

@media only screen and (max-width: 991px) {
  .beneficiary-tile {
    min-width: min(588px, calc(100vw - 48px));
    max-width: min(588px, calc(100vw - 48px));
    padding: 40px 24px 32px;
  }
  .beneficiary-tile__logo-wrapper img {
    max-height: 90px;
    max-width: 154px;
  }
  .beneficiary-tile__name {
    font-size: 14px;
    line-height: 19.6px;
  }
}

/* ─── Shop Tile ──────────────────────────────────────────────────────────── */

.shop-tile {
  box-sizing: border-box;
  padding: 24px;
  background-color: var(--color-white);
  border: 8px solid var(--color-seasalt);
  border-radius: 20px;
  max-width: 384px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.shop-tile--clickable {
  cursor: pointer;
  text-decoration: none;
  transition: box-shadow 0.2s ease;
}
.shop-tile--clickable:hover {
  box-shadow: 0 2px 25px 0 rgba(58, 82, 129, 0.21);
}

.shop-tile__logo-wrapper {
  padding-bottom: 4px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.shop-tile__logo {
  width: 137px;
  height: 80px;
  object-fit: contain;
}

.shop-tile__info {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.shop-tile__name {
  font-family: var(--font-secondary);
  font-size: 16px;
  font-weight: 500;
  line-height: 22.4px;
  color: var(--color-night);
  margin: 0;
  min-width: 0;
  overflow-wrap: break-word;
  grid-column: 1;
}

.shop-tile__support {
  padding-top: 4px;
  grid-column: 2;
  font-size: 12px;
  font-weight: 400;
  line-height: 16.8px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 4px;
}

.shop-tile__support-label {
  font-family: var(--font-primary);
  font-weight: 400;
  color: var(--color-black);
  white-space: nowrap;
}

.shop-tile__support-value {
  font-family: var(--font-primary);
  font-weight: 700;
  color: var(--color-primary);
  white-space: nowrap;
}

@media only screen and (max-width: 991px) {
  .shop-tile__logo {
    width: 103px;
    height: 60px;
  }
}

/* ─── Testimonial Tile ───────────────────────────────────────────────────── */

.testimonial-tile {
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-sizing: border-box;
  padding: 24px;
  width: 333px;
  min-height: 284px;
  background-color: var(--color-white);
  border: 8px solid var(--color-seasalt);
  border-radius: 20px;
}

.testimonial-tile--medium { width: 440px; }
.testimonial-tile--wide   { width: 560px; }
.testimonial-tile--wider  { width: 680px; }

.testimonial-tile__quote-sign {
  display: block;
  font-size: 80px;
  font-family: var(--font-secondary);
  font-weight: 400;
  line-height: 0.8;
  color: var(--color-quaternary);
  max-height: 40px;
}

.testimonial-tile__quote {
  font-family: var(--font-secondary);
  font-size: 14px;
  font-weight: 400;
  line-height: 19.6px;
  color: var(--color-night);
  margin: 0;
  overflow-wrap: anywhere;
}

.testimonial-tile__author {
  margin-top: auto;
  padding-top: 16px;
  display: flex;
  align-items: center;
}

.testimonial-tile__author-info {
  flex: 1;
  padding-right: 24px;
  font-family: var(--font-primary);
  font-size: 12px;
  font-weight: 400;
  line-height: 16.8px;
  color: var(--color-black);
}

.testimonial-tile__author-info p { margin: 0; }

.testimonial-tile__author-name { font-weight: 700; }

.testimonial-tile__org-logo {
  width: 82px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
}

/* ─── Blog Tile ──────────────────────────────────────────────────────────── */

.blog-tile {
  max-width: 384px;
  max-height: 590px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.blog-tile__image-wrapper {
  flex-shrink: 0;
  border-radius: 20px;
  overflow: hidden;
}

.blog-tile__image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 20px;
}

.blog-tile__tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-bottom: 8px;
}

.blog-tile__content {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.blog-tile__title {
  font-family: var(--font-secondary);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--color-night);
  margin: 0;
}

.blog-tile__description {
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--color-black);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}

@media only screen and (max-width: 991px) {
  .blog-tile {
    width: calc(100vw - 52px);
    max-width: 384px;
  }
}

/* ─── Supporter Badge ────────────────────────────────────────────────────── */

.supporter-badge {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 5px 13px;
  border: 1px solid var(--color-platinum);
  border-radius: 29px;
  width: fit-content;
}

.supporter-badge__text {
  font-family: var(--font-primary);
  font-size: 12px;
  font-weight: 400;
  line-height: 16.8px;
  color: var(--color-night);
  white-space: nowrap;
  margin: 0;
}

.supporter-badge__name   { font-weight: 700; }
.supporter-badge__amount { font-weight: 700; color: var(--color-primary); }

/* ─── Store Button (App Store / Google Play) ─────────────────────────────── */

.store-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-flow: row nowrap;
  gap: 4px;
  height: 48px;
  width: 175px;
  border-radius: 24px;
  background-color: var(--color-night);
  color: var(--color-white);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
}

.store-btn:hover { background-color: var(--color-night-hover); }

.store-btn__icon {
  width: auto;
  height: 28px;
  flex-shrink: 0;
}

.store-btn__text {
  min-width: 88px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.store-btn__label {
  font-family: var(--font-primary);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.2;
}

.store-btn__store-name {
  font-size: 16px;
  font-weight: 500;
  line-height: 22.4px;
}

/* ─── Carousel nav button ────────────────────────────────────────────────── */

.carousel-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--color-night);
  background: transparent;
  cursor: pointer;
  transition: background-color 0.15s;
  padding: 0;
}

.carousel-btn:hover:not(:disabled) { background-color: var(--color-seasalt); }

.carousel-btn img { display: block; }

.carousel-btn--chevron-left  img { transform: rotate(90deg); }
.carousel-btn--chevron-right img { transform: rotate(-90deg); }

/* ─── Pagination ─────────────────────────────────────────────────────────── */

.redesign-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.redesign-pagination__item {}

.redesign-pagination__link {
  appearance: none;
  background: none;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  width: fit-content;
  height: 24px;
  padding: 0 4px;
  border-radius: 5px;
  font-family: 'DMSans', 'Helvetica Neue', Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 19.6px;
  color: #9096a3;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.redesign-pagination__link:hover:not(.redesign-pagination__link--active) {
  background-color: #f8f9fb;
}

.redesign-pagination__link--active {
  background-color: rgba(13, 170, 118, 0.15);
  color: #0daa76;
  cursor: default;
}

.redesign-pagination__arrow {
  appearance: none;
  background: none;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 5px;
  color: #9096a3;
  cursor: pointer;
  flex-shrink: 0;
  margin: 0 16px;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.redesign-pagination__arrow:hover:not(:disabled) {
  color: #22252a;
  background-color: #f8f9fb;
}

.redesign-pagination__arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

.redesign-pagination__dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: #9096a3;
  font-family: 'DMSans', 'Helvetica Neue', Arial, sans-serif;
  font-size: 14px;
  line-height: 19.6px;
  user-select: none;
}

/* ─── Tag Chip — dodatkowe warianty ─────────────────────────────────────── */

.tag-chip--selected {
  background-color: #0daa76;
  color: #ffffff;
  padding-left: 5px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 1px;
}

.tag-chip--deletable {
  background-color: #0daa76;
  color: #ffffff;
  padding-left: 12px;
  padding-right: 5px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.tag-chip--deletable .tag-chip__label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.tag-chip--deletable .tag-chip__delete-btn {
  appearance: none;
  width: 24px;
  height: 24px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.tag-chip--deletable .tag-chip__delete-btn:focus-visible {
  outline: 2px solid #e40148;
  outline-offset: 2px;
}

/* ─── Search Input ───────────────────────────────────────────────────────── */
/* Przeniesione z beneficiary_search_gr/css/hero-section.css                 */

.search-input {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.search-input__field {
  width: 100%;
  border: 1px solid #dfe1e6;
  border-radius: 20px;
  height: 40px;
  padding: 0 40px 0 16px;
  font-family: 'DMSans', 'Helvetica Neue', Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 19.6px;
  color: #020408;
  background-color: #ffffff;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.search-input__field::-webkit-search-cancel-button {
  display: none;
}

.search-input__field:focus {
  border: 2px solid #e40148;
}

.search-input__field::placeholder {
  color: #22252a;
}

.search-input__field--with-icon {
  padding-left: 44px;
}

.search-input__icon {
  position: absolute;
  left: 12px;
  display: flex;
  align-items: center;
  color: #22252a;
  pointer-events: none;
  flex-shrink: 0;
}

.search-input__clear {
  position: absolute;
  right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  color: #9096a3;
  transition: color 0.15s;
}

.search-input__clear:hover {
  color: #22252a;
}

.search-input__clear--hidden {
  display: none;
}

/* ─── Deal Tile ──────────────────────────────────────────────────────────── */
/* Przeniesione z shop_detail_gr/css/deals-section.css                       */

.deal-tile {
  border: 8px solid #f8f9fb;
  border-radius: 20px;
  box-sizing: border-box;
}

.deal-tile--small,
.deal-tile--card {
  padding: 24px;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-flow: column nowrap;
  gap: 8px;
}

.deal-tile--small { max-width: 386px; }
.deal-tile--card  { max-width: 588px; }

@media only screen and (max-width: 991px) {
  .deal-tile--small,
  .deal-tile--card {
    width: min(588px, calc(100vw - 48px));
  }
}

.deal-tile--row {
  padding: 16px 24px;
  max-width: 1200px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-flow: row nowrap;
  gap: 8px;
}

@media only screen and (max-width: 991px) {
  .deal-tile--row {
    padding: 24px;
    flex-flow: column nowrap;
    align-items: flex-start;
  }
}

.deal-tile__header {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-flow: row nowrap;
}

.deal-tile__logo {
  width: 137px;
  height: 80px;
  object-fit: contain;
  display: block;
}

.deal-tile__content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.deal-tile__title {
  font-family: 'Parkinsans', Helvetica Neue, Arial;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.4;
  color: #22252a;
  margin: 0;
}

/* flex: 1 only in row variant */
.deal-tile--row .deal-tile__title {
  flex: 1;
}

.deal-tile__description-row {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-flow: row nowrap;
  gap: 8px;
}

.deal-tile__description {
  font-family: 'DMSans', Helvetica Neue, Arial;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.2;
  color: #22252a;
  margin: 0;
}

.deal-tile__promoted {
  font-family: 'DMSans', Helvetica Neue, Arial;
  font-weight: 500;
  font-size: 13px;
  line-height: normal;
  color: #e40148;
  white-space: nowrap;
}

.deal-tile__date-range {
  font-family: 'DMSans', Helvetica Neue, Arial;
  font-weight: 400;
  font-size: 12px;
  line-height: 1.2;
  color: #9096a3;
  margin: 0;
}

/* card: date-range positioned top-right inside header */
.deal-tile--card .deal-tile__date-range {
  position: absolute;
  right: 0;
  top: -5px;
  text-align: right;
  max-width: 239px;
}

/* row: date-range inline, larger, right-aligned */
.deal-tile--row .deal-tile__date-range {
  font-size: 14px;
  color: #22252a;
  text-align: right;
  flex-shrink: 0;
}

/* row: button layout — desktop shows inline, mobile shows in top row */
.deal-tile--row .deal-tile__btn-desktop {
  flex-shrink: 0;
  margin-left: 40px;
}

.deal-tile--row .deal-tile__btn-mobile {
  display: none;
}

@media only screen and (max-width: 991px) {
  .deal-tile--row .deal-tile__btn-desktop { display: none; }
  .deal-tile--row .deal-tile__btn-mobile  { display: block; }

  .deal-tile--row .deal-tile__description-row { display: none; }
}

/* ─── Deal Modal ─────────────────────────────────────────────────────────── */
/* Przeniesione z shop_detail_gr/css/deals-section.css                       */

.deal-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.deal-modal-overlay[hidden] {
  display: none;
}

.deal-modal {
  background: #ffffff;
  border-radius: 20px;
  padding: 48px 32px 40px;
  max-width: 480px;
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 2px 25px 0 rgba(58, 82, 129, 0.21);
}

.deal-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: #22252a;
  line-height: 0;
  border-radius: 4px;
}

.deal-modal__close:hover { opacity: 0.7; }

.deal-modal__logo {
  height: 80px;
  max-width: 137px;
  object-fit: contain;
  margin-bottom: 24px;
}

.deal-modal__title {
  margin: 0 0 16px;
  font-family: 'Parkinsans', Helvetica Neue, Arial;
  font-weight: 400;
  font-size: 28px;
  line-height: 33.6px;
  color: #22252a;
  text-align: center;
}

.deal-modal__description {
  margin: 0 0 40px;
  font-family: 'DMSans', Helvetica Neue, Arial;
  font-size: 14px;
  line-height: 1.2;
  color: #22252a;
  text-align: center;
}

.deal-modal__description[hidden] { display: none; }

.deal-modal__code-box {
  margin-bottom: 24px;
  border: 1px solid #dfe1e6;
  border-radius: 20px;
  padding: 8px 16px 8px 40px;
  width: 326px;
  max-width: 100%;
  background: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-flow: row nowrap;
  gap: 8px;
}

.deal-modal__code-box[hidden] { display: none; }

@media only screen and (max-width: 991px) {
  .deal-modal__code-box {
    width: 100%;
    padding: 8px 16px;
  }
}

.deal-modal__code-text {
  font-family: 'Parkinsans', Helvetica Neue, Arial;
  font-size: 16px;
  font-weight: 500;
  line-height: 22.4px;
  letter-spacing: 2px;
  color: #22252a;
  text-align: center;
  flex: 1;
}

.deal-modal__copy-btn {
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #22252a;
}

.deal-modal__copy-btn:hover { opacity: 0.7; }

.deal-modal__cta { margin-top: 0; }

/* ─── Compact Select (sort dropdown) ────────────────────────────────────── */

.redesign-compact-select {
  display: block;
  width: fit-content;
  position: relative;
}

.redesign-compact-select__trigger {
  appearance: none;
  background: none;
  border: 1px solid transparent;
  border-radius: 20px;
  height: 24px;
  padding: 0 4px 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'DMSans', 'Helvetica Neue', Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 19.6px;
  color: #22252a;
  cursor: pointer;
  white-space: nowrap;
}

.redesign-compact-select__trigger:hover {
  background-color: #f8f9fb;
}

.redesign-compact-select__label {
  white-space: nowrap;
  overflow: hidden;
  min-width: 0;
}

.redesign-compact-select__chevron {
  transition: transform 0.2s ease;
  flex-shrink: 0;
  opacity: 0.6;
}

.redesign-compact-select--open .redesign-compact-select__chevron {
  transform: rotate(180deg);
}

.redesign-compact-select__panel {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  z-index: 99;
  min-width: 100%;
  background-color: #ffffff;
  border: 1px solid #e40148;
  border-radius: 5px;
  box-shadow: 0 0 30px -5px rgba(0, 23, 92, 0.3);
  padding: 4px 0;
}

.redesign-compact-select--open .redesign-compact-select__panel {
  display: block;
}

.redesign-compact-select__option {
  appearance: none;
  background: none;
  border: none;
  width: 100%;
  padding: 8px 16px;
  text-align: left;
  font-family: 'DMSans', 'Helvetica Neue', Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 22.4px;
  color: #22252a;
  cursor: pointer;
  white-space: nowrap;
}

.redesign-compact-select__option:hover {
  background-color: #f8f9fb;
}

.redesign-compact-select__option--selected {
  color: #0daa76;
  font-weight: 500;
}

.global-section{
    background-color: var(--color-white);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: column nowrap;
    gap: 24px;
}

.global-section__container{
    width: 100%;
    max-width: 1200px;
    padding: 40px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

@media only screen and (max-width: 991px){
    .global-section__container{
        padding: 24px 16px;
    }
}

.global-section__heading {
    font-family: var(--font-secondary);
    font-size: 40px;
    font-weight: 400;
    line-height: 48px;
    letter-spacing: -1px;
    color: var(--color-night);
    text-align: center;
    margin: 0;
}

.global-section__heading_small {
    font-family: var(--font-secondary);
    font-size: 28px;
    font-weight: 400;
    line-height: 33.6px;
    color: var(--color-night);
    margin: 0;
    max-width: 720px;
    text-align: center;
}

.global-section__twocolumns {
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    flex-flow: row wrap;
    gap: 24px;
}

.global-section__twocolumns__column{
    flex: 1;
    background-color: var(--color-white);
    max-width: 50%;
    width:100%;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-flow: row wrap;
    position: relative;
    overflow: visible;
}
@media only screen and (max-width: 991px) {
  
    .global-section__twocolumns {
        flex-direction: column;
    }

    .global-section__twocolumns__column {
        width: 100%;
        max-width: 100%;
    }
}

.global-section__twocolumns__column__centered{
    justify-content: center;
}

.global-section-steps {
  height: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-flow: row nowrap;
  gap: 0;
}

.global-section-steps.global-section-steps__vertical {
  flex-flow: column nowrap;
  gap: 26px;
}

.global-section-steps__step {
  max-width: 286px;
  height: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-flow: column nowrap;
  gap: 26px;
}

.global-section-steps__vertical .global-section-steps__step {
  max-width: 450px;
  height: auto;
}

.global-section-steps__step-number {
  font-family: var(--font-secondary);
  font-size: 28px;
  font-weight: 400;
  line-height: 33.6px;
}

.global-section-steps__step-text {
  font-family: var(--font-secondary);
  font-size: 16px;
  color: var(--color-night);
  text-align: center;
}

.global-section-steps__step-text p,
.global-section-steps__step-text strong { font-family: var(--font-secondary); }
.global-section-steps__step-text strong { font-weight: 500; }

.global-section-steps__step-text strong.color-red{
  color: var(--color-primary);
}

.global-section-box{
  text-align: center;
  border-radius: 20px;
  padding: 64px 120px;
  width: 100%;
  max-width: 1200px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-flow: column nowrap;
  gap: 26px;
}

@media only screen and (max-width: 991px) {
    .global-section-box {
        padding: 40px 24px;
    }
}

.global-section-box__background__blue{
  background-color: #f4faff;
}

.blogal-section-box__subtitle{
    margin: 0;
    font-family: 'Parkinsans', 'Helvetica Neue', Arial, sans-serif;
    color: #22252a;
    font-size: 28px;
    font-style: normal;
    font-weight: 400;
    line-height: 33.6px;
}

.global-section__twocolumns__arrow{
  position: absolute;
  top: calc(50% - 75px);
  right: -75px;
}

.global-section__twocolumns__arrow.global-section__twocolumns__arrow__left{
  transform: scale(-1, 1);
}

@media only screen and (max-width: 991px) {
  .global-section__twocolumns__arrow{
    display: none;
  }
}

.revive-img{
  max-width: 100%;
  height: auto;
}
/*
 * FaniMani Redesign — Header & Footer
 * ═══════════════════════════════════════════════════════════════════════════
 * Styles for .site-header and .site-footer components.
 * Requires: redesign-base.css (CSS custom properties must be loaded first)
 *
 * Breakpoints used:
 *   ≤ 1270px  (screen-lg-minus)  — hamburger header, mobile layout
 *   ≤ 1099px  (screen-md-minus)  — footer nav gap reduction
 *   ≤  991px  (screen-sm-minus)  — footer single-column layout
 */

/* ═══════════════════════════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════════════════════════ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 82px;
  padding: 0 32px;
  width: 100%;
  background-color: var(--color-white);
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-flow: row nowrap;
  gap: 40px;
}

@media only screen and (max-width: 1270px) {
  .site-header {
    height: 60px;
    padding: 0 16px;
    gap: 0;
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-areas: 'logo center toggle';
    align-items: center;
  }
}

@media only screen and (min-width: 1271px) and (max-width: 1365px){
  .site-header {
    gap: 20px;
  }
}

/* ── Logo ─────────────────────────────────────────────────────────────────── */

.site-header__logo-link {
  display: flex;
  align-items: center;
}

.site-header__logo {
  height: 40px;
  max-width: fit-content;
}

@media only screen and (max-width: 1270px) {
  .site-header__logo-link {
    grid-area: logo;
  }

  .site-header__logo {
    height: 30px;
  }
}

/* ── Desktop navigation ───────────────────────────────────────────────────── */

.site-header__navigation {
  width: max-content;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-flow: row nowrap;
  gap: normal;
}

@media only screen and (max-width: 1270px) {
  .site-header__navigation {
    display: none;
  }
}

.site-header__navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-flow: row nowrap;
  gap: 24px;
}

@media only screen and (min-width: 1271px) and (max-width: 1365px){
  .site-header__navigation ul{
    gap: 14px;
  }
}

.site-header__navigation a {
  color: var(--color-night);
  text-decoration: none;
  transition: color 0.2s ease-in-out;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 19.6px;
  display: flex;
  align-items: center;
  flex-flow: row nowrap;
  gap: 2px;
}

.site-header__navigation a:hover {
  color: var(--color-primary);
}

.site-header__navigation li.active a {
  color: var(--color-primary);
}

/* ── Desktop actions ──────────────────────────────────────────────────────── */

.site-header__actions {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-flow: row nowrap;
  gap: 12px;
}

@media only screen and (max-width: 1270px) {
  .site-header__actions {
    display: none;
  }
}

/* ── User button (authenticated state) ────────────────────────────────────── */

.site-header__user-menu {
  position: relative;
}

.site-header__user-button {
  height: 40px;
  padding: 0 8px 0 2px;
  border: 1px solid var(--color-night);
  border-radius: 20px;
  background-color: transparent;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
  display: flex;
  align-items: center;
  flex-flow: row nowrap;
  gap: 8px;
}

.site-header__user-button:hover {
  background-color: rgba(34, 37, 42, 0.06);
}

.site-header__user-avatar {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--color-night);
  color: var(--color-white);
  font-family: var(--font-secondary);
  font-size: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-flow: row nowrap;
}

.site-header__user-name {
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 19.6px;
  color: var(--color-night);
  white-space: nowrap;
}

/* ── User chevron ─────────────────────────────────────────────────────────── */

.site-header__user-chevron {
  transition: transform 0.2s ease-in-out;
}

.site-header__user-button[aria-expanded='true'] .site-header__user-chevron {
  transform: rotate(180deg);
}

/* ── User dropdown ────────────────────────────────────────────────────────── */

.site-header__user-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  left: auto;
  min-width: 180px;
  padding: 4px;
  background-color: var(--color-white);
  border: 1px solid rgba(34, 37, 42, 0.12);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(34, 37, 42, 0.12);
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
  z-index: 200;
}

.site-header__user-dropdown.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.site-header__user-dropdown form {
  margin: 0;
}

.site-header__user-dropdown-item {
  display: flex;
  align-items: center;
  gap: 8px;
  /*width: 100%;*/
  padding: 8px 12px;
  background: none;
  border: none;
  border-radius: 6px;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 19.6px;
  color: var(--color-night);
  transition: background-color 0.15s ease;
}

.site-header__user-dropdown-item img,
.site-header__user-dropdown-item svg {
  flex-shrink: 0;
  color: var(--color-cadet-gray);
}

.site-header__user-dropdown-item:hover {
  background-color: rgba(34, 37, 42, 0.06);
}

.site-header__user-dropdown-item.is-active {
  background-color: var(--color-night);
  color: var(--color-white);
  font-weight: 700;
  border-radius: 8px;
}

.site-header__user-dropdown-item.is-active img,
.site-header__user-dropdown-item.is-active svg {
  color: var(--color-white);
}

.site-header__user-dropdown-item.is-current {
  cursor: default;
}

.site-header__user-dropdown-item.is-current:hover {
  background-color: var(--color-night);
}

.site-header__user-dropdown-divider {
  height: 1px;
  margin: 4px 0;
  background-color: var(--color-platinum);
}

/* ── Mobile drawer: user accordion ────────────────────────────────────────── */

.site-header__user-accordion {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.site-header__user-accordion .site-header__user-button {
  width: 100%;
  justify-content: flex-start;
}

.site-header__user-accordion .site-header__user-name {
  flex: 1;
  text-align: left;
}

.site-header__user-accordion-items {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 20px;
}

.site-header__user-accordion-items[hidden] {
  display: none;
}

.site-header__user-accordion-items form {
  margin: 0;
}

.site-header__user-dropdown-item--accordion {
  padding: 12px 20px;
  border-radius: 0;
}

.site-header__user-dropdown-item--accordion:hover {
  border-radius: 0;
}

.site-header__user-dropdown-item--accordion.is-active {
  border-radius: 0;
}

/* ── Mobile: center text ──────────────────────────────────────────────────── */

.site-header__mobile-center {
  display: none;
}

@media only screen and (max-width: 1270px) {
  .site-header__mobile-center {
    grid-area: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: row nowrap;
  }

  .site-header__mobile-center strong {
    font-family: var(--font-secondary);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: -0.4px;
    color: var(--color-night);
    text-align: center;
    line-height: 1.3;
  }

  .site-header__mobile-center strong span {
    color: var(--color-primary);
    display: block;
  }
}

/* ── Mobile: hamburger toggle ─────────────────────────────────────────────── */

.site-header__mobile-toggle {
  display: none;
}

@media only screen and (max-width: 1270px) {
  .site-header__mobile-toggle {
    grid-area: toggle;
    display: flex;
    justify-content: center;
    align-items: center;
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    color: var(--color-night);
  }
}

/* ── Mobile: drawer ───────────────────────────────────────────────────────── */

.site-header__drawer {
  display: none;
}

@media only screen and (max-width: 1270px) {
  .site-header__drawer {
    display: block;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background-color: var(--color-white);
    box-shadow: 0 8px 16px rgba(34, 37, 42, 0.12);
    z-index: 99;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .site-header__drawer.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
    overflow: scroll;
    max-height: calc(100% - 60px);
    max-height: calc(100dvh - 60px);
  }
}

.site-header__drawer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-header__drawer-nav li a {
  display: flex;
  align-items: center;
  flex-flow: row nowrap;
  gap: 4px;
  padding: 16px 20px;
  color: var(--color-night);
  text-decoration: none;
  transition: color 0.15s ease-in-out;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 19.6px;
}

.site-header__drawer-nav li a:hover {
  color: var(--color-primary);
}

.site-header__drawer-nav li.active a {
  color: var(--color-primary);
  font-weight: 700;
}

.site-header__drawer-divider {
  height: 1px;
  background-color: rgba(34, 37, 42, 0.12);
  margin: 0;
}

.site-header__drawer-actions {
  padding: 16px 20px;
  display: flex;
  flex-flow: column nowrap;
  justify-content: flex-start;
  align-items: stretch;
  gap: 12px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════════════ */

.site-footer {
  background-color: var(--color-seasalt);
  display: flex;
  justify-content: center;
  flex-flow: row nowrap;
}

.site-footer__inner {
  padding-top: 65px;
  margin: 0 16px;
  width: 100%;
  max-width: 1200px;
}

@media only screen and (max-width: 991px) {
  .site-footer__inner {
    padding: 40px 0;
  }
}

/* ── Main body ────────────────────────────────────────────────────────────── */

.site-footer__main {
  padding-bottom: 56px;
  display: flex;
  justify-content: space-between;
  flex-flow: row nowrap;
  gap: 73px;
}

@media only screen and (max-width: 991px) {
  .site-footer__main {
    padding-bottom: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: column nowrap;
    gap: 32px;
  }
}

.site-footer__left {
  max-width: 400px;
  display: flex;
  justify-content: space-between;
  flex-flow: column nowrap;
  gap: 80px;
}

@media only screen and (max-width: 991px) {
  .site-footer__left {
    align-items: center;
    text-align: center;
  }
}

.site-footer__stats-heading {
  font-family: var(--font-secondary);
  color: var(--color-night);
  display: inline-block;
  font-size: 40px;
  font-style: normal;
  font-weight: 400;
  line-height: 48px;
  letter-spacing: -1px;
}

@media only screen and (max-width: 991px) {
  .site-footer__stats-heading {
    font-size: 28px;
    line-height: 33.6px;
  }
}

/* ── Store buttons (in footer context) ───────────────────────────────────── */

.site-footer__stores-label {
  color: var(--color-cadet-gray);
  display: block;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 16.8px;
}

.site-footer__browsers-row {
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  flex-flow: row nowrap;
  gap: 8px;
}

.site-footer__store-buttons {
  display: flex;
  align-items: center;
  flex-flow: row wrap;
  gap: 12px;
}

@media only screen and (max-width: 991px) {
  .site-footer__store-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: column nowrap;
    gap: 12px;
  }
}

/* ── Nav columns ──────────────────────────────────────────────────────────── */

.site-footer__nav-columns {
  flex-shrink: 0;
  display: flex;
  align-items: flex-start;
  flex-flow: row nowrap;
  gap: 60px;
}

@media only screen and (max-width: 1270px) {
  .site-footer__nav-columns {
    gap: 32px;
  }
}

@media only screen and (max-width: 1099px) {
  .site-footer__nav-columns {
    gap: 24px;
  }
}

@media only screen and (max-width: 991px) {
  .site-footer__nav-columns {
    display: flex;
    flex-wrap: wrap;
  }
}

.site-footer__nav-heading {
  font-family: var(--font-secondary);
  color: var(--color-night);
  margin: 0 0 20px;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 22.4px;
}

.site-footer__nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-flow: column nowrap;
  gap: 14px;
}

.site-footer__nav-link {
  color: var(--color-night);
  text-decoration: none;
  transition: color 0.2s ease-in-out;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 19.6px;
}

.site-footer__nav-link:hover {
  color: var(--color-primary);
}

/* ── Social icons ─────────────────────────────────────────────────────────── */

.site-footer__social {
  margin-top: 24px;
  display: flex;
  align-items: center;
  flex-flow: row nowrap;
  gap: 10px;
}

.site-footer__social-link {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-flow: row nowrap;
  transition: opacity 0.2s ease-in-out;
}

.site-footer__social-link:hover {
  opacity: 0.75;
}

/* ── Mobile-only social strip ─────────────────────────────────────────────── */

.site-footer__social-mobile {
  display: none;
}

@media only screen and (max-width: 991px) {
  .site-footer__social-mobile {
    padding-bottom: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: row nowrap;
  }

  .site-footer__social-mobile .site-footer__social {
    margin-top: 0;
  }
}

/* ── Bottom bar ───────────────────────────────────────────────────────────── */

.site-footer__bottom-bar {
  border-top: 1px solid var(--color-platinum);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-flow: row nowrap;
}

@media only screen and (max-width: 1099px) {
  .site-footer__bottom-bar {
    flex-wrap: wrap;
    gap: 16px;
  }
}

@media only screen and (max-width: 991px) {
  .site-footer__bottom-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: column nowrap;
    gap: 20px;
  }
}

.site-footer__brand {
  display: flex;
  align-items: center;
  flex-flow: row nowrap;
  gap: 24px;
}

@media only screen and (max-width: 991px) {
  .site-footer__brand {
    display: flex;
    align-items: center;
    flex-flow: column nowrap;
    gap: 8px;
  }
}

.site-footer__brand-logo {
  height: 36px;
  flex-shrink: 0;
}

.site-footer__opp-logo {
  height: 40px;
  flex-shrink: 0;
}

.site-footer__brand-info {
  display: flex;
  flex-flow: column nowrap;
  gap: 3px;
}

.site-footer__foundation-info {
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 19.6px;
}

.site-footer__brand-info span {
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 19.6px;
}

.site-footer__legal {
  display: flex;
  align-items: center;
  flex-flow: row nowrap;
  gap: 20px;
}

@media only screen and (max-width: 991px) {
  .site-footer__legal {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 20px;
  }
}

.site-footer__legal-link {
  color: var(--color-cadet-gray);
  text-decoration: none;
  transition: color 0.2s ease-in-out;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 19.6px;
}

.site-footer__legal-link:hover {
  color: var(--color-primary);
}
