/* Oye VIP / Loyalty */
.oye-loyalty-hero-card{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:24px;
    padding:26px;
    margin-bottom:14px;
    border:1px solid var(--oye-line);
    background:#f5f2ec
}
.oye-loyalty-hero-card h3{
    margin:4px 0 7px;
    font-family:Georgia,"Times New Roman",serif;
    font-size:38px;
    font-weight:400
}
.oye-loyalty-hero-card p{margin:0}
.oye-loyalty-tier--gold{background:#f7f0d3}
.oye-loyalty-tier--vip{background:#ede5f1}
.oye-loyalty-tier--icon{background:#171410;color:#fff}
.oye-loyalty-points{
    min-width:190px;
    text-align:right
}
.oye-loyalty-points span{
    display:block;
    font-size:10px;
    text-transform:uppercase;
    letter-spacing:.08em
}
.oye-loyalty-points strong{
    display:block;
    margin-top:4px;
    font-family:Georgia,"Times New Roman",serif;
    font-size:42px;
    font-weight:400
}
.oye-loyalty-metrics{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:1px;
    margin-bottom:14px;
    border:1px solid var(--oye-line);
    background:var(--oye-line)
}
.oye-loyalty-metrics>div{
    padding:16px;
    background:#fff
}
.oye-loyalty-metrics span,
.oye-loyalty-referral-box span{
    display:block;
    color:var(--oye-muted);
    font-size:9px;
    text-transform:uppercase;
    letter-spacing:.07em
}
.oye-loyalty-metrics strong{
    display:block;
    margin-top:5px;
    font-size:18px
}
.oye-loyalty-section-card{
    margin-top:14px;
    padding:22px;
    border:1px solid var(--oye-line);
    background:#fff
}
.oye-loyalty-section-head{
    display:flex;
    justify-content:space-between;
    gap:16px;
    align-items:flex-start;
    margin-bottom:14px
}
.oye-loyalty-section-head h4{
    margin:3px 0 0;
    font-family:Georgia,"Times New Roman",serif;
    font-size:25px;
    font-weight:400
}
.oye-loyalty-section-head>span{
    color:var(--oye-muted);
    font-size:11px
}
.oye-loyalty-progress{
    height:6px;
    margin:16px 0 8px;
    background:#e8e2d8;
    overflow:hidden
}
.oye-loyalty-progress i{
    display:block;
    height:100%;
    background:#171410
}
.oye-loyalty-next-tier{
    color:var(--oye-muted);
    font-size:12px
}
.oye-loyalty-benefit-list{
    display:grid;
    gap:8px;
    padding-left:18px;
    margin:16px 0 0
}
.oye-loyalty-referral-box{
    display:grid;
    grid-template-columns:180px minmax(0,1fr) auto;
    gap:10px;
    align-items:end;
    margin:18px 0 8px
}
.oye-loyalty-referral-box>div{
    padding:10px 12px;
    border:1px solid var(--oye-line)
}
.oye-loyalty-referral-box>div strong{
    display:block;
    margin-top:4px
}
.oye-loyalty-referral-box input{
    width:100%;
    min-height:42px;
    box-sizing:border-box
}
.oye-loyalty-referral-list{
    display:grid;
    gap:1px;
    margin-top:18px;
    background:var(--oye-line);
    border:1px solid var(--oye-line)
}
.oye-loyalty-referral-list article{
    display:flex;
    justify-content:space-between;
    gap:14px;
    align-items:center;
    padding:12px;
    background:#fff
}
.oye-loyalty-referral-list article span{
    display:block;
    margin-top:3px;
    color:var(--oye-muted);
    font-size:10px
}
.oye-loyalty-referral-list article>div:last-child{
    text-align:right
}
.oye-loyalty-referral-badge{
    display:inline-flex!important;
    width:max-content;
    margin-left:auto;
    padding:3px 6px;
    border:1px solid var(--oye-line);
    color:inherit!important;
    text-transform:uppercase;
    font-size:9px!important
}
.oye-loyalty-referral-badge--rewarded{background:#e7f4eb}
.oye-loyalty-referral-badge--pending{background:#fff8d6}
.oye-loyalty-referral-badge--reversed,
.oye-loyalty-referral-badge--expired{background:#f8e8e7}
.oye-loyalty-purchase-table-wrap{overflow:auto}
.oye-loyalty-purchase-table{
    width:100%;
    min-width:700px;
    border-collapse:collapse
}
.oye-loyalty-purchase-table th,
.oye-loyalty-purchase-table td{
    padding:11px 8px;
    border-bottom:1px solid var(--oye-line);
    text-align:left;
    font-size:12px
}
.oye-loyalty-purchase-table th{
    color:var(--oye-muted);
    font-size:9px;
    text-transform:uppercase;
    letter-spacing:.06em
}
.oye-loyalty-ledger{
    display:grid
}
.oye-loyalty-ledger-row{
    display:flex;
    justify-content:space-between;
    gap:15px;
    align-items:center;
    padding:12px 0;
    border-bottom:1px solid var(--oye-line)
}
.oye-loyalty-ledger-row:last-child{border-bottom:0}
.oye-loyalty-ledger-row span{
    display:block;
    margin-top:3px;
    color:var(--oye-muted);
    font-size:10px
}
.oye-loyalty-ledger-row .is-positive{color:#315d42}
.oye-loyalty-ledger-row .is-negative{color:#9e342f}
.oye-loyalty-empty{
    padding:18px;
    border:1px dashed var(--oye-line)
}
.oye-loyalty-empty p{margin:0}
@media(max-width:900px){
    .oye-loyalty-referral-box{grid-template-columns:1fr}
    .oye-loyalty-metrics{grid-template-columns:1fr}
}
@media(max-width:600px){
    .oye-loyalty-hero-card{
        align-items:flex-start;
        flex-direction:column
    }
    .oye-loyalty-points{
        min-width:0;
        text-align:left
    }
    .oye-loyalty-referral-list article{
        align-items:flex-start;
        flex-direction:column
    }
    .oye-loyalty-referral-list article>div:last-child{
        text-align:left
    }
    .oye-loyalty-referral-badge{
        margin-left:0
    }
}
