/* ================================================
   AROMAHOLIK LOYALTY PAGE — EDITORIAL WARMTH
   ================================================ */

:root {
    --ah-loy-bg: #ffffff;
    --ah-loy-bg-warm: #ffffff;
    --ah-loy-card: #ffffff;
    --ah-loy-border: rgba(32, 35, 40, 0.08);
    --ah-loy-border-light: rgba(32, 35, 40, 0.04);
    --ah-loy-hero-bg: #202328;
    --ah-loy-gold: #E1B998;
    --ah-loy-gold-dim: rgba(225, 185, 152, 0.25);
    --ah-loy-green: #9DDF01;
    --ah-loy-green-light: #9DDF01;
    --ah-loy-text: #4a4d52;
    --ah-loy-text-dim: #848891;
    --ah-loy-text-heading: #202328;
    --ah-loy-shadow: 0 6px 24px rgba(32, 35, 40, 0.04);
    --ah-loy-shadow-lg: 0 16px 48px rgba(32, 35, 40, 0.08);
    --ah-loy-radius: 16px;
    --ah-loy-radius-sm: 12px;
    --ah-loy-max: 1100px;
    --ah-loy-gap: 24px;
    --ah-loy-font-heading: 'League Spartan', sans-serif;
}

.ah-loyalty {
    background: var(--ah-loy-bg);
    color: var(--ah-loy-text);
    font-family: inherit;
    line-height: 1.6;
    overflow-x: hidden;
}

.ah-loyalty *,
.ah-loyalty *::before,
.ah-loyalty *::after {
    box-sizing: border-box;
}

.ah-loyalty__container {
    max-width: var(--ah-loy-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* Section rhythm */
.ah-loyalty__section {
    padding: 64px 0;
    position: relative;
}

.ah-loyalty__section+.ah-loyalty__divider+.ah-loyalty__section {
    border-top: none;
}

/* Decorative section dividers */
.ah-loyalty__divider {
    width: 60px;
    height: 4px;
    margin: 0 auto;
    background: linear-gradient(90deg, var(--ah-loy-gold), var(--ah-loy-green));
    border-radius: 4px;
}

/* Section titles — League Spartan */
.ah-loyalty__section-title {
    font-family: var(--ah-loy-font-heading) !important;
    font-style: normal !important;
    font-weight: 600 !important;
    color: rgb(33, 33, 33) !important;
    font-size: 35px !important;
    line-height: 46px !important;
    text-align: center;
    margin: 0 0 12px;
}

.ah-loyalty__section-title--left {
    text-align: left;
}

.ah-loyalty__section-subtitle {
    font-family: var(--ah-loy-font-heading) !important;
    font-style: normal !important;
    font-weight: 300 !important;
    color: rgb(33, 33, 33) !important;
    font-size: 16px !important;
    line-height: 26px !important;
    text-align: center;
    margin: 0 0 44px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

/* Animate on scroll — subtle, no blur/scale */
.ah-loyalty__animate {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.ah-loyalty__animate.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ================================================
   BUTTONS — clean, brand-coherent
   ================================================ */

.ah-loyalty__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 30px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none !important;
    cursor: pointer;
    border: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    white-space: nowrap;
}

.ah-loyalty__btn:hover,
.ah-loyalty__btn:focus,
.ah-loyalty__btn:active,
.ah-loyalty__btn:visited {
    text-decoration: none !important;
}

.ah-loyalty__btn--primary {
    background: linear-gradient(135deg, #9DDF01 0%, #538C12 100%);
    color: #fff;
    box-shadow: 0 3px 12px rgba(83, 140, 18, 0.18);
}

.ah-loyalty__btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(83, 140, 18, 0.28);
    color: #fff;
}

.ah-loyalty__btn--primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(83, 140, 18, 0.2);
}

.ah-loyalty__btn--ghost {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
}

.ah-loyalty__btn--ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    color: #fff;
    transform: translateY(-2px);
}

.ah-loyalty__btn--ghost:active {
    transform: translateY(0);
}

.ah-loyalty__btn--secondary,
.ah-loyalty__btn--secondary:visited {
    background: var(--ah-loy-bg-warm) !important;
    color: var(--ah-loy-text) !important;
    border: 1px solid var(--ah-loy-border) !important;
    padding: 10px 24px !important;
    font-size: 14px !important;
    margin-top: 20px;
    box-shadow: 0 2px 8px rgba(32, 35, 40, 0.06) !important;
}

.ah-loyalty__btn--secondary:hover,
.ah-loyalty__btn--secondary:focus {
    background: #f0ebe5 !important;
    border-color: var(--ah-loy-gold) !important;
    color: var(--ah-loy-text-heading) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 16px rgba(32, 35, 40, 0.12) !important;
}

.ah-loyalty__btn--secondary:active {
    background: #e8e0d8 !important;
    transform: translateY(0) !important;
    box-shadow: 0 1px 4px rgba(32, 35, 40, 0.08) !important;
}

.ah-loyalty__btn--cta {
    background: linear-gradient(135deg, #9DDF01 0%, #538C12 100%);
    color: #fff;
    font-size: 16px;
    padding: 15px 38px;
    box-shadow: 0 4px 16px rgba(83, 140, 18, 0.2);
}

.ah-loyalty__btn--cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(83, 140, 18, 0.32);
    color: #fff;
}

.ah-loyalty__btn--cta:active {
    transform: translateY(0);
    box-shadow: 0 3px 10px rgba(83, 140, 18, 0.2);
}

/* ================================================
   SEKCJA 1: HERO
   ================================================ */

.ah-loyalty__hero {
    position: relative;
    min-height: 440px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 24px 72px;
    overflow: hidden;
    background: var(--ah-loy-hero-bg);
    color: #fff;
}

.ah-loyalty__hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.ah-loyalty__hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.06;
}

