.site-footer.premium-footer {
  --footer-bg: #111b29;
  --footer-panel: #20344d;
  --footer-tile: #283e5a;
  --footer-text: #f6f2e9;
  --footer-muted: #cfdbeb;
  --footer-line: #5a6c82;
  display: block;
  padding: clamp(32px, 5vw, 68px) clamp(16px, 5vw, 72px) 24px;
  background: var(--footer-bg);
  color: var(--footer-text);
}

.premium-footer__inner, .premium-footer__base {
  max-width: 1320px;
  margin-inline: auto;
}

.premium-footer__inner {
  display: grid;
  grid-template-columns: minmax(210px, 1fr) minmax(0, 3.7fr);
  gap: clamp(16px, 2.4vw, 36px);
  align-items: start;
}

.premium-footer__feature, .premium-footer__explore {
  min-width: 0;
  border-radius: 16px;
  overflow: hidden;
  background: var(--footer-panel);
}

.premium-footer__feature img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.premium-footer__feature > div {
  padding: 20px;
}

.premium-footer p {
  margin: 0 0 12px;
  color: var(--footer-muted);
  font-size: .9rem;
  line-height: 1.55;
}

.premium-footer .premium-footer__feature-title {
  color: var(--footer-text);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.2;
}

.premium-footer .premium-footer__label {
  display: block;
  color: #d8c7a9;
  font-size: .75rem;
  font-weight: 700;
  line-height: 1.4;
}

.premium-footer a {
  color: var(--footer-text);
  font-size: .9rem;
}

.premium-footer a:focus-visible {
  outline: 2px solid #f2d7a9;
  outline-offset: -3px;
}

.premium-footer .premium-footer__button {
  display: inline-flex;
  gap: .75em;
  align-items: center;
  padding: 10px 14px;
  min-height: 44px;
  border: 1px solid var(--footer-line);
  border-radius: 999px;
  font-weight: 700;
}

.premium-footer__tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: #17273b;
}

.premium-footer__tabs a {
  display: grid;
  place-items: center;
  padding: 14px 8px;
  min-height: 54px;
  border-bottom: 3px solid transparent;
  color: var(--footer-muted);
  font-weight: 700;
  text-align: center;
  overflow-wrap: anywhere;
}

.premium-footer__tabs a[aria-selected="true"] {
  border-color: #d8c7a9;
  background: var(--footer-panel);
  color: var(--footer-text);
}

.premium-footer__panel {
  padding: clamp(16px, 3vw, 30px);
  scroll-margin-top: 110px;
}

.premium-footer__panel[hidden] {
  display: none;
}

.premium-footer__panel h2 {
  margin: 0 0 8px;
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  line-height: 1.2;
}

.premium-footer__tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.premium-footer__tiles > a, .premium-footer__tiles > article {
  display: block;
  padding: 14px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: var(--footer-tile);
  overflow-wrap: anywhere;
}

.premium-footer__tiles > a:hover, .premium-footer__button:hover {
  border-color: #d8c7a9;
}

.premium-footer__tiles > a span {
  display: block;
  margin-top: 5px;
  color: var(--footer-muted);
  font-size: .82rem;
  line-height: 1.4;
}

.premium-footer__products article {
  display: flex;
  flex-direction: column;
}

.premium-footer__products article h3 {
  margin: 6px 0;
  font-size: 1rem;
  line-height: 1.25;
  text-transform: none;
  letter-spacing: normal;
}

.premium-footer__products article p {
  margin-bottom: auto;
  padding-bottom: 8px;
  font-size: .82rem;
}

.premium-footer__products article a {
  display: flex;
  align-items: center;
  gap: .25em;
  min-height: 40px;
  font-size: .8rem;
  text-decoration: underline;
  text-underline-offset: .15em;
}

.premium-footer__products article a[rel~="sponsored"] {
  color: #f2d7a9;
}

.premium-footer .premium-footer__fine {
  margin: 12px 0 0;
  font-size: .78rem;
}

.premium-footer__fine a, .premium-footer .statistics-choice a {
  display: inline;
  padding: 0;
  font-size: inherit;
  text-decoration: underline;
}

.premium-footer__base {
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--footer-line);
  align-items: center;
}

.premium-footer__base .footer-brand {
  grid-column: auto;
}

.premium-footer__base .footer-brand img {
  width: min(190px, 100%);
  margin: 0 0 6px;
}

.premium-footer__base .footer-brand span {
  font-size: .85rem;
  color: var(--footer-muted);
}

.premium-footer__base nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 16px;
}

.premium-footer__base .footer-disclaimer, .premium-footer__base .copyright,
.premium-footer__base .statistics-choice, .premium-footer__base .statistics-choice p {
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--footer-muted);
  font-size: .78rem;
}

@media (max-width: 1000px) {
  .premium-footer__tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .premium-footer__inner, .premium-footer__base { grid-template-columns: minmax(0, 1fr); }
  .premium-footer__explore { order: -1; }
  .premium-footer__feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
  .premium-footer__feature img { height: 100%; aspect-ratio: auto; }
  .premium-footer__tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 360px) {
  .premium-footer__feature { grid-template-columns: minmax(0, 1fr); }
  .premium-footer__feature img { height: 100px; }
  .premium-footer__tiles > a, .premium-footer__tiles > article { padding: 10px; }
}

.premium-footer__products article .premium-footer__photo-link {
  display: block;
  margin-bottom: 12px;
  padding: 0;
  border-radius: 7px;
}

.premium-footer__product-image {
  display: block;
  width: 100%;
  height: clamp(112px, 13vw, 170px);
  padding: 8px;
  border-radius: 7px;
  background: #fff;
  object-fit: contain;
}

@media (max-width: 700px) {
  .premium-footer__product-image {
    height: clamp(140px, 39vw, 170px);
    padding: 5px;
    object-fit: scale-down;
  }
}
