/* Scoped to restored loyalty cards and partner pages. */
[data-loyalty-card] > div:first-child {
  height:160px;min-height:160px;box-sizing:border-box;
  padding:20px;overflow:hidden;border-radius:6px;
}
[data-loyalty-card] img[data-loyalty-image] {
  display:block;width:100%;height:120px;max-width:320px;max-height:120px;
  object-fit:contain!important;background:transparent!important;padding:0!important;
}
[data-loyalty-card] > div:last-child {min-width:0;}
[data-loyalty-card] .text-lg {line-height:1.35;overflow-wrap:anywhere;}
[data-loyalty-card] a {min-height:40px;display:flex;align-items:center;justify-content:center;}
[data-loyalty-detail] img[data-loyalty-image] {
  object-fit:contain!important;background:transparent!important;padding:0!important;
}
[data-loyalty-hero-row] {
  display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);
  align-items:stretch;min-height:260px;
}
[data-loyalty-hero-row] > [data-loyalty-logo-frame] {
  display:flex;align-items:center;justify-content:center;width:auto!important;
  min-width:0;padding:32px!important;height:280px;box-sizing:border-box;
}
[data-loyalty-hero-row] > [data-loyalty-logo-frame] img {
  display:block;width:100%!important;height:210px!important;max-width:420px;max-height:210px!important;
}
[data-loyalty-hero-copy] {width:auto!important;min-width:0;padding:32px!important;display:flex;flex-direction:column;justify-content:center;}
[data-loyalty-detail] h1 {font-size:30px!important;line-height:1.2!important;font-weight:600;overflow-wrap:anywhere;}
[data-loyalty-detail] .prose {max-width:76ch;font-size:16px;line-height:1.7;}
[data-loyalty-detail] .prose :is(p,span,div,li) {font-family:inherit!important;font-size:inherit!important;line-height:inherit!important;}
[data-loyalty-detail] .prose p {margin:0 0 16px!important;}
[data-loyalty-detail] .prose :is(h2,h3) {font-family:inherit!important;line-height:1.3!important;margin:24px 0 12px!important;}
[data-loyalty-detail] .prose a {overflow-wrap:anywhere;}
.loyalty-detail .recovered-niva-hero {grid-template-columns:1fr 1.2fr;align-items:stretch;}
.loyalty-detail .loyalty-logo-frame {display:flex;align-items:center;justify-content:center;height:280px;min-width:0;padding:32px;background:#fff;box-sizing:border-box;}
.loyalty-detail .loyalty-logo-frame img {display:block;width:100%!important;height:210px!important;max-width:420px;max-height:210px;object-fit:contain;background:transparent!important;padding:0!important;}
.loyalty-detail .loyalty-hero-copy {padding:32px;display:flex;flex-direction:column;justify-content:center;min-width:0;}
.loyalty-detail .recovered-niva-hero h1 {margin:14px 0 12px;font-size:30px;line-height:1.2;overflow-wrap:anywhere;}
.loyalty-detail .recovered-niva-meta>span {background:transparent!important;color:#c3c3c6;padding:0;border-radius:0;font-size:13px;line-height:1.5;}
.loyalty-detail .loyalty-offer {font-size:18px;line-height:1.5;color:#f0f0f2;}
.loyalty-detail .recovered-niva-conditions {margin-top:32px;}
.loyalty-detail .recovered-niva-conditions>h2 {font-size:22px;line-height:1.3;padding:20px 28px;}
.loyalty-detail .recovered-niva-conditions>div {padding:24px 28px;font-size:16px;line-height:1.7;max-width:80ch;}
.loyalty-detail .recovered-niva-conditions p {margin:0 0 16px;}
.loyalty-detail .loyalty-contacts {display:flex;flex-wrap:wrap;gap:12px 24px;margin-top:24px;padding-top:20px;border-top:1px solid #48484a;}
.loyalty-detail .loyalty-contacts a {color:#eea275;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere;}
.loyalty-detail .loyalty-contacts h3 {flex-basis:100%;font-size:18px;font-weight:600;line-height:1.3;margin:0;}
.loyalty-detail .recovered-content-cta {margin:28px 0 40px;}
@media(max-width:767px) {
  [data-loyalty-hero-row],.loyalty-detail .recovered-niva-hero {grid-template-columns:1fr;}
  [data-loyalty-hero-row] > [data-loyalty-logo-frame],.loyalty-detail .loyalty-logo-frame {height:210px;padding:24px!important;}
  [data-loyalty-hero-row] > [data-loyalty-logo-frame] img,.loyalty-detail .loyalty-logo-frame img {height:160px!important;max-height:160px!important;max-width:100%;}
  [data-loyalty-hero-copy],.loyalty-detail .loyalty-hero-copy {padding:24px!important;}
  [data-loyalty-detail] h1,.loyalty-detail .recovered-niva-hero h1 {font-size:25px!important;}
  .loyalty-detail .recovered-niva-conditions>h2 {padding:18px 20px;font-size:20px;}
  .loyalty-detail .recovered-niva-conditions>div {padding:20px;}
}