.ah-loyalty__hero-orb--1 {
    width: 350px;
    height: 350px;
    background: var(--ah-loy-gold);
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    animation: ah-loy-float 12s ease-in-out infinite;
}

.ah-loyalty__hero-orb--2 {
    width: 200px;
    height: 200px;
    background: var(--ah-loy-green-light);
    bottom: -40px;
    left: 10%;
    animation: ah-loy-float 10s ease-in-out infinite 2s;
}

.ah-loyalty__hero-orb--3 {
    width: 180px;
    height: 180px;
    background: var(--ah-loy-gold);
    bottom: 20%;
    right: 5%;
    animation: ah-loy-float 14s ease-in-out infinite 4s;
}

@keyframes ah-loy-float {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-15px) scale(1.02);
    }
}

.ah-loyalty__hero-content {
    position: relative;
    z-index: 1;
    max-width: 640px;
}

.ah-loyalty__hero-badge {
    display: inline-block;
    padding: 6px 18px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(225, 185, 152, 0.2);
    color: var(--ah-loy-gold);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.ah-loyalty__hero-mascot {
    margin-bottom: 20px;
}

.ah-loyalty__hero-mascot img {
    width: 140px;
    height: auto;
    filter: drop-shadow(0 4px 24px rgba(0, 0, 0, 0.3));
    animation: ah-loy-mascot-in 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes ah-loy-mascot-in {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ah-loyalty__hero-title {
    font-family: var(--ah-loy-font-heading);
    font-size: clamp(30px, 5vw, 48px);
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 18px;
    color: #fff;
    letter-spacing: -0.03em;
}

.ah-loyalty__hero-highlight {
    background: linear-gradient(135deg, var(--ah-loy-gold) 0%, #dda86e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ah-loyalty__hero-desc {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 32px;
    line-height: 1.7;
}

.ah-loyalty__hero-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ================================================
   SEKCJA 2: TWOJE PUNKTY
   ================================================ */

.ah-loyalty__points-section {
    padding: 16px 0 64px;
    background: var(--ah-loy-bg-warm);
}

.ah-loyalty__points-card {
    background: transparent;
    border: none;
    border-radius: var(--ah-loy-radius);
    padding: 44px;
    text-align: center;
    box-shadow: none;
    position: relative;
    overflow: hidden;
}

.ah-loyalty__points-card-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 44px;
    flex-wrap: wrap;
}

.ah-loyalty__points-label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--ah-loy-text-dim);
    margin-bottom: 6px;
    font-family: var(--ah-loy-font-heading);
}

.ah-loyalty__points-value {
    font-family: var(--ah-loy-font-heading);
    font-size: clamp(44px, 7vw, 64px);
    font-weight: 800;
    line-height: 1;
    color: var(--ah-loy-green);
    font-variant-numeric: tabular-nums;
    min-width: 200px;
    text-align: center;
}

.ah-loyalty__points-suffix {
    display: block;
    font-size: 15px;
    color: var(--ah-loy-text-dim);
    margin-top: 4px;
}

.ah-loyalty__points-level {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.ah-loyalty__level-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--ah-loy-hero-bg);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ah-loy-gold);
    box-shadow: 0 4px 16px rgba(32, 35, 40, 0.15);
}

