.pfc-offer-cards-viewport {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 6px 0 9px;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}

.pfc-offer-cards-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(180px, 1fr));
    gap: 14px;
    width: 100%;
    min-width: 950px;
    margin: 0;
    padding: 0 2px;
    box-sizing: border-box;
}

.pfc-offer-card,
.pfc-offer-card * {
    box-sizing: border-box;
}

.pfc-offer-card {
    position: relative;
    display: block;
    min-width: 0;
    height: 130px;
    padding: 17px 14px 14px 15px;
    overflow: hidden;
    color: #ffffff;
    text-decoration: none !important;
    background:
        radial-gradient(circle at 82% 67%, rgba(0, 179, 178, 0.11) 0, rgba(0, 179, 178, 0.035) 24%, transparent 48%),
        linear-gradient(135deg, #02091c 0%, #03142a 58%, #001c31 100%);
    border: 1px solid #17324e;
    border-radius: 8px;
    box-shadow:
        0 1px 2px rgba(1, 7, 18, 0.24),
        inset 0 0 0 1px rgba(255, 255, 255, 0.015);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.pfc-offer-card::before,
.pfc-offer-card::after {
    content: "";
    position: absolute;
    right: 12px;
    bottom: 10px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    pointer-events: none;
}

.pfc-offer-card::before {
    border: 1px solid rgba(24, 217, 198, 0.12);
    box-shadow: 0 0 18px rgba(0, 219, 198, 0.025);
}

.pfc-offer-card::after {
    right: 19px;
    bottom: 17px;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(24, 217, 198, 0.06);
}

.pfc-offer-card:hover,
.pfc-offer-card:focus-visible {
    color: #ffffff;
    transform: translateY(-2px);
    border-color: rgba(45, 224, 190, 0.55);
    box-shadow:
        0 7px 18px rgba(1, 7, 18, 0.26),
        0 0 0 1px rgba(32, 223, 186, 0.08);
    outline: none;
}

.pfc-offer-card__brand {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 32px;
    max-width: calc(100% - 4px);
    margin-bottom: 8px;
    overflow: hidden;
}

.pfc-offer-card__logo {
    display: block;
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    object-fit: cover;
    object-position: center;
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 7px;
    filter: none;
}

.pfc-offer-card__name {
    display: block;
    min-width: 0;
    overflow: hidden;
    color: #ffffff;
    font-size: 14px;
    font-weight: 750;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pfc-offer-card__discount {
    position: relative;
    z-index: 2;
    display: block;
    max-width: calc(100% - 64px);
    margin: 0 0 8px;
    overflow: hidden;
    color: #23e2b4;
    font-size: 22px;
    font-weight: 750;
    line-height: 1.05;
    letter-spacing: -0.2px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pfc-offer-card__code {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    max-width: calc(100% - 58px);
    min-height: 20px;
    padding: 3px 8px 3px 7px;
    overflow: hidden;
    color: #f7ffff;
    background: linear-gradient(180deg, rgba(0, 91, 105, 0.95), rgba(0, 60, 75, 0.98));
    border: 1px solid rgba(62, 204, 205, 0.08);
    border-radius: 7px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pfc-offer-card__code-label {
    margin-right: 3px;
    font-weight: 500;
}

.pfc-offer-card__code-value {
    overflow: hidden;
    font-weight: 750;
    text-overflow: ellipsis;
}

.pfc-offer-card__icon {
    position: absolute;
    right: 27px;
    bottom: 25px;
    z-index: 3;
    display: grid;
    width: 24px;
    height: 24px;
    place-items: center;
    color: #71f5df;
    transform: rotate(-2deg);
}

.pfc-offer-card__icon svg {
    display: block;
    width: 22px;
    height: 22px;
    overflow: visible;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
    filter: drop-shadow(0 0 5px rgba(65, 234, 212, 0.24));
}

@media (min-width: 1100px) {
    .pfc-offer-cards-grid {
        min-width: 0;
    }
}

@media (max-width: 1099px) {
    .pfc-offer-cards-viewport {
        padding-bottom: 12px;
    }
}

@media (max-width: 600px) {
    .pfc-offer-cards-grid {
        grid-template-columns: repeat(5, 200px);
        min-width: max-content;
        gap: 12px;
        padding-right: 14px;
    }

    .pfc-offer-card {
        height: 160px;
        padding-top: 30px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pfc-offer-card {
        transition: none;
    }
}

