.rpfg-container {
    margin: 20px 0;
    clear: both;
}

.rpfg-box {
    background: #fafafa;
    border: 1px solid #e9e9e9;
    border-radius: 8px;
    padding: 16px 20px;
}

.rpfg-title {
    font-size: 16px;
    margin: 0 0 12px 0;
    padding-bottom: 8px;
    border-bottom: 1px solid #eaeaea;
}

.rpfg-notice {
    font-size: 13px;
    color: #2c6e2c;
    margin-bottom: 15px;
}

.rpfg-tier {
    margin-bottom: 15px;
    padding: 12px;
    background: #fff;
    border: 1px solid #e2e2e2;
    border-radius: 6px;
}

.rpfg-tier.rpfg-locked {
    opacity: 0.6;
}

.rpfg-tier-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.rpfg-tier-header h4 {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
}

.rpfg-badge {
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 20px;
}

.rpfg-badge-unlocked {
    background: #e6f9ed;
    color: #155724;
}

.rpfg-badge-locked {
    background: #f0f0f0;
    color: #777;
}

.rpfg-products {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.rpfg-product-card {
    flex: 1;
    min-width: 130px;
    max-width: 160px;
    text-align: center;
    padding: 8px;
    border: 1px solid #f0f0f0;
    border-radius: 4px;
    background: #fff;
}

.rpfg-product-card img {
    max-width: 60px !important;
    height: auto !important;
    margin: 0 auto 8px !important;
    display: block;
}

.rpfg-product-title {
    font-size: 11px;
    line-height: 1.3;
    margin-bottom: 6px;
    height: 28px;
    overflow: hidden;
}

.rpfg-product-price {
    font-size: 10px;
    margin-bottom: 8px;
}

.rpfg-product-price del {
    color: #999;
    margin-right: 4px;
}

.rpfg-product-price span {
    color: #d9534f;
    font-weight: bold;
}

.rpfg-add-btn {
    background: #000;
    color: #fff;
    border: none;
    font-size: 11px;
    padding: 6px;
    cursor: pointer;
    border-radius: 3px;
    width: 100%;
    text-align: center;
}

.rpfg-add-btn:hover:not(.rpfg-disabled) {
    background: #333;
}

.rpfg-add-btn.rpfg-disabled {
    background: #ccc;
    cursor: not-allowed;
}