.ah-loyalty__level-icon svg {
    width: 28px;
    height: 28px;
}

.ah-loyalty__level-name {
    font-family: var(--ah-loy-font-heading);
    font-size: 17px;
    font-weight: 700;
    color: var(--ah-loy-text-heading);
}

.ah-loyalty__level-next {
    font-size: 13px;
    color: var(--ah-loy-text-dim);
}

.ah-loyalty__level-next strong {
    color: var(--ah-loy-text-heading);
}

.ah-loyalty__level-next--max {
    color: var(--ah-loy-green);
    font-weight: 600;
}

/* Guest state */
.ah-loyalty__points-guest {
    text-align: center;
    padding: 44px 24px;
    background: transparent;
    border: none;
    border-radius: var(--ah-loy-radius);
    box-shadow: none;
    position: relative;
    overflow: hidden;
}


.ah-loyalty__points-guest-icon {
    color: var(--ah-loy-green);
    margin-bottom: 16px;
    opacity: 0.6;
}

.ah-loyalty__points-guest-title {
    font-family: var(--ah-loy-font-heading);
    font-size: 21px;
    font-weight: 700;
    margin: 0 0 10px;
    color: var(--ah-loy-text-heading);
}

.ah-loyalty__points-guest-desc {
    color: var(--ah-loy-text-dim);
    margin: 0 0 24px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    font-size: 15px;
}

/* ================================================
   SEKCJA 3: JAK TO DZIAŁA
   ================================================ */

.ah-loyalty__how {
    background: var(--ah-loy-bg);
}

.ah-loyalty__steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--ah-loy-gap);
}

.ah-loyalty__step {
    position: relative;
    background: var(--ah-loy-card);
    border: 1px solid var(--ah-loy-border);
    border-radius: var(--ah-loy-radius);
    padding: 36px 24px;
    text-align: center;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
    box-shadow: var(--ah-loy-shadow);
}

.ah-loyalty__step:hover {
    border-color: var(--ah-loy-border);
    box-shadow: var(--ah-loy-shadow-lg);
    transform: translateY(-4px);
}

.ah-loyalty__step-num {
    font-family: var(--ah-loy-font-heading);
    font-size: 42px;
    font-weight: 800;
    color: var(--ah-loy-gold);
    line-height: 1;
    margin-bottom: 20px;
    position: static;
    opacity: 0.4;
    transition: opacity 0.3s ease, color 0.3s ease;
}

.ah-loyalty__step:hover .ah-loyalty__step-num {
    opacity: 1;
    color: var(--ah-loy-green);
}

.ah-loyalty__step-icon {
    width: 68px;
    height: 68px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--ah-loy-hero-bg);
    border: none;
    color: var(--ah-loy-green-light);
    box-shadow: 0 8px 24px rgba(32, 35, 40, 0.15);
    transition: transform 0.3s ease;
}

.ah-loyalty__step:hover .ah-loyalty__step-icon {
    transform: translateY(-4px);
}

.ah-loyalty__step-title {
    font-family: var(--ah-loy-font-heading);
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 8px;
    color: var(--ah-loy-text-heading);
}

.ah-loyalty__step-desc {
    font-size: 14px;
    color: var(--ah-loy-text-dim);
    margin: 0;
    line-height: 1.65;
}

/* ================================================
   SEKCJA 4: ILE ZYSKUJESZ
   ================================================ */

.ah-loyalty__earnings {
    background: var(--ah-loy-bg);
}

.ah-loyalty__table-wrap {
    overflow-x: auto;
    border-radius: var(--ah-loy-radius) !important;
    border: 1px solid var(--ah-loy-border) !important;
    background: var(--ah-loy-card);
    box-shadow: 0 2px 16px var(--ah-loy-shadow);
}

.ah-loyalty__table-wrap table,
.ah-loyalty__table-wrap table th,
.ah-loyalty__table-wrap table td {
    border-left: none !important;
    border-right: none !important;
    border-top: none !important;
}

.ah-loyalty__table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    white-space: nowrap;
    margin: 0 !important;
}

.ah-loyalty__table thead th {
    padding: 16px 20px;
    font-family: var(--ah-loy-font-heading);
    font-size: 14px;
    font-weight: 600;
    color: var(--ah-loy-text-heading);
    background: var(--ah-loy-bg-warm);
    border-bottom: 1px solid var(--ah-loy-border);
    text-align: center;
}

.ah-loyalty__table thead th:first-child {
    text-align: left;
    color: var(--ah-loy-text-dim);
}

.ah-loyalty__table thead th small {
    display: block;
    font-family: inherit;
    font-size: 11px;
    font-weight: 400;
    color: var(--ah-loy-text-dim);
    margin-top: 2px;
}

.ah-loyalty__table-tier-icon {
    display: block;
    font-size: 20px;
    margin-bottom: 4px;
}

.ah-loyalty__table tbody td {
    padding: 14px 20px;
    text-align: center;
    border-bottom: 1px solid var(--ah-loy-border-light);
    font-size: 15px;
    color: var(--ah-loy-text);
}

.ah-loyalty__table tbody tr:last-child td {
    border-bottom: none;
}

.ah-loyalty__table tbody tr {
    transition: background 0.2s ease;
}

.ah-loyalty__table tbody tr:hover td {
    background: var(--ah-loy-bg-warm);
}

.ah-loyalty__table-amount {
    text-align: left !important;
    font-weight: 600;
    color: var(--ah-loy-text-heading);
}

.ah-loyalty__table-pts {
    font-family: var(--ah-loy-font-heading);
    font-weight: 700;
    color: var(--ah-loy-green);
    font-size: 16px;
}

.ah-loyalty__table-pts-label {
    font-size: 12px;
    color: var(--ah-loy-text-dim);
    margin-left: 2px;
}

/* ================================================
   SEKCJA 5: POZIOMY
   ================================================ */

.ah-loyalty__tiers {
    background: var(--ah-loy-bg);
}

.ah-loyalty__tiers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--ah-loy-gap);
    align-items: stretch;
}

.ah-loyalty__tier {
    background: var(--ah-loy-card);
    border: 1px solid var(--ah-loy-border);
    border-radius: var(--ah-loy-radius);
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--ah-loy-shadow);
}

.ah-loyalty__tier:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px var(--ah-loy-shadow-lg);
}

/* Explorer tier */
.ah-loyalty__tier--explorer .ah-loyalty__tier-header {
    background: linear-gradient(135deg, rgba(157, 223, 1, 0.06) 0%, rgba(157, 223, 1, 0.03) 100%);
    border-bottom: 1px solid rgba(157, 223, 1, 0.1);
}

.ah-loyalty__tier--explorer .ah-loyalty__tier-icon {
    color: var(--ah-loy-green);
    border-color: rgba(157, 223, 1, 0.2);
    background: rgba(157, 223, 1, 0.06);
}

.ah-loyalty__tier--explorer .ah-loyalty__tier-rate-value {
    color: var(--ah-loy-green);
}

/* Lover tier */
.ah-loyalty__tier--lover .ah-loyalty__tier-header {
    background: linear-gradient(135deg, rgba(225, 185, 152, 0.08) 0%, transparent 100%);
    border-bottom: 1px solid rgba(225, 185, 152, 0.15);
}

.ah-loyalty__tier--lover .ah-loyalty__tier-icon {
    color: #c68b5e;
    border-color: rgba(225, 185, 152, 0.3);
    background: rgba(225, 185, 152, 0.08);
}

.ah-loyalty__tier--lover .ah-loyalty__tier-rate-value {
    color: #c68b5e;
}

/* VIP tier */
.ah-loyalty__tier--vip .ah-loyalty__tier-header {
    background: var(--ah-loy-hero-bg);
}

.ah-loyalty__tier--vip .ah-loyalty__tier-icon {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--ah-loy-gold);
}

.ah-loyalty__tier--vip .ah-loyalty__tier-rate-value {
    color: var(--ah-loy-gold);
}

.ah-loyalty__tier--vip {
    transform: scale(1.03);
    border: 2px solid var(--ah-loy-gold);
}

.ah-loyalty__tier--vip .ah-loyalty__tier-name {
    color: #ffffff;
}

.ah-loyalty__tier--vip .ah-loyalty__tier-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.ah-loyalty__tier-header {
    padding: 28px 24px;
    text-align: center;
    border-bottom: 1px solid var(--ah-loy-border);
}

.ah-loyalty__tier-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1.5px solid;
}

.ah-loyalty__tier-name {
    font-family: var(--ah-loy-font-heading);
    font-size: 21px;
    font-weight: 700;
    margin: 0 0 4px;
    color: var(--ah-loy-text-heading);
}

.ah-loyalty__tier-subtitle {
    font-size: 13px;
    color: var(--ah-loy-text-dim);
}

.ah-loyalty__tier-body {
    padding: 24px;
}

.ah-loyalty__tier-rate {
    text-align: center;
    margin-bottom: 14px;
}

.ah-loyalty__tier-rate-value {
    font-family: var(--ah-loy-font-heading);
    font-size: 34px;
    font-weight: 800;
    line-height: 1;
}

.ah-loyalty__tier-rate-label {
    display: block;
    font-size: 13px;
    color: var(--ah-loy-text-dim);
    margin-top: 4px;
}

.ah-loyalty__tier-threshold {
    text-align: center;
    font-size: 13px;
    color: var(--ah-loy-text-dim);
    padding: 8px 14px;
    background: var(--ah-loy-bg-warm);
    border-radius: 8px;
    margin-bottom: 18px;
    border: 1px solid var(--ah-loy-border-light);
}

.ah-loyalty__tier-perks {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.ah-loyalty__tier-perks li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 14px;
    color: var(--ah-loy-text);
    line-height: 1.5;
}

.ah-loyalty__tier-perks li svg {
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--ah-loy-green);
}

/* ================================================
   SEKCJA 6: WIĘCEJ SPOSOBÓW NA PUNKTY
   ================================================ */

.ah-loyalty__extras {
    background: var(--ah-loy-bg-warm);
}

.ah-loyalty__extras-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--ah-loy-gap);
}

.ah-loyalty__extra {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px;
    background: var(--ah-loy-card);
    border: 1px solid var(--ah-loy-border);
    border-radius: var(--ah-loy-radius-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ah-loyalty__extra:hover {
    box-shadow: 0 6px 20px var(--ah-loy-shadow);
    transform: translateY(-2px);
}

.ah-loyalty__extra-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(157, 223, 1, 0.06);
    border: 1px solid rgba(157, 223, 1, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ah-loy-green);
}

.ah-loyalty__extra-content h3 {
    font-family: var(--ah-loy-font-heading);
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 3px;
    color: var(--ah-loy-text-heading);
}

.ah-loyalty__extra-content p {
    font-size: 13px;
    color: var(--ah-loy-text-dim);
    margin: 0;
    line-height: 1.55;
}

.ah-loyalty__extra-pts {
    flex-shrink: 0;
    margin-left: auto;
    padding: 5px 12px;
    border-radius: 50px;
    background: rgba(157, 223, 1, 0.06);
    border: 1px solid rgba(157, 223, 1, 0.12);
    color: var(--ah-loy-green);
    font-family: var(--ah-loy-font-heading);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.ah-loyalty__extra-action {
    margin-top: 10px;
}

.ah-loyalty__extra-action a,
.ah-loyalty__extra-action button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 18px;
    background: var(--ah-loy-green);
    color: #fff;
    border-radius: 50px;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    box-sizing: border-box;
    line-height: 1.4;
    font-family: inherit;
    margin: 0;
}

.ah-loyalty__extra-action a:hover,
.ah-loyalty__extra-action button:hover {
    background: #538C12;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(83, 140, 18, 0.25);
}

.ah-loyalty__extra-action .ah-loyalty-social-done {
    font-size: 13px;
    color: var(--ah-loy-green);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ================================================
   SEKCJA 7: POLEĆ ZNAJOMYM
   ================================================ */

.ah-loyalty__referral {
    background: var(--ah-loy-bg);
}

.ah-loyalty__referral-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 36px;
    padding: 44px;
    background: var(--ah-loy-card);
    border: 1px solid var(--ah-loy-border);
    border-radius: var(--ah-loy-radius);
    box-shadow: 0 2px 16px var(--ah-loy-shadow);
}

.ah-loyalty__referral-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ah-loyalty__referral-desc {
    font-size: 15px;
    color: var(--ah-loy-text-dim);
    margin: 0 0 24px;
    line-height: 1.7;
}

.ah-loyalty__referral-rewards {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 24px;
}

.ah-loyalty__referral-reward {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ah-loyalty__referral-reward-pts {
    font-family: var(--ah-loy-font-heading);
    font-size: 34px;
    font-weight: 800;
    color: var(--ah-loy-green);
    line-height: 1;
}

.ah-loyalty__referral-reward-label {
    font-size: 13px;
    color: var(--ah-loy-text-dim);
    margin-top: 4px;
}

.ah-loyalty__referral-divider {
    width: 1px;
    height: 44px;
    background: var(--ah-loy-border);
}

.ah-loyalty__referral-info {
    font-size: 14px;
    color: var(--ah-loy-text-dim);
    margin: 0;
}

.ah-loyalty__referral-info a {
    color: var(--ah-loy-green);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.ah-loyalty__referral-url-box {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
    width: 100%;
    max-width: 500px;
}

.ah-loyalty__referral-url-box input,
.ah-loyalty__referral-url-box .ah-loyalty__btn {
    min-width: 0;
}

.ah-loyalty__referral-url-box input {
    flex: 1;
    background: var(--ah-loy-bg-warm);
    border: 1px solid var(--ah-loy-border);
    border-radius: 50px;
    padding: 0 20px;
    font-size: 14px;
    color: var(--ah-loy-text-dim);
    height: 48px;
    outline: none;
}

.ah-loyalty__referral-url-box input:focus {
    border-color: var(--ah-loy-green);
    color: var(--ah-loy-text-heading);
}

.ah-loyalty__referral-url-box .ah-loyalty__btn {
    height: 48px;
    padding: 0 24px;
    margin-top: 0;
}

/* ================================================
   SEKCJA 8: JAK WYKORZYSTAĆ PUNKTY
   ================================================ */

.ah-loyalty__redemption {
    background: var(--ah-loy-bg);
}

.ah-loyalty__redemption-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.ah-loyalty__redemption-step {
    flex: 1;
    min-width: 200px;
    max-width: 280px;
    text-align: center;
    padding: 28px 20px;
    background: var(--ah-loy-card);
    border: 1px solid var(--ah-loy-border);
    border-radius: var(--ah-loy-radius-sm);
}

.ah-loyalty__redemption-num {
    width: 38px;
    height: 38px;
    line-height: 38px;
    text-align: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #9DDF01 0%, #9DDF01 100%);
    color: #fff;
    font-family: var(--ah-loy-font-heading);
    font-weight: 700;
    font-size: 15px;
    margin: 0 auto 14px;
}

.ah-loyalty__redemption-step h3 {
    font-family: var(--ah-loy-font-heading);
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 8px;
    color: var(--ah-loy-text-heading);
}

.ah-loyalty__redemption-step p {
    font-size: 13px;
    color: var(--ah-loy-text-dim);
    margin: 0;
    line-height: 1.6;
}

.ah-loyalty__redemption-arrow {
    display: flex;
    align-items: center;
    align-self: center;
    padding-top: 0;
    color: var(--ah-loy-green);
    opacity: 0.7;
}

/* ================================================
   SEKCJA 9: FAQ
   ================================================ */

.ah-loyalty__faq {
    background: var(--ah-loy-bg-warm);
}

.ah-loyalty__faq-list {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ah-loyalty__faq-item {
    background: #fff !important;
    border: 1px solid var(--ah-loy-border-light) !important;
    border-radius: 12px !important;
    overflow: hidden;
    transition: box-shadow 0.3s ease, border-color 0.3s ease !important;
}

.ah-loyalty__faq-item:hover {
    border-color: var(--ah-loy-gold) !important;
}

.ah-loyalty__faq-item.is-open {
    border-color: var(--ah-loy-gold) !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.ah-loyalty__faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    background: none;
    border: none;
    color: var(--ah-loy-text-heading);
    font-family: var(--ah-loy-font-heading);
    font-size: 15px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: color 0.2s;
    line-height: 1.5;
}

.ah-loyalty__faq-question:hover {
    color: var(--ah-loy-green);
}

.ah-loyalty__faq-chevron {
    flex-shrink: 0;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    color: var(--ah-loy-text-dim);
}

.ah-loyalty__faq-item.is-open .ah-loyalty__faq-chevron {
    transform: rotate(180deg);
    color: var(--ah-loy-green);
}

.ah-loyalty__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}


.ah-loyalty__faq-answer p {
    padding: 4px 20px 18px;
    margin: 0;
    font-size: 14px;
    color: var(--ah-loy-text-dim);
    line-height: 1.7;
}

/* ================================================
   2.5 VALUE BANNER (CONVERSION RATE)
   ================================================ */

.ah-loyalty__value-banner {
    padding: 24px 20px;
    margin: -32px auto 64px;
    max-width: 800px;
    position: relative;
    z-index: 10;
}

.ah-loyalty__value-banner-inner {
    background: var(--ah-loy-hero-bg);
    border-radius: var(--ah-loy-radius);
    padding: 24px 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    box-shadow: var(--ah-loy-shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ah-loyalty__value-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(225, 185, 152, 0.1);
    /* gold dim */
    color: var(--ah-loy-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ah-loyalty__value-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-align: center;
}

.ah-loyalty__value-rate {
    font-family: var(--ah-loy-font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--ah-loy-green-light);
    line-height: 1;
}

.ah-loyalty__value-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .ah-loyalty__value-banner-inner {
        flex-direction: column;
        text-align: center;
        padding: 24px;
        gap: 16px;
    }

    .ah-loyalty__value-text {
        align-items: center;
        text-align: center;
    }
}

/* ================================================
   SEKCJA 10: CTA
   ================================================ */

.ah-loyalty__cta {
    padding: 56px 0 72px;
    background: var(--ah-loy-bg);
}

.ah-loyalty__cta-card {
    position: relative;
    text-align: center;
    padding: 56px 28px;
    border-radius: var(--ah-loy-radius);
    background: var(--ah-loy-hero-bg);
    color: #fff;
    overflow: hidden;
}

.ah-loyalty__cta-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.ah-loyalty__cta-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.06;
}

.ah-loyalty__cta-orb--1 {
    width: 260px;
    height: 260px;
    background: var(--ah-loy-gold);
    top: -80px;
    right: -40px;
}

.ah-loyalty__cta-orb--2 {
    width: 180px;
    height: 180px;
    background: var(--ah-loy-green-light);
    bottom: -60px;
    left: -30px;
}

.ah-loyalty__cta-title {
    font-family: var(--ah-loy-font-heading);
    font-size: clamp(24px, 3.5vw, 32px);
    font-weight: 800;
    margin: 0 0 14px;
    color: #fff;
    position: relative;
    z-index: 1;
    letter-spacing: -0.02em;
}

.ah-loyalty__cta-desc {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.55);
    margin: 0 0 28px;
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.ah-loyalty__cta .ah-loyalty__btn {
    position: relative;
    z-index: 1;
}

/* ================================================
   RESPONSIVE
   ================================================ */

@media (max-width: 860px) {
    .ah-loyalty__steps {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .ah-loyalty__step {
        padding: 28px 20px;
    }

    .ah-loyalty__tiers-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .ah-loyalty__extras-grid {
        grid-template-columns: 1fr;
    }

    .ah-loyalty__referral-card {
        flex-direction: column;
        padding: 28px 22px;
        text-align: center;
    }

    .ah-loyalty__referral-url-box {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .ah-loyalty__section-title--left {
        text-align: center;
    }

    .ah-loyalty__referral-rewards {
        justify-content: center;
    }

    .ah-loyalty__redemption-steps {
        flex-direction: column;
        align-items: center;
    }

    .ah-loyalty__redemption-arrow {
        transform: rotate(90deg);
        padding-top: 0;
    }

    .ah-loyalty__redemption-step {
        width: 100%;
        max-width: 100%;
    }

    .ah-loyalty__points-card-inner {
        flex-direction: column;
        gap: 24px;
    }

    .ah-loyalty__section {
        padding: 48px 0;
    }

    .ah-loyalty__hero {
        min-height: auto;
        padding: 72px 20px 56px;
    }
}

@media (max-width: 480px) {
    .ah-loyalty__container {
        padding: 0 16px;
    }

    .ah-loyalty__extra {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .ah-loyalty__extra-pts {
        margin-left: 0;
    }

    .ah-loyalty__hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .ah-loyalty__btn {
        width: 100%;
        justify-content: center;
    }

    .ah-loyalty__referral-rewards {
        flex-direction: column;
        gap: 14px;
    }

    .ah-loyalty__referral-divider {
        width: 50px;
        height: 1px;
    }

    .ah-loyalty__referral-url-box {
        flex-direction: column;
        max-width: 100%;
    }

    .ah-loyalty__referral-url-box input {
        width: 100%;
        flex: none;
        font-size: 13px;
        padding: 0 16px;
        text-overflow: ellipsis;
    }

    .ah-loyalty__referral-url-box .ah-loyalty__btn {
        width: 100%;
    }

    .ah-loyalty__table {
        font-size: 13px;
    }

    .ah-loyalty__table thead th {
        padding: 12px 10px;
        font-size: 12px;
    }

    .ah-loyalty__table tbody td {
        padding: 12px 10px;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .ah-loyalty__animate {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .ah-loyalty__hero-orb {
        animation: none;
    }

    .ah-loyalty__hero-mascot img {
        animation: none;
    }
}